Lines Matching refs:cert_db_
115 slot_ = cert_db_.GetPublicModule();
130 CertDatabase cert_db_;
146 cert_db_.ListCerts(&certs);
156 cert_db_.ImportFromPKCS12(slot_,
167 EXPECT_EQ(OK, cert_db_.ImportFromPKCS12(slot_,
180 EXPECT_EQ(1, cert_db_.ExportToPKCS12(cert_list, ASCIIToUTF16("exportpw"),
197 EXPECT_TRUE(cert_db_.ImportCACerts(certs, CertDatabase::TRUSTED_SSL,
208 cert_db_.GetCertTrust(cert.get(), CA_CERT));
229 EXPECT_TRUE(cert_db_.ImportCACerts(certs, CertDatabase::TRUSTED_EMAIL,
240 cert_db_.GetCertTrust(cert.get(), CA_CERT));
260 EXPECT_TRUE(cert_db_.ImportCACerts(certs, CertDatabase::TRUSTED_OBJ_SIGN,
271 cert_db_.GetCertTrust(cert.get(), CA_CERT));
291 EXPECT_TRUE(cert_db_.ImportCACerts(certs, CertDatabase::TRUSTED_SSL,
315 EXPECT_TRUE(cert_db_.ImportCACerts(
335 EXPECT_TRUE(cert_db_.ImportCACerts(
350 EXPECT_TRUE(cert_db_.ImportCACerts(
373 EXPECT_TRUE(cert_db_.ImportCACerts(certs, CertDatabase::UNTRUSTED, &failed));
394 EXPECT_TRUE(cert_db_.ImportCACerts(
418 EXPECT_TRUE(cert_db_.ImportCACerts(
446 EXPECT_TRUE(cert_db_.ImportServerCert(certs, &failed));
458 cert_db_.GetCertTrust(goog_cert.get(), SERVER_CERT));
474 EXPECT_TRUE(cert_db_.ImportServerCert(certs, &failed));
483 cert_db_.GetCertTrust(puny_cert.get(), SERVER_CERT));
495 EXPECT_TRUE(cert_db_.SetCertTrust(