Home
last modified time | relevance | path

Searched refs:x509 (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp590 void operator()(X509* x509) const { in operator ()()
591 if (x509 != nullptr) { in operator ()()
592 X509_free(x509); in operator ()()
658 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, pEnd - p)); in certificateChainSplit() local
660 if (x509 == nullptr) { in certificateChainSplit()
677 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, pEnd - p)); in parseX509Certificates() local
678 if (x509 == nullptr) { in parseX509Certificates()
682 parsedCertificates.push_back(std::move(x509)); in parseX509Certificates()
1097 auto x509 = X509_Ptr(X509_new()); in ecKeyPairGetPkcs12() local
1098 if (!x509.get()) { in ecKeyPairGetPkcs12()
[all …]
/hardware/interfaces/keymaster/4.1/support/
Dattestation_record.cpp298 X509_Ptr x509(d2i_X509(nullptr, &p, cert.size())); in MAKE_OPENSSL_PTR_TYPE() local
306 int location = X509_get_ext_by_OBJ(x509.get(), oid.get(), -1 /* search from beginning */); in MAKE_OPENSSL_PTR_TYPE()
312 X509_EXTENSION* attest_rec_ext = X509_get_ext(x509.get(), location); in MAKE_OPENSSL_PTR_TYPE()