Searched refs:cert2 (Results 1 – 4 of 4) sorted by relevance
/external/chromium/net/base/ |
D | ssl_client_auth_cache_unittest.cc | 24 scoped_refptr<X509Certificate> cert2( in TEST() local 43 cache.Add(server2, cert2); in TEST() 49 EXPECT_EQ(cert2, cached_cert); in TEST() 58 EXPECT_EQ(cert2, cached_cert); in TEST() 66 EXPECT_EQ(cert2, cached_cert); in TEST() 74 EXPECT_EQ(cert2, cached_cert); in TEST() 90 scoped_refptr<X509Certificate> cert2( in TEST() local 94 cache.Add(server2, cert2.get()); in TEST() 100 EXPECT_EQ(cert2.get(), cached_cert); in TEST()
|
D | x509_certificate_unittest.cc | 633 scoped_refptr<X509Certificate> cert2(X509Certificate::CreateFromHandle( in TEST() local 638 EXPECT_EQ(cert1, cert2); in TEST() 776 scoped_refptr<X509Certificate> cert2; in TEST() local 777 cert2 = X509Certificate::CreateFromHandle( in TEST() 781 EXPECT_NE(cert1, cert2); in TEST() 784 EXPECT_TRUE(cert2->HasIntermediateCertificate( in TEST() 786 EXPECT_TRUE(cert2->HasIntermediateCertificate( in TEST() 788 EXPECT_FALSE(cert2->HasIntermediateCertificate( in TEST() 799 EXPECT_EQ(cert3, cert2); in TEST()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
D | X509CRLImplTest.java | 354 X509CertImpl cert2 = new X509CertImpl( in testGetRevokedCertificate1() local 376 crl.getRevokedCertificate(cert2)); in testGetRevokedCertificate1() 501 X509CertImpl cert2 = new X509CertImpl( in testIsRevoked() local 523 crl.isRevoked(cert2)); in testIsRevoked()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 247 java.security.cert.Certificate cert2 = keyTest.getCertificate("alias2"); in test_getCertificateLjava_lang_String() local 249 cert2 != null && cert2.equals(cert[0])); in test_getCertificateLjava_lang_String() 281 X509Certificate cert2 = (X509Certificate) cf in test_getCertificateAliasLjava_security_cert_Certificate() local 283 String aliasNull = keyTest.getCertificateAlias(cert2); in test_getCertificateAliasLjava_security_cert_Certificate()
|