Home | History | Annotate | Download | only in base

Lines Matching refs:cert2

633   scoped_refptr<X509Certificate> cert2(X509Certificate::CreateFromHandle(
638 EXPECT_EQ(cert1, cert2);
776 scoped_refptr<X509Certificate> cert2;
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(
798 // The cache should have returned cert2 'cause it has more intermediates:
799 EXPECT_EQ(cert3, cert2);