Searched refs:kcRef (Results 1 - 25 of 68) sorted by relevance

123

/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/dotMacArchive/
H A DidentSearch.h45 SecKeychainRef kcRef, // keychain to search, or NULL to search all
H A DidentSearch.cpp90 SecKeychainRef kcRef, // keychain to search, or NULL to search all
97 ortn = SecIdentitySearchCreate(kcRef,
87 findIdentity( const void *emailAddress, unsigned emailAddressLen, SecKeychainRef kcRef, SecIdentityRef *idRef) argument
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/dotMacTool/
H A DkeyPicker.cpp32 SecKeychainRef kcRef, // NULL means the default list
31 keyPicker( SecKeychainRef kcRef, SecKeyRef *pubKey, SecKeyRef *privKey) argument
H A DkeyPicker.h38 SecKeychainRef kcRef, // NULL means the default list
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/extendAttrTool/
H A DsingleItemPicker.h44 SecKeychainRef kcRef, // NULL means the default list
H A DsingleItemPicker.cpp68 SecKeychainRef kcRef; local
69 ortn = SecKeychainItemCopyKeychain(itemRef, &kcRef);
75 mKcFile = kcFileName(kcRef);
101 SecKeychainRef kcRef,
108 OSStatus ortn = SecKeychainSearchCreateFromAttributes(kcRef,
154 SecKeychainRef kcRef, // NULL means the default list
182 getPickerItems(kcRef, itemClass, items);
100 getPickerItems( SecKeychainRef kcRef, SecItemClass itemClass, ItemVector &itemVector) argument
153 singleItemPicker( SecKeychainRef kcRef, KP_ItemType itemType, bool takeFirst, SecKeychainItemRef *itemRef) argument
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/threadTest/
H A DkcStatus.cpp27 SecKeychainRef kcRef; local
39 ortn = SecKeychainCopyDefault(&kcRef);
49 ortn = SecKeychainGetStatus(kcRef, &kcStatus);
54 printf("kcRef %p\n", kcRef);
57 ortn = SecKeychainGetPath(kcRef, &len, path);
72 CFRelease(kcRef);
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/clearPubKeyTest/
H A DclearPubKeyTest.cpp60 SecKeychainRef kcRef,
76 OSStatus ortn = SecKeyCreatePair(kcRef, keyAlg, keySizeInBits, 0,
151 SecKeychainRef kcRef = NULL; local
154 false, NULL, &kcRef);
170 if(genKeyPair(false, kcRef, &pubKeyRef, &privKeyRef)) {
176 SecKeychainLock(kcRef);
186 SecKeychainLock(kcRef);
213 ortn = SecKeychainUnlock(kcRef, strlen(KEYCHAIN_PWD), KEYCHAIN_PWD, TRUE);
221 if(genKeyPair(true, kcRef, &pubKeyRef, &privKeyRef)) {
227 SecKeychainLock(kcRef);
58 genKeyPair( bool pubKeyIsEncrypted, SecKeychainRef kcRef, SecKeyRef *pubKeyRef, SecKeyRef *privKeyRef) argument
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTool/
H A Dkeychain_export.c58 SecKeychainRef kcRef,
66 ortn = SecKeychainSearchCreateFromAttributes(kcRef,
99 SecKeychainRef kcRef,
105 OSStatus ortn = SecIdentitySearchCreate(kcRef,
137 SecKeychainRef kcRef,
162 ortn = addKcItems(kcRef, kSecCertificateItemClass, exportItems, &numCerts);
170 ortn = addKcItems(kcRef, CSSM_DL_DB_RECORD_PRIVATE_KEY, exportItems,
179 ortn = addKcItems(kcRef, CSSM_DL_DB_RECORD_PUBLIC_KEY, exportItems,
188 ortn = addKcItems(kcRef, CSSM_DL_DB_RECORD_PRIVATE_KEY, exportItems,
194 ortn = addKcItems(kcRef, CSSM_DL_DB_RECORD_PUBLIC_KE
57 addKcItems( SecKeychainRef kcRef, SecItemClass itemClass, CFMutableArrayRef outArray, unsigned *numItems) argument
98 addIdentities( SecKeychainRef kcRef, CFMutableArrayRef outArray, unsigned *numItems) argument
136 do_keychain_export( SecKeychainRef kcRef, SecExternalFormat externFormat, ItemSpec itemSpec, const char *passphrase, int doPem, const char *fileName) argument
313 SecKeychainRef kcRef = NULL; local
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/clAppUtils/
H A DkeyPicker.h52 SecKeychainRef kcRef, // NULL means the default list
H A DidentPicker.cpp119 SecKeychainRef kcRef)
125 ortn = SecKeychainGetPath(kcRef, &pathLen, fullPath);
161 SecKeychainRef kcRef = NULL; local
163 ortn = SecKeychainItemCopyKeychain(itemRef, &kcRef);
167 char *rtnStr = kcFileName(kcRef);
168 CFRelease(kcRef);
203 SecKeychainRef kcRef; local
205 ortn = SecKeychainItemCopyKeychain((SecKeychainItemRef)certRef, &kcRef);
211 kcLabel = kcFileName(kcRef);
242 SecKeychainRef kcRef, // NUL
118 kcFileName( SecKeychainRef kcRef) argument
241 sslSimpleIdentPicker( SecKeychainRef kcRef, SecIdentityRef *ident) argument
313 sslIdentPicker( SecKeychainRef kcRef, SecCertificateRef trustedAnchor, bool includeRoot, const CSSM_OID *vfyPolicy, CFArrayRef *outArray) argument
[all...]
H A DidentPicker.h42 SecKeychainRef kcRef);
H A DkeyPicker.cpp181 SecKeychainRef kcRef; local
182 ortn = SecKeychainItemCopyKeychain((SecKeychainItemRef)keyRef, &kcRef);
188 mKcFile = kcFileName(kcRef);
217 SecKeychainRef kcRef,
224 OSStatus ortn = SecKeychainSearchCreateFromAttributes(kcRef,
268 SecKeychainRef kcRef, // NULL means the default list
277 getPickerKeys(kcRef, CSSM_DL_DB_RECORD_PRIVATE_KEY, privKeys);
278 getPickerKeys(kcRef, CSSM_DL_DB_RECORD_PUBLIC_KEY, pubKeys);
216 getPickerKeys( SecKeychainRef kcRef, SecItemClass itemClass, KeyVector &keyVector) argument
267 keyPicker( SecKeychainRef kcRef, SecKeyRef *pubKey, SecKeyRef *privKey) argument
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/kcExport/
H A DkcExport.cpp48 SecKeychainRef kcRef,
55 ortn = SecKeychainSearchCreateFromAttributes(kcRef,
87 SecKeychainRef kcRef,
92 OSStatus ortn = SecIdentitySearchCreate(kcRef,
129 SecKeychainRef kcRef = NULL; local
130 OSStatus ortn = SecKeychainOpen(kcName, &kcRef);
262 ortn = addKcItems(kcRef, kSecCertificateItemClass, exportItems);
269 ortn = addKcItems(kcRef, CSSM_DL_DB_RECORD_PRIVATE_KEY, exportItems);
276 ortn = addKcItems(kcRef, CSSM_DL_DB_RECORD_PUBLIC_KEY, exportItems);
283 ortn = addKcItems(kcRef, CSSM_DL_DB_RECORD_PRIVATE_KE
47 addKcItems( SecKeychainRef kcRef, SecItemClass itemClass, CFMutableArrayRef outArray) argument
86 addIdentities( SecKeychainRef kcRef, CFMutableArrayRef outArray) argument
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/extendAttrTest/
H A DextendAttrTest.cpp77 SecKeychainRef kcRef,
98 ortn = SecKeychainItemImport(cfd, NULL, &format, &itemType, 0, &params, kcRef, &outArray);
123 SecKeychainRef kcRef,
140 ortn = SecCertificateAddToKeychain(*certRef, kcRef);
318 SecKeychainRef kcRef,
323 if(doImportCert(CERT_FILE, kcRef, &certRef)) {
347 if(doImportCert(CERT_FILE, kcRef, &certRef)) {
390 SecKeychainRef kcRef = NULL; local
398 if (SecKeychainOpen(kcName, &kcRef) == noErr)
400 SecKeychainDelete(kcRef);
73 doImportKey( const char *fileName, SecExternalFormat format, SecExternalItemType itemType, SecKeychainRef kcRef, SecKeyRef *keyRef) argument
121 doImportCert( const char *fileName, SecKeychainRef kcRef, SecCertificateRef *certRef) argument
317 doDeleteItemTest( SecKeychainRef kcRef, bool quiet) argument
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/kcTool/
H A DkcTool.cpp76 SecKeychainRef kcRef = nil; local
161 ortn = SecKeychainOpen(kcPath, &kcRef);
178 &kcRef);
191 ortn = SecKeychainGetStatus(kcRef, &kcStat);
211 ortn = SecKeychainLock(kcRef);
223 ortn = SecKeychainUnlock(kcRef,
243 ortn = SecKeychainAddGenericPassword(kcRef,
263 ortn = SecKeychainFindGenericPassword(kcRef,
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/idPref/
H A DidPref.cpp25 SecKeychainRef kcRef = NULL; local
74 ortn = SecKeychainOpen(kcName, &kcRef);
83 ortn = sslSimpleIdentPicker(kcRef, &idRef);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/sysIdTool/
H A DsysIdTool.cpp34 SecKeychainRef kcRef; local
37 OSStatus ortn = SecKeychainOpen(sysKcPath, &kcRef);
45 ortn = sslSimpleIdentPicker(kcRef, &idRef);
46 CFRelease(kcRef);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/trustApps/
H A DtrustApps.cpp57 SecKeychainRef kcRef; local
58 ortn = SecKeychainOpen(keychainName, &kcRef);
64 ortn = sslSimpleIdentPicker(kcRef, &identRef);
145 CFRelease(kcRef);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/idTool/
H A DidTool.cpp151 SecKeychainRef kcRef,
156 OSStatus ortn = SecIdentitySearchCreate(kcRef, keyUse, &srchRef);
292 SecKeychainRef kcRef = nil; local
336 ortn = SecKeychainOpen(kcName, &kcRef);
347 ortn = SecKeychainLock(kcRef);
359 ortn = SecKeychainUnlock(kcRef,
373 ortn = SecKeychainGetStatus(kcRef, &kcStat);
399 ortn = getIdentity(kcRef, CSSM_KEYUSE_SIGN, idRef);
407 ortn = SecKeychainGetCSPHandle(kcRef, &cspHand);
435 if(kcRef) {
150 getIdentity( SecKeychainRef kcRef, CSSM_KEYUSE keyUse, SecIdentityRef &idRef) argument
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/p12/
H A Dp12ImportExport.cpp69 SecKeychainRef kcRef = NULL; local
70 ortn = SecKeychainOpen(kcName, &kcRef);
77 ortn = SecKeychainUnlock(kcRef, strlen(kcPwd), (void *)kcPwd, true);
91 ortn = SecPkcs12SetKeychain(coder, kcRef);
99 ortn = SecKeychainGetCSPHandle(kcRef, &cspHand);
383 SecKeychainRef kcRef = NULL; local
384 ortn = SecKeychainOpen(kcName, &kcRef);
391 ortn = SecKeychainUnlock(kcRef, strlen(kcPwd), (void *)kcPwd, true);
403 ortn = SecKeychainSearchCreateFromAttributes(kcRef,
423 ortn = SecKeychainSearchCreateFromAttributes(kcRef,
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/genKeyPair/
H A DgenKeyPair.cpp193 SecKeychainRef kcRef = nil; local
196 ortn = SecKeychainOpen(kcName, &kcRef);
204 ortn = SecKeychainGetCSPHandle(kcRef, &cspHand);
209 ortn = SecKeychainGetDLDBHandle(kcRef, &dlDbHand);
236 CFRelease(kcRef);
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/acltool/
H A Dacltool.cpp93 SecKeychainRef kcRef,
124 ortn = SecKeychainSearchCreateFromAttributes(kcRef,
216 SecKeychainRef kcRef = nil; local
303 ortn = SecKeychainOpen(kcName, &kcRef);
315 ortn = dumpAcls(kcRef, itemClass, labelAttr, labelOrName, dumpData, dumpAcl, editAcl,
323 if(kcRef) {
324 CFRelease(kcRef);
92 dumpAcls( SecKeychainRef kcRef, SecItemClass itemClass, SecItemAttr labelAttr, const char *label, bool dumpData, bool dumpAcl, bool editAcl, bool simulateStickyRecord, const unsigned char *newData, unsigned newDataLen) argument
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/krbtool/
H A DidentPicker.cpp122 SecKeychainRef kcRef)
128 ortn = SecKeychainGetPath(kcRef, &pathLen, fullPath);
417 SecKeychainRef kcRef; local
419 ortn = SecKeychainItemCopyKeychain((SecKeychainItemRef)certRef, &kcRef);
425 kcLabel = kcFileName(kcRef);
456 SecKeychainRef kcRef, // NULL means use default list
465 ortn = SecIdentitySearchCreate(kcRef,
527 SecKeychainRef kcRef, // NULL means use default list
536 ortn = simpleIdentPicker(kcRef, &identity);
121 kcFileName( SecKeychainRef kcRef) argument
455 simpleIdentPicker( SecKeychainRef kcRef, SecIdentityRef *ident) argument
526 identPicker( SecKeychainRef kcRef, SecCertificateRef trustedAnchor, bool includeRoot, CFArrayRef *outArray) argument
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/dotMacRequest/
H A DdotMacRequest.cpp64 SecKeychainRef kcRef, // optional, NULL means the default list
70 ortn = SecKeyCreatePair(kcRef,
446 SecKeychainRef kcRef = NULL; local
552 ortn = SecKeychainOpen(keychainName, &kcRef);
560 ortn = SecKeychainGetStatus(kcRef, &kcStat);
570 ortn = genKeyPair(kcRef, &pubKeyRef, &privKeyRef);
573 ortn = keyPicker(kcRef, &pubKeyRef, &privKeyRef);
587 reqType, doRenew, async, hostName, kcRef);
591 ortn = dotMacGetPendingRequest(userName, password, reqType, hostName, kcRef);
598 reqType, doRenew, async, hostName, kcRef);
63 genKeyPair( SecKeychainRef kcRef, SecKeyRef *pubKey, SecKeyRef *privKey) argument
[all...]

Completed in 108 milliseconds

123