Searched refs:privateKeyRef (Results 1 - 13 of 13) sorted by relevance

/macosx-10.9.5/Security-55471.14.18/sec/Security/
H A DSecIdentity.h64 @param privateKeyRef On return, a pointer to the private key for the given
70 SecKeyRef *privateKeyRef)
H A DSecIdentity.c117 SecKeyRef *privateKeyRef) {
118 *privateKeyRef = identity->_privateKey;
119 CFRetain(*privateKeyRef);
116 SecIdentityCopyPrivateKey(SecIdentityRef identity, SecKeyRef *privateKeyRef) argument
/macosx-10.9.5/security_systemkeychain-55191.2/src/
H A DTokenIDHelper.cpp37 static bool encryptionEnabled(SecKeyRef privateKeyRef);
181 SecKeyRef privateKeyRef = NULL;
182 status = SecIdentityCopyPrivateKey(identity, &privateKeyRef);
185 bool canEncrypt = encryptionEnabled(privateKeyRef);
186 CFRelease(privateKeyRef);
280 bool encryptionEnabled(SecKeyRef privateKeyRef) argument
295 OSStatus status = SecKeychainItemCopyAttributesAndData((SecKeychainItemRef)privateKeyRef, &info, NULL, &attrList, 0, NULL);
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DSecIdentity.h80 @param privateKeyRef On return, a reference to the private key for the given identity. You are responsible for releasing this reference by calling the CFRelease function.
85 SecKeyRef *privateKeyRef)
H A DSecKey.cpp71 SecKeyRef* privateKeyRef)
97 if (privateKeyRef)
98 *privateKeyRef = privItem->handle();
115 SecKeyRef* privateKeyRef)
118 publicKeyAttr, privateKeyUsage, privateKeyAttr, initialAccess, publicKeyRef, privateKeyRef);
60 SecKeyCreatePairInternal( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument
104 SecKeyCreatePair( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument
H A DSecIdentity.cpp134 SecKeyRef *privateKeyRef)
139 Required(privateKeyRef) = keyItemPtr->handle();
132 SecIdentityCopyPrivateKey( SecIdentityRef identityRef, SecKeyRef *privateKeyRef) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecIdentity.h80 @param privateKeyRef On return, a reference to the private key for the given identity. You are responsible for releasing this reference by calling the CFRelease function.
85 SecKeyRef *privateKeyRef)
H A DSecKey.cpp71 SecKeyRef* privateKeyRef)
97 if (privateKeyRef)
98 *privateKeyRef = privItem->handle();
115 SecKeyRef* privateKeyRef)
118 publicKeyAttr, privateKeyUsage, privateKeyAttr, initialAccess, publicKeyRef, privateKeyRef);
60 SecKeyCreatePairInternal( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument
104 SecKeyCreatePair( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument
H A DSecIdentity.cpp134 SecKeyRef *privateKeyRef)
139 Required(privateKeyRef) = keyItemPtr->handle();
132 SecIdentityCopyPrivateKey( SecIdentityRef identityRef, SecKeyRef *privateKeyRef) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DSecIdentity.h80 @param privateKeyRef On return, a reference to the private key for the given identity. You are responsible for releasing this reference by calling the CFRelease function.
85 SecKeyRef *privateKeyRef)
H A DSecKey.cpp71 SecKeyRef* privateKeyRef)
97 if (privateKeyRef)
98 *privateKeyRef = privItem->handle();
115 SecKeyRef* privateKeyRef)
118 publicKeyAttr, privateKeyUsage, privateKeyAttr, initialAccess, publicKeyRef, privateKeyRef);
60 SecKeyCreatePairInternal( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument
104 SecKeyCreatePair( SecKeychainRef keychainRef, CSSM_ALGORITHMS algorithm, uint32 keySizeInBits, CSSM_CC_HANDLE contextHandle, CSSM_KEYUSE publicKeyUsage, uint32 publicKeyAttr, CSSM_KEYUSE privateKeyUsage, uint32 privateKeyAttr, SecAccessRef initialAccess, SecKeyRef* publicKeyRef, SecKeyRef* privateKeyRef) argument
H A DSecIdentity.cpp134 SecKeyRef *privateKeyRef)
139 Required(privateKeyRef) = keyItemPtr->handle();
132 SecIdentityCopyPrivateKey( SecIdentityRef identityRef, SecKeyRef *privateKeyRef) argument
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/
H A Dcrypto_cssm.c308 SecKeyRef privateKeyRef = NULL; local
328 status = SecIdentityCopyPrivateKey(identityRef, &privateKeyRef);
337 status = SecKeyRawSign(privateKeyRef, kSecPaddingPKCS1, (uint8_t*)hash->v,
344 if (privateKeyRef)
345 CFRelease(privateKeyRef);

Completed in 270 milliseconds