Home
last modified time | relevance | path

Searched refs:cached_cert (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/net/ssl/
Dssl_client_auth_cache_unittest.cc31 scoped_refptr<X509Certificate> cached_cert; in TEST() local
33 cached_cert = NULL; in TEST()
34 EXPECT_FALSE(cache.Lookup(server1, &cached_cert)); in TEST()
38 cached_cert = NULL; in TEST()
39 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); in TEST()
40 EXPECT_EQ(cert1, cached_cert); in TEST()
44 cached_cert = NULL; in TEST()
45 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); in TEST()
46 EXPECT_EQ(cert1.get(), cached_cert.get()); in TEST()
47 cached_cert = NULL; in TEST()
[all …]
/external/chromium_org/net/cert/
Dx509_certificate_mac.cc35 const x509_util::CSSMCachedCertificate& cached_cert, in GetCertDistinguishedName() argument
39 OSStatus status = cached_cert.GetField(oid, &distinguished_name); in GetCertDistinguishedName()
48 x509_util::CSSMCachedCertificate cached_cert; in IsCertIssuerInEncodedList() local
49 if (cached_cert.Init(cert_handle) != CSSM_OK) in IsCertIssuerInEncodedList()
53 OSStatus status = cached_cert.GetField(&CSSMOID_X509V1IssuerNameStd, in IsCertIssuerInEncodedList()
72 void GetCertDateForOID(const x509_util::CSSMCachedCertificate& cached_cert, in GetCertDateForOID() argument
78 OSStatus status = cached_cert.GetField(oid, &field); in GetCertDateForOID()
100 const x509_util::CSSMCachedCertificate& cached_cert) { in GetCertSerialNumber() argument
102 OSStatus status = cached_cert.GetField(&CSSMOID_X509V1SerialNumber, in GetCertSerialNumber()
202 x509_util::CSSMCachedCertificate cached_cert; in Initialize() local
[all …]
Dcert_verify_proc_mac.cc205 x509_util::CSSMCachedCertificate cached_cert; in GetCertChainInfo() local
206 OSStatus status = cached_cert.Init(chain_cert); in GetCertChainInfo()
210 status = cached_cert.GetField(&CSSMOID_X509V1SignatureAlgorithm, in GetCertChainInfo()
298 x509_util::CSSMCachedCertificate cached_cert; in CheckRevocationWithCRLSet() local
299 if (cached_cert.Init(cert) != CSSM_OK) { in CheckRevocationWithCRLSet()
304 err = cached_cert.GetField(&CSSMOID_X509V1SerialNumber, &serial_number); in CheckRevocationWithCRLSet()