Searched refs:idRef (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/dotMacArchive/
H A DidentSearch.h46 SecIdentityRef *idRef); // RETURNED
H A DidentSearch.cpp36 SecIdentityRef idRef,
44 ortn = SecIdentityCopyCertificate(idRef, &certRef);
91 SecIdentityRef *idRef) // RETURNED
125 *idRef = foundId;
35 idHasEmail( SecIdentityRef idRef, const void *emailAddress, unsigned emailAddressLen) argument
87 findIdentity( const void *emailAddress, unsigned emailAddressLen, SecKeychainRef kcRef, SecIdentityRef *idRef) argument
H A DdotMacArchive.cpp356 SecIdentityRef idRef = NULL; local
357 OSStatus ortn = findIdentity(emailAddr, strlen(emailAddr), kcRef, &idRef);
378 ortn = SecKeychainItemExport(idRef, kSecFormatPKCS12, kSecItemPemArmour,
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/sysIdTool/
H A DsysIdTool.cpp44 SecIdentityRef idRef = NULL; local
45 ortn = sslSimpleIdentPicker(kcRef, &idRef);
52 ortn = SecIdentitySetSystemIdentity(domain, idRef);
59 CFRelease(idRef);
79 SecIdentityRef idRef = NULL; local
83 ortn = SecIdentityCopySystemIdentity(domain, &idRef, &actualDomain);
89 ortn = SecIdentityCopyCertificate(idRef, &certRef);
92 CFRelease(idRef);
99 CFRelease(idRef);
114 CFRelease(idRef);
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/idPref/
H A DidPref.cpp81 SecIdentityRef idRef = NULL; local
83 ortn = sslSimpleIdentPicker(kcRef, &idRef);
88 ortn = SecIdentitySetPreference(idRef, prefStr, 0);
96 ortn = SecIdentityCopyPreference(prefStr, 0, NULL, &idRef);
102 ortn = SecIdentityCopyCertificate(idRef, &certRef);
114 CFRelease(idRef);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/ocspTool/
H A DocspUtils.h25 SecIdentityRef idRef,
H A DocspUtils.cpp13 SecIdentityRef idRef,
24 ortn = SecIdentityCopyPrivateKey(idRef, &privKeyRef);
12 ocspSign( SecIdentityRef idRef, CSSM_DATA &plainText, CSSM_ALGORITHMS algId, CSSM_DATA &sig) argument
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/krbtool/
H A Dkrbtool.cpp124 SecIdentityRef idRef = NULL; local
130 ortn = simpleIdentPicker(NULL, &idRef);
143 (krb5_pkinit_signing_cert_t)idRef);
150 if(idRef) {
151 CFRelease(idRef);
159 krb5_pkinit_signing_cert_t idRef = NULL; local
166 krtn = krb5_pkinit_get_client_cert(args->principal, &idRef);
178 ortn = SecIdentityCopyCertificate((SecIdentityRef)idRef, &certRef);
210 if(idRef) {
211 krb5_pkinit_release_cert(idRef);
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_keychain/
H A DSecIdentity.h143 @param idRef On return, the system SecIdentityRef assicated with
157 SecIdentityRef *idRef,
167 @param idRef (optional) The identity to be assigned to the specified
176 SecIdentityRef idRef)
H A DSecExport.cpp55 SecIdentityRef idRef = (SecIdentityRef)thing; local
62 ortn = SecIdentityCopyCertificate(idRef, &certRef);
72 ortn = SecIdentityCopyPrivateKey(idRef, &keyRef);
H A DSecImportExportAgg.cpp582 SecIdentityRef idRef = NULL; local
584 importedCertRef, &idRef);
595 CFArrayAppendValue(outArray, idRef);
596 CFRelease(idRef); // array holds only ref
597 idRef = NULL;
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DSecIdentity.h143 @param idRef On return, the system SecIdentityRef assicated with
157 SecIdentityRef *idRef,
167 @param idRef (optional) The identity to be assigned to the specified
176 SecIdentityRef idRef)
H A DSecExport.cpp55 SecIdentityRef idRef = (SecIdentityRef)thing; local
62 ortn = SecIdentityCopyCertificate(idRef, &certRef);
72 ortn = SecIdentityCopyPrivateKey(idRef, &keyRef);
H A DSecImportExportAgg.cpp582 SecIdentityRef idRef = NULL; local
584 importedCertRef, &idRef);
595 CFArrayAppendValue(outArray, idRef);
596 CFRelease(idRef); // array holds only ref
597 idRef = NULL;
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DSecIdentity.h143 @param idRef On return, the system SecIdentityRef assicated with
157 SecIdentityRef *idRef,
167 @param idRef (optional) The identity to be assigned to the specified
176 SecIdentityRef idRef)
H A DSecExport.cpp55 SecIdentityRef idRef = (SecIdentityRef)thing; local
62 ortn = SecIdentityCopyCertificate(idRef, &certRef);
72 ortn = SecIdentityCopyPrivateKey(idRef, &keyRef);
H A DSecImportExportAgg.cpp582 SecIdentityRef idRef = NULL; local
584 importedCertRef, &idRef);
595 CFArrayAppendValue(outArray, idRef);
596 CFRelease(idRef); // array holds only ref
597 idRef = NULL;
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/idTool/
H A DidTool.cpp153 SecIdentityRef &idRef)
161 ortn = SecIdentitySearchCopyNext(srchRef, &idRef);
166 if(CFGetTypeID(idRef) != SecIdentityGetTypeID()) {
268 SecIdentityRef idRef,
273 OSStatus ortn = SecIdentityCopyCertificate(idRef, &certRef);
278 ortn = SecIdentityCopyPrivateKey(idRef, &keyRef);
398 SecIdentityRef idRef; local
399 ortn = getIdentity(kcRef, CSSM_KEYUSE_SIGN, idRef);
417 ortn = getKeyCert(idRef, certRef, keyRef, privKey);
434 CFRelease(idRef);
150 getIdentity( SecKeychainRef kcRef, CSSM_KEYUSE keyUse, SecIdentityRef &idRef) argument
267 getKeyCert( SecIdentityRef idRef, SecCertificateRef &certRef, SecKeyRef &keyRef, CSSM_KEY_PTR &cssmKey) argument
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/makeCrl/
H A DmakeCrl.cpp285 SecIdentityRef idRef = NULL; local
296 ortn = SecIdentityCreateWithCertificate(kcRef, certRef, &idRef);
301 ortn = SecIdentityCopyPrivateKey(idRef, &signingKey);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/sslEAP/
H A DsslEAP.cpp122 SecIdentityRef idRef = NULL; local
132 idRef = (SecIdentityRef)CFArrayGetValueAtIndex(idArray, 0);
133 ortn = SecIdentityCopyCertificate(idRef, &anchorCert);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/sslHandshakeTimeRB/
H A DsslHandshakeTimeRB.cpp108 SecIdentityRef idRef = NULL; local
205 idRef = (SecIdentityRef)CFArrayGetValueAtIndex(idArray, 0);
206 ortn = SecIdentityCopyCertificate(idRef, &anchorCert);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/sslThroughput/
H A DsslThroughput.cpp66 SecIdentityRef idRef = NULL; local
185 idRef = (SecIdentityRef)CFArrayGetValueAtIndex(idArray, 0);
186 ortn = SecIdentityCopyCertificate(idRef, &anchorCert);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/cmstool/testSubjects/
H A Dptext1.txt691 SecIdentityRef idRef = NULL;
714 ortn = sslSimpleIdentPicker(kcRef, &idRef);
727 idRef = (SecIdentityRef)CFArrayGetValueAtIndex(array, 0);
728 if(idRef == NULL) {
732 CFRetain(idRef);
744 ortn = doSign(idRef, inData, inDataLen, &outData, &outDataLen);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/cmstool/
H A Dcmstool.cpp1104 SecIdentityRef idRef = NULL; local
1135 ortn = sslSimpleIdentPicker(kcRef, &idRef);
1150 idRef = (SecIdentityRef)CFArrayGetValueAtIndex(array, 0);
1151 if(idRef == NULL) {
1155 CFRetain(idRef);
1167 ortn = doSign(idRef, inData, inDataLen,
1173 if(idRef == NULL) {
1177 ortn = SecIdentityCopyCertificate(idRef, &recipientCert);
1186 ortn = doSignEncrypt(recipientCert, idRef, eContentType,
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/clAppUtils/
H A DidentPicker.cpp192 SecIdentityRef idRef = (SecIdentityRef)CFArrayGetValueAtIndex(idArray, dex); local
194 ortn = SecIdentityCopyCertificate(idRef, &certRef);

Completed in 108 milliseconds

12