Searched refs:CssmClient (Results 1 - 25 of 240) sorted by relevance

12345678910

/macosx-10.10.1/Security-57031.1.35/Security/include/security_cdsa_client/
H A Ddlclientpriv.cpp30 using namespace CssmClient;
H A Dmdsclient.h48 using CssmClient::Attribute;
49 using CssmClient::Query;
50 using CssmClient::Record;
51 using CssmClient::Table;
60 class Directory : public MDS_FUNCS, public CssmClient::DLAccess {
H A DDLDBList.cpp25 using namespace CssmClient;
H A Dclclient.cpp24 using namespace CssmClient;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_client/lib/
H A Ddlclientpriv.cpp30 using namespace CssmClient;
H A Dmdsclient.h48 using CssmClient::Attribute;
49 using CssmClient::Query;
50 using CssmClient::Record;
51 using CssmClient::Table;
60 class Directory : public MDS_FUNCS, public CssmClient::DLAccess {
H A DDLDBList.cpp25 using namespace CssmClient;
H A Dclclient.cpp24 using namespace CssmClient;
/macosx-10.10.1/Security-57031.1.35/securityd/src/
H A Ddbcrypto.h53 CssmClient::Key masterKey();
56 void setup(const DbBlob *blob, CssmClient::Key master);
81 CssmClient::Key mMasterKey; // database master key
84 CssmClient::Key mEncryptionKey; // master encryption key
85 CssmClient::Key mSigningKey; // master signing key
87 CssmClient::Key deriveDbMasterKey(const CssmData &passphrase) const;
88 CssmClient::Key makeRawKey(void *data, size_t length,
H A Dlocalkey.h67 CssmClient::Key key() { return keyValue(); }
69 operator CssmClient::Key () { return keyValue(); }
91 class KeySpec : public CssmClient::KeySpec {
99 CssmClient::Key keyValue();
110 CssmClient::Key mKey; // clear form CssmKey (attributes modified)
H A Dlocalkey.cpp58 mKey = CssmClient::Key(Server::csp(), newKey, false);
102 CssmClient::Key LocalKey::keyValue()
153 CssmClient::PassThrough ctx(Server::csp());
183 : CssmClient::KeySpec(usage, (attrs & ~managedAttributes) | forcedAttributes)
190 : CssmClient::KeySpec(usage, (attrs & ~managedAttributes) | forcedAttributes, label)
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_cspdl/lib/
H A DSSDatabase.h37 class SSDatabaseImpl : public CssmClient::DbImpl
46 const CssmClient::DL &dl,
71 CssmClient::DbUniqueRecordImpl *newDbUniqueRecord();
80 CssmClient::DbUniqueRecord getDbBlobId(CssmDataContainer *dbb = NULL);
100 class SSDatabase : public CssmClient::Db
105 explicit SSDatabase(SSDatabaseImpl *impl) : CssmClient::Db(impl) {}
106 SSDatabase() : CssmClient::Db(NULL) {}
108 const CssmClient::DL &dl,
110 : CssmClient::Db(new SSDatabaseImpl(inClientSession, dl, inDbName, inDbLocation)) {}
120 class SSUniqueRecordImpl : public CssmClient
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/
H A DPrimaryKey.h44 PrimaryKeyImpl(const CssmClient::DbAttributes &primaryKeyAttrs);
50 CssmClient::DbCursor createCursor(const Keychain &keychain);
67 PrimaryKey(const CssmClient::DbAttributes &primaryKeyAttrs)
H A Ddefaultcreds.h56 bool operator () (CssmClient::Db database);
63 void keyReferral(const CssmClient::UnlockReferralRecord &ref);
64 bool unlockKey(const CssmClient::UnlockReferralRecord &ref, const KeychainList &list);
H A DKeychains.h59 KeychainSchemaImpl(const CssmClient::Db &db);
100 KeychainSchema(const CssmClient::Db &db) : RefPointer<KeychainSchemaImpl>(new KeychainSchemaImpl(db)) {}
115 class KeychainImpl : public SecCFObject, private CssmClient::Db::DefaultCredentialsMaker
124 KeychainImpl(const CssmClient::Db &db);
181 CssmClient::Db database() { return mDb; }
184 CssmClient::CSP csp();
186 PrimaryKey makePrimaryKey(CSSM_DB_RECORDTYPE recordType, CssmClient::DbUniqueRecord &uniqueId);
187 void gatherPrimaryKeyAttributes(CssmClient::DbAttributes& primaryKeyAttrs);
192 Item item(CSSM_DB_RECORDTYPE recordType, CssmClient::DbUniqueRecord &uniqueId);
231 CssmClient
[all...]
H A DKeyItem.h47 KeyItem(const Keychain &keychain, const PrimaryKey &primaryKey, const CssmClient::DbUniqueRecord &uniqueId);
53 static KeyItem* make(const Keychain &keychain, const PrimaryKey &primaryKey, const CssmClient::DbUniqueRecord &uniqueId);
58 KeyItem(const CssmClient::Key &key);
67 CssmClient::SSDbUniqueRecord ssDbUniqueRecord();
68 CssmClient::Key &key();
69 CssmClient::CSP csp();
132 CssmClient::Key mKey;
H A DKeyItem.cpp51 using namespace CssmClient;
53 KeyItem::KeyItem(const Keychain &keychain, const PrimaryKey &primaryKey, const CssmClient::DbUniqueRecord &uniqueId) :
69 KeyItem* KeyItem::make(const Keychain &keychain, const PrimaryKey &primaryKey, const CssmClient::DbUniqueRecord &uniqueId)
96 KeyItem::KeyItem(const CssmClient::Key &key) :
139 CssmClient::CSP appleCsp(gGuidAppleCSP);
140 CssmClient::Random random(appleCsp, CSSM_ALGID_APPLE_YARROW);
153 CssmClient::GenerateKey genKey(csp(), CSSM_ALGID_3DES_3KEY, 192);
154 CssmClient::Key wrappingKey(genKey(KeySpec(CSSM_KEYUSE_WRAP | CSSM_KEYUSE_UNWRAP,
163 CssmClient::WrapKey wrap(csp(), CSSM_ALGID_3DES_3KEY_EDE);
169 CssmClient
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DPrimaryKey.h44 PrimaryKeyImpl(const CssmClient::DbAttributes &primaryKeyAttrs);
50 CssmClient::DbCursor createCursor(const Keychain &keychain);
67 PrimaryKey(const CssmClient::DbAttributes &primaryKeyAttrs)
H A Ddefaultcreds.h56 bool operator () (CssmClient::Db database);
63 void keyReferral(const CssmClient::UnlockReferralRecord &ref);
64 bool unlockKey(const CssmClient::UnlockReferralRecord &ref, const KeychainList &list);
H A DKeychains.h59 KeychainSchemaImpl(const CssmClient::Db &db);
100 KeychainSchema(const CssmClient::Db &db) : RefPointer<KeychainSchemaImpl>(new KeychainSchemaImpl(db)) {}
115 class KeychainImpl : public SecCFObject, private CssmClient::Db::DefaultCredentialsMaker
124 KeychainImpl(const CssmClient::Db &db);
181 CssmClient::Db database() { return mDb; }
184 CssmClient::CSP csp();
186 PrimaryKey makePrimaryKey(CSSM_DB_RECORDTYPE recordType, CssmClient::DbUniqueRecord &uniqueId);
187 void gatherPrimaryKeyAttributes(CssmClient::DbAttributes& primaryKeyAttrs);
192 Item item(CSSM_DB_RECORDTYPE recordType, CssmClient::DbUniqueRecord &uniqueId);
231 CssmClient
[all...]
H A DKeyItem.h47 KeyItem(const Keychain &keychain, const PrimaryKey &primaryKey, const CssmClient::DbUniqueRecord &uniqueId);
53 static KeyItem* make(const Keychain &keychain, const PrimaryKey &primaryKey, const CssmClient::DbUniqueRecord &uniqueId);
58 KeyItem(const CssmClient::Key &key);
67 CssmClient::SSDbUniqueRecord ssDbUniqueRecord();
68 CssmClient::Key &key();
69 CssmClient::CSP csp();
132 CssmClient::Key mKey;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DPrimaryKey.h44 PrimaryKeyImpl(const CssmClient::DbAttributes &primaryKeyAttrs);
50 CssmClient::DbCursor createCursor(const Keychain &keychain);
67 PrimaryKey(const CssmClient::DbAttributes &primaryKeyAttrs)
H A Ddefaultcreds.h56 bool operator () (CssmClient::Db database);
63 void keyReferral(const CssmClient::UnlockReferralRecord &ref);
64 bool unlockKey(const CssmClient::UnlockReferralRecord &ref, const KeychainList &list);
H A DKeychains.h59 KeychainSchemaImpl(const CssmClient::Db &db);
100 KeychainSchema(const CssmClient::Db &db) : RefPointer<KeychainSchemaImpl>(new KeychainSchemaImpl(db)) {}
115 class KeychainImpl : public SecCFObject, private CssmClient::Db::DefaultCredentialsMaker
124 KeychainImpl(const CssmClient::Db &db);
181 CssmClient::Db database() { return mDb; }
184 CssmClient::CSP csp();
186 PrimaryKey makePrimaryKey(CSSM_DB_RECORDTYPE recordType, CssmClient::DbUniqueRecord &uniqueId);
187 void gatherPrimaryKeyAttributes(CssmClient::DbAttributes& primaryKeyAttrs);
192 Item item(CSSM_DB_RECORDTYPE recordType, CssmClient::DbUniqueRecord &uniqueId);
231 CssmClient
[all...]
H A DKeyItem.h47 KeyItem(const Keychain &keychain, const PrimaryKey &primaryKey, const CssmClient::DbUniqueRecord &uniqueId);
53 static KeyItem* make(const Keychain &keychain, const PrimaryKey &primaryKey, const CssmClient::DbUniqueRecord &uniqueId);
58 KeyItem(const CssmClient::Key &key);
67 CssmClient::SSDbUniqueRecord ssDbUniqueRecord();
68 CssmClient::Key &key();
69 CssmClient::CSP csp();
132 CssmClient::Key mKey;

Completed in 363 milliseconds

12345678910