Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dcertificate_utils.cpp231 X509_EXTENSION_Ptr key_usage_extension(X509_EXTENSION_create_by_NID(nullptr, // in make_key_usage_extension() local
235 if (!key_usage_extension.get()) { in make_key_usage_extension()
239 *usage_extension_out = move(key_usage_extension); in make_key_usage_extension()
315 X509_EXTENSION_Ptr key_usage_extension; in make_cert() local
318 cert_params.is_agreement_key, &key_usage_extension)) { in make_cert()
321 if (!X509_add_ext(certificate.get(), key_usage_extension.get() /* Don't release; copied */, in make_cert()
/system/security/keystore2/src/crypto/
Dcertificate_utils.cpp315 auto key_usage_extension = std::move(std::get<ASN1_BIT_STRING_Ptr>(key_usage_extensionV)); in makeCert() local
317 key_usage_extension.get() /* Don't release; copied */, in makeCert()