/macosx-10.9.5/Security-55471.14.18/sec/Security/ |
H A D | SecIdentity.h | 64 @param privateKeyRef On return, a pointer to the private key for the given 70 SecKeyRef *privateKeyRef)
|
H A D | SecIdentity.c | 117 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 D | TokenIDHelper.cpp | 37 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 D | SecIdentity.h | 80 @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 D | SecKey.cpp | 71 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 D | SecIdentity.cpp | 134 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 D | SecIdentity.h | 80 @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 D | SecKey.cpp | 71 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 D | SecIdentity.cpp | 134 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 D | SecIdentity.h | 80 @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 D | SecKey.cpp | 71 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 D | SecIdentity.cpp | 134 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 D | crypto_cssm.c | 308 SecKeyRef privateKeyRef = NULL; local 328 status = SecIdentityCopyPrivateKey(identityRef, &privateKeyRef); 337 status = SecKeyRawSign(privateKeyRef, kSecPaddingPKCS1, (uint8_t*)hash->v, 344 if (privateKeyRef) 345 CFRelease(privateKeyRef);
|