Searched refs:X509_Ptr (Results 1 – 5 of 5) sorted by relevance
42 using ::keymaster::X509_Ptr;112 X509_Ptr cert(parseCertBlob(attestation_cert)); in verifyAttestationRecord()163 X509_Ptr key_cert(parseCertBlob(key_cert_blob)); in verifyChain()164 X509_Ptr signing_cert(parseCertBlob(signing_cert_blob)); in verifyChain()
596 using X509_Ptr = unique_ptr<X509, X509_Deleter>; typedef658 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, pEnd - p)); in certificateChainSplit()672 vector<X509_Ptr>& parsedCertificates) { in parseX509Certificates()677 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, pEnd - p)); in parseX509Certificates()694 vector<X509_Ptr> certs; in certificateChainValidate()706 const X509_Ptr& keyCert = certs[n - 1]; in certificateChainValidate()707 const X509_Ptr& signingCert = certs[n]; in certificateChainValidate()1097 auto x509 = X509_Ptr(X509_new()); in ecKeyPairGetPkcs12()1246 auto x509 = X509_Ptr(X509_new()); in ecPublicKeyGenerateCertificate()1438 vector<X509_Ptr> certs; in certificateChainGetTopMostKey()
298 X509_Ptr x509(d2i_X509(nullptr, &p, cert.size())); in MAKE_OPENSSL_PTR_TYPE()
203 X509_Ptr signing_cert(parse_cert_blob(chain[0])); in verify_chain()229 X509_Ptr key_cert(parse_cert_blob(chain[i])); in verify_chain()230 X509_Ptr signing_cert; in verify_chain()324 X509_Ptr cert(parse_cert_blob(attestation_cert)); in verify_attestation_record()
297 X509_Ptr key_cert(parse_cert_blob(chain[i])); in verify_chain()298 X509_Ptr signing_cert; in verify_chain()943 X509_Ptr cert(parse_cert_blob(attestation_cert)); in verify_attestation_record()