Lines Matching refs:certificate
37 CertificateChain make_cert_chain(X509* certificate, CertificateChain chain, in make_cert_chain() argument
40 *error = encode_certificate(certificate, &blob); in make_cert_chain()
117 X509* certificate) { in add_attestation_extension() argument
124 if (!X509_add_ext(certificate, attest_extension.get() /* Don't release; copied */, in add_attestation_extension()
140 X509_Ptr certificate; in make_attestation_cert() local
141 if (auto error = make_cert(evp_pkey, issuer, cert_params, &certificate)) { in make_attestation_cert()
147 certificate.get())) { in make_attestation_cert()
151 *cert_out = std::move(certificate); in make_attestation_cert()
306 X509_Ptr certificate; in generate_attestation() local
308 tee_enforced, sw_enforced, context, &certificate); in generate_attestation()
319 *error = sign_cert(certificate.get(), signing_key_ptr); in generate_attestation()
322 return make_cert_chain(certificate.get(), std::move(cert_chain), error); in generate_attestation()