]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_smime/lib/cert.h
Security-58286.260.20.tar.gz
[apple/security.git] / OSX / libsecurity_smime / lib / cert.h
index 4458d3d8add79db90cee27adf6a462a4f8c24539..74d88af0b1f04b1a5b065002bc303ca7dcfbc644 100644 (file)
@@ -91,10 +91,11 @@ SecCertificateRef CERT_FindCertByDERCert(SecKeychainRef keychainOrArray, const S
 // Generate a certificate key from the issuer and serialnumber, then look it up in the database.
 // Return the cert if found. "issuerAndSN" is the issuer and serial number to look for
 SecCertificateRef CERT_FindCertByIssuerAndSN (CFTypeRef keychainOrArray, 
-    CSSM_DATA_PTR *rawCerts, PRArenaPool *pl, const SecCmsIssuerAndSN *issuerAndSN);
+    CSSM_DATA_PTR *rawCerts, CFArrayRef certList,
+    PRArenaPool *pl, const SecCmsIssuerAndSN *issuerAndSN);
 
 SecCertificateRef CERT_FindCertBySubjectKeyID (CFTypeRef keychainOrArray, 
-    CSSM_DATA_PTR *rawCerts, const SECItem *subjKeyID);
+    CSSM_DATA_PTR *rawCerts, CFArrayRef certList, const SECItem *subjKeyID);
 
 SecIdentityRef CERT_FindIdentityByIssuerAndSN (CFTypeRef keychainOrArray, const SecCmsIssuerAndSN *issuerAndSN);
 
@@ -126,6 +127,8 @@ SECStatus CERT_VerifyCert(SecKeychainRef keychainOrArray, SecCertificateRef cert
 
 CFTypeRef CERT_PolicyForCertUsage(SECCertUsage certUsage);
 
+int CERT_CompareCssmData(const CSSM_DATA *d1, const CSSM_DATA *d2);
+
 /************************************************************************/
 SEC_END_PROTOS