Searched refs:keyRef (Results 1 - 25 of 72) sorted by path

123

/macosx-10.9.5/IOFWDVComponents-207.4.1/
H A DDVIsochComponent.c825 CFStringRef keyRef = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("VENDOR_%08X"), vendorID); local
827 if( keyRef )
830 CFStringRef localizedString = CFBundleCopyLocalizedString ( myRef, keyRef, cameraName, NULL );
858 CFRelease( keyRef );
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap/
H A Dtls_o.c380 SecKeyRef keyRef = NULL; local
499 status = SecIdentityCopyPrivateKey(sslIdentityRef, &keyRef);
507 pvtKey = tslo_copy_key_to_evpkey(keyRef);
537 if(keyRef)
538 CFRelease(keyRef);
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dkeychain.c67 CFStringRef keyRef = NULL; local
70 keyRef = CFStringCreateWithCString(NULL, key, kCFStringEncodingUTF8);
71 if (keyRef != NULL)
72 valueRef = CFPreferencesCopyAppValue(keyRef,
80 if (keyRef)
81 CFRelease(keyRef);
/macosx-10.9.5/PowerManagement-420.90.1/pmconfigd/
H A DPrivateLib.c3144 CFStringRef keyRef = NULL; local
3155 keyRef = CFStringCreateWithCStringNoCopy(0, key, kCFStringEncodingUTF8, kCFAllocatorNull);
3156 if (!isA_CFString(keyRef))
3158 dataRef = CFDictionaryGetValue(dict, keyRef);
3169 if (keyRef) CFRelease(keyRef);
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DSecExport.cpp57 SecKeyRef keyRef; local
72 ortn = SecIdentityCopyPrivateKey(idRef, &keyRef);
76 rep = SecExportRep::vend(keyRef);
78 CFRelease(keyRef); // SecExportRep holds a reference
H A DSecImportExportAgg.cpp658 SecKeyRef keyRef;
664 ortn = SecKeyCreateWithCSSMKey(privKey, &keyRef);
669 if (keyRef)
670 CFRelease(keyRef);
H A DSecImportExportOpenSSH.cpp341 SecKeyRef keyRef,
353 (SecKeychainItemRef)keyRef,
340 impExpOpensshInferDescData( SecKeyRef keyRef, CssmOwnedData &descData) argument
H A DSecImportExportOpenSSH.h54 SecKeyRef keyRef,
H A DSecItem.cpp2940 SecKeyRef keyRef,
2971 KeyItem *key = KeyItem::required(keyRef);
2939 _ImportKey( SecKeyRef keyRef, SecKeychainRef keychainRef, SecAccessRef accessRef, SecKeychainAttributeList *attrList, SecKeychainItemRef *outItemRef) argument
H A DSecKey.cpp141 SecKeyGetCSPHandle(SecKeyRef keyRef, CSSM_CSP_HANDLE *cspHandle) argument
145 SecPointer<KeyItem> keyItem(KeyItem::required(keyRef));
153 SecKeyGetAlgorithmID(SecKeyRef keyRef, const CSSM_X509_ALGORITHM_IDENTIFIER **algid) argument
157 SecPointer<KeyItem> keyItem(KeyItem::required(keyRef));
186 SecKeyGetStrengthInBits(SecKeyRef keyRef, const CSSM_X509_ALGORITHM_IDENTIFIER *algid, unsigned int *strength) argument
190 SecPointer<KeyItem> keyItem(KeyItem::required(keyRef));
198 SecKeyRef keyRef,
205 SecPointer<KeyItem> keyItem(KeyItem::required(keyRef));
252 SecKeyRef* keyRef)
274 if (keyRef)
197 SecKeyGetCredentials( SecKeyRef keyRef, CSSM_ACL_AUTHORIZATION_TAG operation, SecCredentialType credentialType, const CSSM_ACCESS_CREDENTIALS **outCredentials) argument
243 SecKeyGenerateWithAttributes( SecKeychainAttributeList* attrList, SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE keyUsage, uint32 keyAttr, SecAccessRef initialAccess, SecKeyRef* keyRef) argument
281 SecKeyGenerate( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE keyUsage, uint32 keyAttr, SecAccessRef initialAccess, SecKeyRef* keyRef) argument
307 SecKeyRef keyRef = NULL; local
324 SecKeyCreateWithCSSMKey(const CSSM_KEY *cssmKey, SecKeyRef *keyRef) argument
691 SetKeyLabelAndTag(SecKeyRef keyRef, CFTypeRef label, CFDataRef tag) argument
[all...]
H A DSecKey.h273 @param keyRef On return, a reference to the generated key. Use the SecKeyGetCSSMKey function to obtain the CSSM_KEY. The caller must call CFRelease on this value if it is returned.
285 SecKeyRef* keyRef)
302 @param keyRef A key reference.
307 OSStatus SecKeyGetCSPHandle(SecKeyRef keyRef, CSSM_CSP_HANDLE *cspHandle)
313 @param keyRef The key for which a credential is requested.
320 SecKeyRef keyRef,
H A DSecKeyPriv.h189 @param keyRef On return, a key reference.
193 OSStatus SecKeyCreateWithCSSMKey(const CSSM_KEY *key, SecKeyRef* keyRef);
H A DTrustAdditions.cpp415 SecKeyRef keyRef = NULL;
418 // status = SecCertificateCopyPublicKey(certificate, &keyRef);
420 keyRef = Certificate::required(certificate)->publicKey()->handle(); local
425 // status = SecKeyGetCSSMKey(keyRef, &cssmKey);
427 cssmKey = KeyItem::required(keyRef)->key();
477 SafeCFRelease(&keyRef);
/macosx-10.9.5/Security-55471.14.18/include/security_pkcs12/
H A Dpkcs12Coder.h225 SecKeyRef keyRef);
H A Dpkcs12Keychain.cpp255 SecKeyRef keyRef)
290 (SecKeychainItemRef)keyRef,
330 ortn = SecKeychainItemCopyKeychain((SecKeychainItemRef)keyRef, &kcRef);
345 ortn = SecKeyGetCSSMKey(keyRef, &cssmKey);
357 keyRef);
254 addSecKey( SecKeyRef keyRef) argument
H A Dpkcs12SafeBag.cpp433 SecKeyRef keyRef /* = NULL */)
438 mKeyRef(keyRef),
H A Dpkcs12SafeBag.h208 SecKeyRef keyRef = NULL);
/macosx-10.9.5/Security-55471.14.18/include/security_smime/
H A Dcert.c324 SecPublicKeyRef keyRef = NULL; local
325 SecCertificateCopyPublicKey(cert,&keyRef);
326 return keyRef;
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_csp/lib/
H A DAppleCSP.cpp310 KeyRef keyRef = 0; local
312 keyRef <<= 8;
313 keyRef |= *cp--;
315 return keyRef;
320 KeyRef keyRef,
324 if(data.Length > sizeof(keyRef)) {
326 memset(data.Data + sizeof(keyRef), 0, data.Length - sizeof(keyRef));
328 else if(data.Length < sizeof(keyRef)) {
329 /* not enough space for even a keyRef, forc
319 keyRefToCssmData( KeyRef keyRef, CSSM_DATA &data, Allocator &allocator) argument
345 lookupKeyRef( KeyRef keyRef) argument
369 KeyRef keyRef = reinterpret_cast<KeyRef>(&binKey); local
391 KeyRef keyRef; local
430 KeyRef keyRef = CssmDataToKeyRef(KeyPtr.KeyData); local
[all...]
H A DAppleCSPSession.h153 BinaryKey *lookupKeyRef(KeyRef keyRef);
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecExport.cpp57 SecKeyRef keyRef; local
72 ortn = SecIdentityCopyPrivateKey(idRef, &keyRef);
76 rep = SecExportRep::vend(keyRef);
78 CFRelease(keyRef); // SecExportRep holds a reference
H A DSecImportExportAgg.cpp658 SecKeyRef keyRef;
664 ortn = SecKeyCreateWithCSSMKey(privKey, &keyRef);
669 if (keyRef)
670 CFRelease(keyRef);
H A DSecImportExportOpenSSH.cpp341 SecKeyRef keyRef,
353 (SecKeychainItemRef)keyRef,
340 impExpOpensshInferDescData( SecKeyRef keyRef, CssmOwnedData &descData) argument
H A DSecImportExportOpenSSH.h54 SecKeyRef keyRef,
H A DSecItem.cpp2940 SecKeyRef keyRef,
2971 KeyItem *key = KeyItem::required(keyRef);
2939 _ImportKey( SecKeyRef keyRef, SecKeychainRef keychainRef, SecAccessRef accessRef, SecKeychainAttributeList *attrList, SecKeychainItemRef *outItemRef) argument

Completed in 408 milliseconds

123