Searched refs:x509 (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/identity/support/src/ |
D | IdentityCredentialSupport.cpp | 615 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, pEnd - p)); in certificateChainSplit() local 617 if (x509 == nullptr) { in certificateChainSplit() 634 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, pEnd - p)); in parseX509Certificates() local 635 if (x509 == nullptr) { in parseX509Certificates() 639 parsedCertificates.push_back(std::move(x509)); in parseX509Certificates() 647 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, certificate.size())); in certificateSignedByPublicKey() local 648 if (x509 == nullptr) { in certificateSignedByPublicKey() 679 if (X509_verify(x509.get(), pkey.get()) != 1) { in certificateSignedByPublicKey() 1090 auto x509 = X509_Ptr(X509_new()); in ecKeyPairGetPkcs12() local 1091 if (!x509.get()) { in ecKeyPairGetPkcs12() [all …]
|
/hardware/interfaces/keymaster/4.1/support/ |
D | attestation_record.cpp | 334 X509_Ptr x509(d2i_X509(nullptr, &p, cert.size())); in MAKE_OPENSSL_PTR_TYPE() local 335 if (!x509.get()) { in MAKE_OPENSSL_PTR_TYPE() 346 int location = X509_get_ext_by_OBJ(x509.get(), oid.get(), -1 /* search from beginning */); in MAKE_OPENSSL_PTR_TYPE() 352 X509_EXTENSION* attest_rec_ext = X509_get_ext(x509.get(), location); in MAKE_OPENSSL_PTR_TYPE()
|