/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/ |
H A D | UnlockReferralItem.cpp | 28 #include <security_cdsa_utilities/Schema.h> 89 Schema::UnlockReferralSchemaAttributeCount, 90 Schema::UnlockReferralSchemaAttributeList, 91 Schema::UnlockReferralSchemaIndexCount, 92 Schema::UnlockReferralSchemaIndexList); 96 Schema::UnlockReferralSchemaAttributeCount, 97 Schema::UnlockReferralSchemaAttributeList, 98 Schema::UnlockReferralSchemaIndexCount, 99 Schema::UnlockReferralSchemaIndexList); 120 mDbAttributes->add(Schema [all...] |
H A D | TrustItem.cpp | 28 #include <security_cdsa_utilities/Schema.h> 107 Schema::UserTrustSchemaAttributeCount, 108 Schema::UserTrustSchemaAttributeList, 109 Schema::UserTrustSchemaIndexCount, 110 Schema::UserTrustSchemaIndexList); 114 Schema::UserTrustSchemaAttributeCount, 115 Schema::UserTrustSchemaAttributeList, 116 Schema::UserTrustSchemaIndexCount, 117 Schema::UserTrustSchemaIndexList); 136 mDbAttributes->add(Schema [all...] |
H A D | ExtendedAttribute.cpp | 33 #include <security_cdsa_utilities/Schema.h> 154 Schema::ExtendedAttributeSchemaAttributeCount, 155 Schema::ExtendedAttributeSchemaAttributeList, 156 Schema::ExtendedAttributeSchemaIndexCount, 157 Schema::ExtendedAttributeSchemaIndexList); 161 Schema::ExtendedAttributeSchemaAttributeCount, 162 Schema::ExtendedAttributeSchemaAttributeList, 163 Schema::ExtendedAttributeSchemaIndexCount, 164 Schema::ExtendedAttributeSchemaIndexList);
|
H A D | SecIdentity.cpp | 35 #include <security_cdsa_utilities/Schema.h> 338 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecServiceItemAttr), service); 339 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecTypeItemAttr), itemType); 341 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecScriptCodeItemAttr), (sint32)keyUsage); 547 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecServiceItemAttr), service); 548 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecTypeItemAttr), itemType); 550 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecScriptCodeItemAttr), (sint32)keyUsage); 558 item->setAttribute(Schema::attributeInfo(kSecServiceItemAttr), service); 559 item->setAttribute(Schema::attributeInfo(kSecTypeItemAttr), itemType); 560 item->setAttribute(Schema [all...] |
H A D | SecKeychain.cpp | 35 #include <security_cdsa_utilities/Schema.h> 512 item->setAttribute(Schema::attributeInfo(kSecServerItemAttr), server); 514 item->setAttribute(Schema::attributeInfo(kSecLabelItemAttr), server); 520 item->setAttribute(Schema::attributeInfo(kSecAccountItemAttr), account); 524 item->setAttribute(Schema::attributeInfo(kSecSecurityDomainItemAttr), 527 item->setAttribute(Schema::attributeInfo(kSecPortItemAttr), UInt32(port)); 528 item->setAttribute(Schema::attributeInfo(kSecProtocolItemAttr), protocol); 529 item->setAttribute(Schema::attributeInfo(kSecAuthenticationTypeItemAttr), authenticationType); 532 item->setAttribute(Schema::attributeInfo(kSecPathItemAttr), 570 cursor->add(CSSM_DB_EQUAL, Schema [all...] |
H A D | KCCursor.cpp | 32 #include <security_cdsa_utilities/Schema.h> 63 recordType(Schema::recordTypeFor(itemClass)); 81 temp = &Schema::attributeInfo(attr->tag); 129 const CssmDbAttributeInfo &info = Schema::attributeInfo(attr->tag); 163 recordType(Schema::recordTypeFor(*reinterpret_cast<SecItemClass *>(attr->data)));
|
H A D | Item.cpp | 36 #include <security_cdsa_utilities/Schema.h> 49 //%%% schema indexes should be defined in Schema.h 76 mDbAttributes->recordType(Schema::recordTypeFor(itemClass)); 79 mDbAttributes->add(Schema::attributeInfo(kSecCreatorItemAttr), itemCreator); 94 mDbAttributes->recordType(Schema::recordTypeFor(itemClass)); 100 mDbAttributes->add(Schema::attributeInfo(attrList->attr[i].tag), CssmData(attrList->attr[i].data, attrList->attr[i].length)); 157 for (uint32 i = 0; i < Schema::DBInfo.NumberOfRecordTypes; i++) 158 if (item.recordType() == Schema::DBInfo.RecordAttributeNames[i].DataRecordType) { 159 schemaAttributes = &Schema::DBInfo.RecordAttributeNames[i]; 286 if (!mDoNotEncrypt && !mDbAttributes->find(Schema [all...] |
H A D | Certificate.cpp | 28 #include <security_cdsa_utilities/Schema.h> 246 const CSSM_DB_ATTRIBUTE_INFO &info = Schema::attributeInfo(kSecSubjectKeyIdentifierItemAttr); 638 mDbAttributes->add(Schema::kX509CertificatePrintName, *printName); 639 CssmDbAttributeData &attrData = mDbAttributes->add(Schema::kX509CertificateAlias); 682 addParsedAttribute(Schema::attributeInfo(kSecSubjectItemAttr), CSSMOID_X509V1SubjectName); 683 addParsedAttribute(Schema::attributeInfo(kSecIssuerItemAttr), CSSMOID_X509V1IssuerName); 684 addParsedAttribute(Schema::attributeInfo(kSecSerialNumberItemAttr), CSSMOID_X509V1SerialNumber); 702 mDbAttributes->add(Schema::attributeInfo(kSecCertTypeItemAttr), mType); 703 mDbAttributes->add(Schema::attributeInfo(kSecCertEncodingItemAttr), mEncoding); 704 mDbAttributes->add(Schema [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/ |
H A D | UnlockReferralItem.cpp | 28 #include <security_cdsa_utilities/Schema.h> 89 Schema::UnlockReferralSchemaAttributeCount, 90 Schema::UnlockReferralSchemaAttributeList, 91 Schema::UnlockReferralSchemaIndexCount, 92 Schema::UnlockReferralSchemaIndexList); 96 Schema::UnlockReferralSchemaAttributeCount, 97 Schema::UnlockReferralSchemaAttributeList, 98 Schema::UnlockReferralSchemaIndexCount, 99 Schema::UnlockReferralSchemaIndexList); 120 mDbAttributes->add(Schema [all...] |
H A D | TrustItem.cpp | 28 #include <security_cdsa_utilities/Schema.h> 107 Schema::UserTrustSchemaAttributeCount, 108 Schema::UserTrustSchemaAttributeList, 109 Schema::UserTrustSchemaIndexCount, 110 Schema::UserTrustSchemaIndexList); 114 Schema::UserTrustSchemaAttributeCount, 115 Schema::UserTrustSchemaAttributeList, 116 Schema::UserTrustSchemaIndexCount, 117 Schema::UserTrustSchemaIndexList); 136 mDbAttributes->add(Schema [all...] |
H A D | ExtendedAttribute.cpp | 33 #include <security_cdsa_utilities/Schema.h> 154 Schema::ExtendedAttributeSchemaAttributeCount, 155 Schema::ExtendedAttributeSchemaAttributeList, 156 Schema::ExtendedAttributeSchemaIndexCount, 157 Schema::ExtendedAttributeSchemaIndexList); 161 Schema::ExtendedAttributeSchemaAttributeCount, 162 Schema::ExtendedAttributeSchemaAttributeList, 163 Schema::ExtendedAttributeSchemaIndexCount, 164 Schema::ExtendedAttributeSchemaIndexList);
|
H A D | SecIdentity.cpp | 35 #include <security_cdsa_utilities/Schema.h> 338 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecServiceItemAttr), service); 339 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecTypeItemAttr), itemType); 341 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecScriptCodeItemAttr), (sint32)keyUsage); 547 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecServiceItemAttr), service); 548 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecTypeItemAttr), itemType); 550 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecScriptCodeItemAttr), (sint32)keyUsage); 558 item->setAttribute(Schema::attributeInfo(kSecServiceItemAttr), service); 559 item->setAttribute(Schema::attributeInfo(kSecTypeItemAttr), itemType); 560 item->setAttribute(Schema [all...] |
H A D | SecKeychain.cpp | 35 #include <security_cdsa_utilities/Schema.h> 512 item->setAttribute(Schema::attributeInfo(kSecServerItemAttr), server); 514 item->setAttribute(Schema::attributeInfo(kSecLabelItemAttr), server); 520 item->setAttribute(Schema::attributeInfo(kSecAccountItemAttr), account); 524 item->setAttribute(Schema::attributeInfo(kSecSecurityDomainItemAttr), 527 item->setAttribute(Schema::attributeInfo(kSecPortItemAttr), UInt32(port)); 528 item->setAttribute(Schema::attributeInfo(kSecProtocolItemAttr), protocol); 529 item->setAttribute(Schema::attributeInfo(kSecAuthenticationTypeItemAttr), authenticationType); 532 item->setAttribute(Schema::attributeInfo(kSecPathItemAttr), 570 cursor->add(CSSM_DB_EQUAL, Schema [all...] |
H A D | KCCursor.cpp | 32 #include <security_cdsa_utilities/Schema.h> 63 recordType(Schema::recordTypeFor(itemClass)); 81 temp = &Schema::attributeInfo(attr->tag); 129 const CssmDbAttributeInfo &info = Schema::attributeInfo(attr->tag); 163 recordType(Schema::recordTypeFor(*reinterpret_cast<SecItemClass *>(attr->data)));
|
H A D | Item.cpp | 36 #include <security_cdsa_utilities/Schema.h> 49 //%%% schema indexes should be defined in Schema.h 76 mDbAttributes->recordType(Schema::recordTypeFor(itemClass)); 79 mDbAttributes->add(Schema::attributeInfo(kSecCreatorItemAttr), itemCreator); 94 mDbAttributes->recordType(Schema::recordTypeFor(itemClass)); 100 mDbAttributes->add(Schema::attributeInfo(attrList->attr[i].tag), CssmData(attrList->attr[i].data, attrList->attr[i].length)); 157 for (uint32 i = 0; i < Schema::DBInfo.NumberOfRecordTypes; i++) 158 if (item.recordType() == Schema::DBInfo.RecordAttributeNames[i].DataRecordType) { 159 schemaAttributes = &Schema::DBInfo.RecordAttributeNames[i]; 286 if (!mDoNotEncrypt && !mDbAttributes->find(Schema [all...] |
H A D | Certificate.cpp | 28 #include <security_cdsa_utilities/Schema.h> 246 const CSSM_DB_ATTRIBUTE_INFO &info = Schema::attributeInfo(kSecSubjectKeyIdentifierItemAttr); 638 mDbAttributes->add(Schema::kX509CertificatePrintName, *printName); 639 CssmDbAttributeData &attrData = mDbAttributes->add(Schema::kX509CertificateAlias); 682 addParsedAttribute(Schema::attributeInfo(kSecSubjectItemAttr), CSSMOID_X509V1SubjectName); 683 addParsedAttribute(Schema::attributeInfo(kSecIssuerItemAttr), CSSMOID_X509V1IssuerName); 684 addParsedAttribute(Schema::attributeInfo(kSecSerialNumberItemAttr), CSSMOID_X509V1SerialNumber); 702 mDbAttributes->add(Schema::attributeInfo(kSecCertTypeItemAttr), mType); 703 mDbAttributes->add(Schema::attributeInfo(kSecCertEncodingItemAttr), mEncoding); 704 mDbAttributes->add(Schema [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/lib/ |
H A D | UnlockReferralItem.cpp | 28 #include <security_cdsa_utilities/Schema.h> 89 Schema::UnlockReferralSchemaAttributeCount, 90 Schema::UnlockReferralSchemaAttributeList, 91 Schema::UnlockReferralSchemaIndexCount, 92 Schema::UnlockReferralSchemaIndexList); 96 Schema::UnlockReferralSchemaAttributeCount, 97 Schema::UnlockReferralSchemaAttributeList, 98 Schema::UnlockReferralSchemaIndexCount, 99 Schema::UnlockReferralSchemaIndexList); 120 mDbAttributes->add(Schema [all...] |
H A D | TrustItem.cpp | 28 #include <security_cdsa_utilities/Schema.h> 107 Schema::UserTrustSchemaAttributeCount, 108 Schema::UserTrustSchemaAttributeList, 109 Schema::UserTrustSchemaIndexCount, 110 Schema::UserTrustSchemaIndexList); 114 Schema::UserTrustSchemaAttributeCount, 115 Schema::UserTrustSchemaAttributeList, 116 Schema::UserTrustSchemaIndexCount, 117 Schema::UserTrustSchemaIndexList); 136 mDbAttributes->add(Schema [all...] |
H A D | ExtendedAttribute.cpp | 33 #include <security_cdsa_utilities/Schema.h> 154 Schema::ExtendedAttributeSchemaAttributeCount, 155 Schema::ExtendedAttributeSchemaAttributeList, 156 Schema::ExtendedAttributeSchemaIndexCount, 157 Schema::ExtendedAttributeSchemaIndexList); 161 Schema::ExtendedAttributeSchemaAttributeCount, 162 Schema::ExtendedAttributeSchemaAttributeList, 163 Schema::ExtendedAttributeSchemaIndexCount, 164 Schema::ExtendedAttributeSchemaIndexList);
|
H A D | SecIdentity.cpp | 35 #include <security_cdsa_utilities/Schema.h> 338 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecServiceItemAttr), service); 339 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecTypeItemAttr), itemType); 341 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecScriptCodeItemAttr), (sint32)keyUsage); 547 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecServiceItemAttr), service); 548 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecTypeItemAttr), itemType); 550 cursor->add(CSSM_DB_EQUAL, Schema::attributeInfo(kSecScriptCodeItemAttr), (sint32)keyUsage); 558 item->setAttribute(Schema::attributeInfo(kSecServiceItemAttr), service); 559 item->setAttribute(Schema::attributeInfo(kSecTypeItemAttr), itemType); 560 item->setAttribute(Schema [all...] |
H A D | SecKeychain.cpp | 35 #include <security_cdsa_utilities/Schema.h> 512 item->setAttribute(Schema::attributeInfo(kSecServerItemAttr), server); 514 item->setAttribute(Schema::attributeInfo(kSecLabelItemAttr), server); 520 item->setAttribute(Schema::attributeInfo(kSecAccountItemAttr), account); 524 item->setAttribute(Schema::attributeInfo(kSecSecurityDomainItemAttr), 527 item->setAttribute(Schema::attributeInfo(kSecPortItemAttr), UInt32(port)); 528 item->setAttribute(Schema::attributeInfo(kSecProtocolItemAttr), protocol); 529 item->setAttribute(Schema::attributeInfo(kSecAuthenticationTypeItemAttr), authenticationType); 532 item->setAttribute(Schema::attributeInfo(kSecPathItemAttr), 570 cursor->add(CSSM_DB_EQUAL, Schema [all...] |
H A D | KCCursor.cpp | 32 #include <security_cdsa_utilities/Schema.h> 63 recordType(Schema::recordTypeFor(itemClass)); 81 temp = &Schema::attributeInfo(attr->tag); 129 const CssmDbAttributeInfo &info = Schema::attributeInfo(attr->tag); 163 recordType(Schema::recordTypeFor(*reinterpret_cast<SecItemClass *>(attr->data)));
|
H A D | Item.cpp | 36 #include <security_cdsa_utilities/Schema.h> 49 //%%% schema indexes should be defined in Schema.h 76 mDbAttributes->recordType(Schema::recordTypeFor(itemClass)); 79 mDbAttributes->add(Schema::attributeInfo(kSecCreatorItemAttr), itemCreator); 94 mDbAttributes->recordType(Schema::recordTypeFor(itemClass)); 100 mDbAttributes->add(Schema::attributeInfo(attrList->attr[i].tag), CssmData(attrList->attr[i].data, attrList->attr[i].length)); 157 for (uint32 i = 0; i < Schema::DBInfo.NumberOfRecordTypes; i++) 158 if (item.recordType() == Schema::DBInfo.RecordAttributeNames[i].DataRecordType) { 159 schemaAttributes = &Schema::DBInfo.RecordAttributeNames[i]; 286 if (!mDoNotEncrypt && !mDbAttributes->find(Schema [all...] |
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/dbTool/ |
H A D | dbAttrs.cpp | 13 #include <security_cdsa_utilities/Schema.h> 375 /* remainder added after the schema were publicly available via Schema.h */ 384 Schema::kUnlockReferralType, 385 Schema::kUnlockReferralDbName, 386 Schema::kUnlockReferralDbGuid, 387 Schema::kUnlockReferralDbSSID, 388 Schema::kUnlockReferralDbSSType, 389 Schema::kUnlockReferralDbNetname, 390 Schema::kUnlockReferralKeyLabel, 391 Schema [all...] |
/macosx-10.10.1/security_systemkeychain-55202/src/ |
H A D | systemkeychain.cpp | 29 #include <security_cdsa_utilities/Schema.h> 263 db->dbInfo(&KeychainCore::Schema::DBInfo); // Set the standard schema 394 refAttrs.add(Schema::kUnlockReferralType, uint32(referralType)); 395 refAttrs.add(Schema::kUnlockReferralDbName, ident.dbName()); 396 refAttrs.add(Schema::kUnlockReferralDbNetname, CssmData()); 397 refAttrs.add(Schema::kUnlockReferralDbGuid, ident.ssuid().guid()); 398 refAttrs.add(Schema::kUnlockReferralDbSSID, ident.ssuid().subserviceId()); 399 refAttrs.add(Schema::kUnlockReferralDbSSType, ident.ssuid().subserviceType()); 400 refAttrs.add(Schema::kUnlockReferralKeyLabel, label?externalLabel:masterKeyLabel.get()); 401 refAttrs.add(Schema [all...] |