Searched refs:publickey (Results 1 - 25 of 33) sorted by relevance

12

/macosx-10.10/Security-57031.1.35/libsecurity_smime/Security/
H A Dcmspubkey.c65 SecPublicKeyRef publickey; local
67 rv = SecCertificateCopyPublicKey(cert,&publickey);
69 publickey = SecCertificateCopyPublicKey(cert);
71 if (publickey == NULL)
74 rv = SecCmsUtilEncryptSymKeyRSAPubKey(poolp, publickey, bulkkey, encKey);
75 CFRelease(publickey);
81 SecPublicKeyRef publickey,
95 keyType = SECKEY_GetPublicKeyType(publickey);
103 rv = SecKeyGetStrengthInBits(publickey, NULL, &data_len);
109 data_len = SecKeyGetSize(publickey, kSecKeyEncryptedDataSiz
80 SecCmsUtilEncryptSymKeyRSAPubKey(PLArenaPool *poolp, SecPublicKeyRef publickey, SecSymmetricKeyRef bulkkey, SecAsn1Item * encKey) argument
[all...]
H A Dcryptohi.h134 extern SECStatus WRAP_PubWrapSymKey(SecPublicKeyRef publickey,
H A Dcmssiginfo.c594 SecPublicKeyRef publickey = NULL; local
613 if (SecCertificateCopyPublicKey(cert, &publickey)) {
618 publickey = SecCertificateCopyPublicKey(cert);
619 if (publickey == NULL)
683 if (errSecSuccess == SecKeyDigestAndVerify(publickey, &signerinfo->digestAlg, encoded_attrs.Data, encoded_attrs.Length, signerinfo->encDigest.Data, signerinfo->encDigest.Length))
698 if (SecKeyVerifyDigest(publickey, &signerinfo->digestAlg, digest->Data, digest->Length, sig->Data, sig->Length))
725 if (publickey != NULL)
726 CFRelease(publickey);
733 if (publickey != NULL)
734 SECKEY_DestroyPublicKey (publickey);
[all...]
H A Dcryptohi.c319 WRAP_PubWrapSymKey(SecPublicKeyRef publickey, argument
332 rv = SecKeyGetCSPHandle(publickey, &pkCsp);
335 rv = SecKeyGetCSSMKey(publickey, &pk);
349 /* We need to get the publickey out of it's pkCsp and into the bkCsp so we can operate with it. */
H A Dcmslocal.h170 SecPublicKeyRef publickey,
/macosx-10.10/Security-57031.1.35/libsecurity_smime/lib/
H A Dcmspubkey.c65 SecPublicKeyRef publickey; local
67 rv = SecCertificateCopyPublicKey(cert,&publickey);
69 publickey = SecCertificateCopyPublicKey(cert);
71 if (publickey == NULL)
74 rv = SecCmsUtilEncryptSymKeyRSAPubKey(poolp, publickey, bulkkey, encKey);
75 CFRelease(publickey);
81 SecPublicKeyRef publickey,
95 keyType = SECKEY_GetPublicKeyType(publickey);
103 rv = SecKeyGetStrengthInBits(publickey, NULL, &data_len);
109 data_len = SecKeyGetSize(publickey, kSecKeyEncryptedDataSiz
80 SecCmsUtilEncryptSymKeyRSAPubKey(PLArenaPool *poolp, SecPublicKeyRef publickey, SecSymmetricKeyRef bulkkey, SecAsn1Item * encKey) argument
[all...]
H A Dcryptohi.h134 extern SECStatus WRAP_PubWrapSymKey(SecPublicKeyRef publickey,
H A Dcmssiginfo.c594 SecPublicKeyRef publickey = NULL; local
613 if (SecCertificateCopyPublicKey(cert, &publickey)) {
618 publickey = SecCertificateCopyPublicKey(cert);
619 if (publickey == NULL)
683 if (errSecSuccess == SecKeyDigestAndVerify(publickey, &signerinfo->digestAlg, encoded_attrs.Data, encoded_attrs.Length, signerinfo->encDigest.Data, signerinfo->encDigest.Length))
698 if (SecKeyVerifyDigest(publickey, &signerinfo->digestAlg, digest->Data, digest->Length, sig->Data, sig->Length))
725 if (publickey != NULL)
726 CFRelease(publickey);
733 if (publickey != NULL)
734 SECKEY_DestroyPublicKey (publickey);
[all...]
H A Dcryptohi.c319 WRAP_PubWrapSymKey(SecPublicKeyRef publickey, argument
332 rv = SecKeyGetCSPHandle(publickey, &pkCsp);
335 rv = SecKeyGetCSSMKey(publickey, &pk);
349 /* We need to get the publickey out of it's pkCsp and into the bkCsp so we can operate with it. */
H A Dcmslocal.h170 SecPublicKeyRef publickey,
/macosx-10.10/Security-57031.1.35/libsecurity_smime/security_smime/
H A Dcmspubkey.c65 SecPublicKeyRef publickey; local
67 rv = SecCertificateCopyPublicKey(cert,&publickey);
69 publickey = SecCertificateCopyPublicKey(cert);
71 if (publickey == NULL)
74 rv = SecCmsUtilEncryptSymKeyRSAPubKey(poolp, publickey, bulkkey, encKey);
75 CFRelease(publickey);
81 SecPublicKeyRef publickey,
95 keyType = SECKEY_GetPublicKeyType(publickey);
103 rv = SecKeyGetStrengthInBits(publickey, NULL, &data_len);
109 data_len = SecKeyGetSize(publickey, kSecKeyEncryptedDataSiz
80 SecCmsUtilEncryptSymKeyRSAPubKey(PLArenaPool *poolp, SecPublicKeyRef publickey, SecSymmetricKeyRef bulkkey, SecAsn1Item * encKey) argument
[all...]
H A Dcryptohi.h134 extern SECStatus WRAP_PubWrapSymKey(SecPublicKeyRef publickey,
H A Dcmssiginfo.c594 SecPublicKeyRef publickey = NULL; local
613 if (SecCertificateCopyPublicKey(cert, &publickey)) {
618 publickey = SecCertificateCopyPublicKey(cert);
619 if (publickey == NULL)
683 if (errSecSuccess == SecKeyDigestAndVerify(publickey, &signerinfo->digestAlg, encoded_attrs.Data, encoded_attrs.Length, signerinfo->encDigest.Data, signerinfo->encDigest.Length))
698 if (SecKeyVerifyDigest(publickey, &signerinfo->digestAlg, digest->Data, digest->Length, sig->Data, sig->Length))
725 if (publickey != NULL)
726 CFRelease(publickey);
733 if (publickey != NULL)
734 SECKEY_DestroyPublicKey (publickey);
[all...]
H A Dcryptohi.c319 WRAP_PubWrapSymKey(SecPublicKeyRef publickey, argument
332 rv = SecKeyGetCSPHandle(publickey, &pkCsp);
335 rv = SecKeyGetCSSMKey(publickey, &pk);
349 /* We need to get the publickey out of it's pkCsp and into the bkCsp so we can operate with it. */
/macosx-10.10/Security-57031.1.35/Security/include/security_smime/
H A Dcmspubkey.c69 SecPublicKeyRef publickey; local
71 rv = SecCertificateCopyPublicKey(cert,&publickey);
72 if (publickey == NULL)
75 rv = SecCmsUtilEncryptSymKeyRSAPubKey(poolp, publickey, bulkkey, encKey);
76 CFRelease(publickey);
82 SecPublicKeyRef publickey,
96 keyType = SECKEY_GetPublicKeyType(publickey);
103 rv = SecKeyGetStrengthInBits(publickey, NULL, &data_len);
115 rv = WRAP_PubWrapSymKey(publickey, bulkkey, encKey);
161 SecPublicKeyRef ourPubKey, *publickey
81 SecCmsUtilEncryptSymKeyRSAPubKey(PLArenaPool *poolp, SecPublicKeyRef publickey, SecSymmetricKeyRef bulkkey, CSSM_DATA_PTR encKey) argument
[all...]
H A Dcryptohi.h133 extern SECStatus WRAP_PubWrapSymKey(SecPublicKeyRef publickey,
H A Dcmssiginfo.c576 SecPublicKeyRef publickey = NULL; local
599 if (SecCertificateCopyPublicKey(cert, &publickey)) {
677 publickey, &(signerinfo->encDigest),
694 vs = (VFY_VerifyDigest(digest, publickey, sig,
732 if (publickey != NULL)
733 CFRelease(publickey);
744 if (publickey != NULL)
745 SECKEY_DestroyPublicKey (publickey);
H A Dcryptohi.c319 WRAP_PubWrapSymKey(SecPublicKeyRef publickey, argument
332 rv = SecKeyGetCSPHandle(publickey, &pkCsp);
335 rv = SecKeyGetCSSMKey(publickey, &pk);
349 /* We need to get the publickey out of it's pkCsp and into the bkCsp so we can operate with it. */
H A Dcmslocal.h169 SecPublicKeyRef publickey,
/macosx-10.10/Security-57031.1.35/Security/libsecurity_smime/lib/
H A Dcmspubkey.c69 SecPublicKeyRef publickey; local
71 rv = SecCertificateCopyPublicKey(cert,&publickey);
72 if (publickey == NULL)
75 rv = SecCmsUtilEncryptSymKeyRSAPubKey(poolp, publickey, bulkkey, encKey);
76 CFRelease(publickey);
82 SecPublicKeyRef publickey,
96 keyType = SECKEY_GetPublicKeyType(publickey);
103 rv = SecKeyGetStrengthInBits(publickey, NULL, &data_len);
115 rv = WRAP_PubWrapSymKey(publickey, bulkkey, encKey);
161 SecPublicKeyRef ourPubKey, *publickey
81 SecCmsUtilEncryptSymKeyRSAPubKey(PLArenaPool *poolp, SecPublicKeyRef publickey, SecSymmetricKeyRef bulkkey, CSSM_DATA_PTR encKey) argument
[all...]
H A Dcryptohi.h133 extern SECStatus WRAP_PubWrapSymKey(SecPublicKeyRef publickey,
H A Dcmssiginfo.c576 SecPublicKeyRef publickey = NULL; local
599 if (SecCertificateCopyPublicKey(cert, &publickey)) {
677 publickey, &(signerinfo->encDigest),
694 vs = (VFY_VerifyDigest(digest, publickey, sig,
732 if (publickey != NULL)
733 CFRelease(publickey);
744 if (publickey != NULL)
745 SECKEY_DestroyPublicKey (publickey);
H A Dcryptohi.c319 WRAP_PubWrapSymKey(SecPublicKeyRef publickey, argument
332 rv = SecKeyGetCSPHandle(publickey, &pkCsp);
335 rv = SecKeyGetCSSMKey(publickey, &pk);
349 /* We need to get the publickey out of it's pkCsp and into the bkCsp so we can operate with it. */
H A Dcmslocal.h169 SecPublicKeyRef publickey,
/macosx-10.10/bind9-45.101/bind9/bin/pkcs11/
H A Dpkcs11-keygen.c94 CK_OBJECT_HANDLE privatekey, publickey; local
287 &publickey, &privatekey);

Completed in 397 milliseconds

12