Searched refs:key_cert (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/identity/aidl/vts/ |
D | VtsAttestationParserSupport.cpp | 163 X509_Ptr key_cert(parseCertBlob(key_cert_blob)); in verifyChain() local 165 if (!key_cert.get() || !signing_cert.get()) { in verifyChain() 172 if (X509_verify(key_cert.get(), signing_pubkey.get()) != 1) { in verifyChain()
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 297 X509_Ptr key_cert(parse_cert_blob(chain[i])); in verify_chain() local 304 EXPECT_TRUE(!!key_cert.get() && !!signing_cert.get()); in verify_chain() 305 if (!key_cert.get() || !signing_cert.get()) return false; in verify_chain() 311 EXPECT_EQ(1, X509_verify(key_cert.get(), signing_pubkey.get())) in verify_chain() 315 X509_NAME_oneline(X509_get_issuer_name(key_cert.get()), nullptr, 0); in verify_chain() 321 char* cert_sub = X509_NAME_oneline(X509_get_subject_name(key_cert.get()), nullptr, 0); in verify_chain()
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 229 X509_Ptr key_cert(parse_cert_blob(chain[i])); in verify_chain() local 236 EXPECT_TRUE(!!key_cert.get() && !!signing_cert.get()); in verify_chain() 237 if (!key_cert.get() || !signing_cert.get()) return false; in verify_chain() 243 EXPECT_EQ(1, X509_verify(key_cert.get(), signing_pubkey.get())) in verify_chain() 248 X509_NAME_oneline(X509_get_issuer_name(key_cert.get()), nullptr, 0); in verify_chain() 253 char* cert_sub = X509_NAME_oneline(X509_get_subject_name(key_cert.get()), nullptr, 0); in verify_chain()
|