Searched refs:cert_params (Results 1 – 8 of 8) sorted by relevance
/system/keymaster/km_openssl/ |
D | certificate_utils.cpp | 109 CertificateCallerParams* cert_params, in get_certificate_params() argument 111 if (!cert_params) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_certificate_params() 127 cert_params->serial = move(serial); in get_certificate_params() 129 cert_params->active_date_time = 0; in get_certificate_params() 130 cert_params->expire_date_time = kUndefinedExpirationDateTime; in get_certificate_params() 142 cert_params->active_date_time = static_cast<int64_t>(tmp); in get_certificate_params() 146 cert_params->expire_date_time = static_cast<int64_t>(tmp); in get_certificate_params() 155 cert_params->active_date_time = static_cast<int64_t>(tmp); in get_certificate_params() 161 cert_params->expire_date_time = static_cast<int64_t>(tmp); in get_certificate_params() 165 cert_params->active_date_time, cert_params->expire_date_time); in get_certificate_params() [all …]
|
D | attestation_utils.cpp | 136 const CertificateCallerParams& cert_params, in make_attestation_cert() argument 144 if (auto error = make_cert(evp_pkey, issuer, cert_params, &certificate)) { in make_attestation_cert() 291 CertificateCallerParams cert_params{}; in generate_attestation() local 292 *error = get_certificate_params(attest_params, &cert_params, context.GetKmVersion()); in generate_attestation() 296 cert_params.is_signing_key = proxy.Contains(TAG_PURPOSE, KM_PURPOSE_SIGN); in generate_attestation() 297 cert_params.is_encryption_key = proxy.Contains(TAG_PURPOSE, KM_PURPOSE_DECRYPT); in generate_attestation() 298 cert_params.is_agreement_key = proxy.Contains(TAG_PURPOSE, KM_PURPOSE_AGREE_KEY); in generate_attestation() 314 *error = make_attestation_cert(evp_key, issuer_subject.get(), cert_params, attest_params, in generate_attestation()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | certificate_utils.h | 50 CertificateCallerParams* cert_params, KmVersion kmVersion); 60 const CertificateCallerParams& cert_params, X509_Ptr* cert_out); 63 const CertificateCallerParams& cert_params, X509_Ptr* cert_out);
|
/system/keymaster/include/keymaster/ |
D | keymaster_context.h | 175 const AuthorizationSet& cert_params,
|
/system/keymaster/include/keymaster/contexts/ |
D | soft_keymaster_context.h | 86 const AuthorizationSet& cert_params,
|
D | pure_soft_keymaster_context.h | 79 const AuthorizationSet& cert_params,
|
/system/keymaster/contexts/ |
D | soft_keymaster_context.cpp | 389 const Key& key, const AuthorizationSet& cert_params, bool fake_signature, in GenerateSelfSignedCertificate() argument 406 return generate_self_signed_cert(asymmetric_key, cert_params, fake_signature, error); in GenerateSelfSignedCertificate()
|
D | pure_soft_keymaster_context.cpp | 369 const Key& key, const AuthorizationSet& cert_params, bool fake_signature, in GenerateSelfSignedCertificate() argument 386 return generate_self_signed_cert(asymmetric_key, cert_params, fake_signature, error); in GenerateSelfSignedCertificate()
|