• Home
  • Raw
  • Download

Lines Matching refs:verify_result

230   CertVerifyResult verify_result;  in CheckGoogleCert()  local
233 EXPECT_EQ(OK, google_cert->Verify("www.google.com", flags, &verify_result)); in CheckGoogleCert()
234 EXPECT_EQ(0, verify_result.cert_status & CERT_STATUS_IS_EV); in CheckGoogleCert()
298 CertVerifyResult verify_result; in TEST() local
299 EXPECT_EQ(OK, webkit_cert->Verify("webkit.org", flags, &verify_result)); in TEST()
300 EXPECT_EQ(0, verify_result.cert_status & CERT_STATUS_IS_EV); in TEST()
360 CertVerifyResult verify_result; in TEST() local
362 EXPECT_EQ(OK, thawte_cert->Verify("www.thawte.com", flags, &verify_result)); in TEST()
363 EXPECT_NE(0, verify_result.cert_status & CERT_STATUS_IS_EV); in TEST()
367 EXPECT_EQ(OK, thawte_cert->Verify("www.thawte.com", flags, &verify_result)); in TEST()
368 EXPECT_EQ(0, verify_result.cert_status & CERT_STATUS_IS_EV); in TEST()
386 CertVerifyResult verify_result; in TEST() local
388 &verify_result); in TEST()
400 EXPECT_NE(0, verify_result.cert_status & in TEST()
420 CertVerifyResult verify_result; in TEST() local
422 &verify_result); in TEST()
424 EXPECT_NE(0, verify_result.cert_status & CERT_STATUS_AUTHORITY_INVALID); in TEST()
482 CertVerifyResult verify_result; in TEST() local
483 int error = cert_chain->Verify("www.us.army.mil", flags, &verify_result); in TEST()
485 EXPECT_EQ(0, verify_result.cert_status); in TEST()
509 CertVerifyResult verify_result; in TEST() local
512 int error = cert_chain->Verify("www.nist.gov", flags, &verify_result); in TEST()
514 EXPECT_EQ(0, verify_result.cert_status); in TEST()
515 EXPECT_TRUE(verify_result.is_issued_by_known_root); in TEST()
566 CertVerifyResult verify_result; in TEST() local
568 int error = cert_chain->Verify("www.nist.gov", flags, &verify_result); in TEST()
570 EXPECT_EQ(0, verify_result.cert_status); in TEST()
571 ASSERT_LE(2u, verify_result.public_key_hashes.size()); in TEST()
573 HexEncode(verify_result.public_key_hashes[0].data, SHA1_LENGTH)); in TEST()
575 HexEncode(verify_result.public_key_hashes[1].data, SHA1_LENGTH)); in TEST()
591 CertVerifyResult verify_result; in TEST() local
592 int error = server_cert->Verify("jira.aquameta.com", flags, &verify_result); in TEST()
600 EXPECT_NE(0, verify_result.cert_status & CERT_STATUS_INVALID); in TEST()
606 EXPECT_NE(0, verify_result.cert_status & CERT_STATUS_AUTHORITY_INVALID); in TEST()