/libcore/luni/src/test/java/tests/security/cert/ |
X509CertSelectorTest.java | 296 X509Certificate cert2 = (X509Certificate) local 303 selector.setCertificate(cert2); 304 assertEquals(cert2, selector.getCertificate()); 525 TestCert cert2 = new TestCert(sans2); local 532 selector.match(cert1) && selector.match(cert2)); 794 X509Certificate cert2 = (X509Certificate) local 816 TestCert cert2 = new TestCert(akid2); local 868 TestCert cert2 = new TestCert("other certificate"); local 897 TestCert cert2 = new TestCert(date2); local 938 TestCert cert2 = new TestCert(ku2); local 968 TestCert cert2 = new TestCert(iss2); local 996 TestCert cert2 = new TestCert(iss2); local 1022 TestCert cert2 = new TestCert(iss2); local 1049 TestCert cert2 = new TestCert(ku2); local 1143 TestCert cert2 = new TestCert(sans2); local 1182 TestCert cert2 = new TestCert(policies2); local 1213 TestCert cert2 = new TestCert(date2, date3); local 1240 TestCert cert2 = new TestCert(ser2); local 1272 TestCert cert2 = new TestCert(sub2); local 1299 TestCert cert2 = new TestCert(sub2); local 1324 TestCert cert2 = new TestCert(sub2); local 1369 TestCert cert2 = new TestCert(sans2); local 1392 TestCert cert2 = new TestCert(skid2); local 1444 TestCert cert2 = new TestCert(pkey2); local 1475 TestCert cert2 = new TestCert(pkey2); local 2080 TestCert cert2 = new TestCert(sans2); local 2116 TestCert cert2 = new TestCert(sans2); local [all...] |
/external/chromium/net/base/ |
ssl_client_auth_cache_unittest.cc | 24 scoped_refptr<X509Certificate> cert2( 43 cache.Add(server2, cert2); 49 EXPECT_EQ(cert2, cached_cert); 58 EXPECT_EQ(cert2, cached_cert); 66 EXPECT_EQ(cert2, cached_cert); 74 EXPECT_EQ(cert2, cached_cert); 90 scoped_refptr<X509Certificate> cert2( 94 cache.Add(server2, cert2.get()); 100 EXPECT_EQ(cert2.get(), cached_cert);
|
x509_certificate_unittest.cc | 633 scoped_refptr<X509Certificate> cert2(X509Certificate::CreateFromHandle( 638 EXPECT_EQ(cert1, cert2); 776 scoped_refptr<X509Certificate> cert2; local 777 cert2 = X509Certificate::CreateFromHandle( 780 // The cache should have stored cert2 'cause it has more intermediates: 781 EXPECT_NE(cert1, cert2); 784 EXPECT_TRUE(cert2->HasIntermediateCertificate( 786 EXPECT_TRUE(cert2->HasIntermediateCertificate( 788 EXPECT_FALSE(cert2->HasIntermediateCertificate( [all...] |
/external/chromium_org/net/ssl/ |
ssl_client_auth_cache_unittest.cc | 24 scoped_refptr<X509Certificate> cert2( 43 cache.Add(server2, cert2.get()); 49 EXPECT_EQ(cert2, cached_cert); 58 EXPECT_EQ(cert2, cached_cert); 66 EXPECT_EQ(cert2, cached_cert); 74 EXPECT_EQ(cert2, cached_cert); 90 scoped_refptr<X509Certificate> cert2( 94 cache.Add(server2, cert2.get()); 100 EXPECT_EQ(cert2.get(), cached_cert);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CRLImplTest.java | 354 X509CertImpl cert2 = new X509CertImpl( local 376 crl.getRevokedCertificate(cert2)); 501 X509CertImpl cert2 = new X509CertImpl( local 523 crl.isRevoked(cert2));
|
/external/chromium_org/third_party/tlslite/tlslite/ |
X509CertChain.py | 155 for cert1, cert2 in zip(self.x509List, self.x509List[1:]): 163 c2 = cryptlib_py.cryptImportCert(cert2.writeBytes(),
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 247 java.security.cert.Certificate cert2 = keyTest.getCertificate("alias2"); local 249 cert2 != null && cert2.equals(cert[0])); 281 X509Certificate cert2 = (X509Certificate) cf local 283 String aliasNull = keyTest.getCertificateAlias(cert2);
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
CertificateFactoryTest.java | 367 KeyHolder cert2 = generateCertificate(false, cert1); local 368 KeyHolder cert3 = generateCertificate(false, cert2); 372 certs.add(cert2.certificate); 376 duplicatedCerts.add(cert2.certificate);
|
/external/chromium_org/net/cert/ |
x509_certificate_unittest.cc | 475 scoped_refptr<X509Certificate> cert2(X509Certificate::CreateFromHandle( 480 EXPECT_NE(cert1.get(), cert2.get()); 482 EXPECT_EQ(cert1->os_cert_handle(), cert2->os_cert_handle()); 484 EXPECT_EQ(0u, cert2->GetIntermediateCertificates().size()); 673 scoped_refptr<X509Certificate> cert2; local 674 cert2 = X509Certificate::CreateFromHandle(google_handle, intermediates2); 678 cert2->GetIntermediateCertificates(); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 277 Certificate cert2 = keyTest.getCertificate("alias2"); local 279 cert2, cert[0]); 311 X509Certificate cert2 = (X509Certificate) cf.generateCertificate(certArray3); local 312 String aliasNull = keyTest.getCertificateAlias(cert2); [all...] |