Lines Matching refs:cert
1688 void verify_serial(X509* cert, const uint64_t expected_serial) { in verify_serial() argument
1690 EXPECT_TRUE(ASN1_INTEGER_to_BN(X509_get_serialNumber(cert), ser.get())); in verify_serial()
1699 void verify_subject(const X509* cert, // in verify_subject() argument
1703 X509_NAME_oneline(X509_get_issuer_name(cert), nullptr, 0); in verify_subject()
1705 char* cert_subj = X509_NAME_oneline(X509_get_subject_name(cert), nullptr, 0); in verify_subject()
1779 X509_Ptr cert(parse_cert_blob(certificate.encodedCertificate)); in verify_subject_and_serial() local
1780 ASSERT_TRUE(!!cert.get()); in verify_subject_and_serial()
1782 verify_serial(cert.get(), expected_serial); in verify_subject_and_serial()
1783 verify_subject(cert.get(), subject, self_signed); in verify_subject_and_serial()
1854 X509_Ptr cert(parse_cert_blob(attestation_cert)); in verify_attestation_record() local
1855 EXPECT_TRUE(!!cert.get()); in verify_attestation_record()
1856 if (!cert.get()) return false; in verify_attestation_record()
1860 check_crl_distribution_points_extension_not_present(cert.get()); in verify_attestation_record()
1862 ASN1_OCTET_STRING* attest_rec = get_attestation_record(cert.get()); in verify_attestation_record()