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()
597 using X509_Ptr = unique_ptr<X509, X509_Deleter>; typedef659 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, pEnd - p)); in certificateChainSplit()673 vector<X509_Ptr>& parsedCertificates) { in parseX509Certificates()678 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, pEnd - p)); in parseX509Certificates()691 auto x509 = X509_Ptr(d2i_X509(nullptr, &p, certificate.size())); in certificateSignedByPublicKey()737 vector<X509_Ptr> certs; in certificateChainValidate()749 const X509_Ptr& keyCert = certs[n - 1]; in certificateChainValidate()750 const X509_Ptr& signingCert = certs[n]; in certificateChainValidate()1189 auto x509 = X509_Ptr(X509_new()); in ecKeyPairGetPkcs12()1338 auto x509 = X509_Ptr(X509_new()); in ecPublicKeyGenerateCertificate()[all …]
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()