Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 25 of 32) sorted by relevance

12

/system/extras/verity/
DVeritySigner.java45 X509Certificate cert = Utils.loadPEMCertificate(args[1]); in main() local
Dgenerate_verity_key.c67 X509 *cert = NULL; in convert_x509() local
DBootSignature.java159 public void setCertificate(X509Certificate cert) in setCertificate()
272 X509Certificate cert = Utils.loadPEMCertificate(certPath); in doSignature() local
/system/security/ondevice-signing/
DCertUtils.cpp51 bssl::UniquePtr<X509> cert(rawCert); in loadX509() local
57 static bool add_ext(X509V3_CTX* context, X509* cert, int nid, const char* value) { in add_ext()
230 auto cert = loadX509(path); in extractPublicKeyFromX509() local
DKeystoreKey.cpp123 auto cert = metadata.certificate; in createKey() local
221 auto cert = keyEntryResponse.metadata.certificate; in verifyExistingKey() local
/system/update_engine/payload_consumer/
Dcertificate_parser_android.cc93 for (const auto& cert : pem_certs) { in ReadPublicKeysFromCertificates() local
/system/security/keystore2/src/
Dattestation_key_utils.rs119 let cert = key_entry in load_attest_key_blob_and_cert() localVariable
/system/hardware/interfaces/wifi/keystore/1.0/default/test/
DWifiLegacyKeystoreIntegrationTest.cpp455 auto cert = extractPubKey(kDerTestCert); in TEST() local
461 auto cert = extractPubKey(TESTBLOB); in TEST() local
/system/security/keystore2/src/crypto/tests/
Dcertificate_utils_test.cpp179 auto& cert = std::get<X509_Ptr>(certV); in TEST_P() local
278 auto& cert = std::get<X509_Ptr>(certV); in TEST_P() local
/system/keymaster/km_openssl/
Dcertificate_utils.cpp48 keymaster_error_t fake_sign_cert(X509* cert) { in fake_sign_cert()
365 X509_Ptr cert; in generate_self_signed_cert() local
Dopenssl_utils.cpp165 X509_Ptr cert(d2i_X509(NULL, &temp, km_cert->data_length)); in GetEcdsa256KeyFromCert() local
/system/security/keystore2/test_utils/
Dffi_test_utils.cpp201 int& index, certificate_t& cert) { in extractCertFromCertChainBuffer()
260 certificate_t cert; in getCertificateChain() local
623 X509_Ptr cert(parseCertBlob(cert_bytes)); in getValueFromAttestRecord() local
/system/security/keystore2/tests/
Dkeystore2_client_key_agreement_tests.rs50 let cert = X509::from_der(cert_bytes.as_ref()).unwrap(); in get_keymint_public_key() localVariable
Dkeystore2_client_test_utils.rs286 let cert = X509::from_der(cert_bytes.as_ref()).unwrap(); in perform_sample_asym_sign_verify_op() localVariable
596 let cert = X509::from_der(cert_bytes).unwrap(); in verify_certificate_subject_name() localVariable
603 let cert = X509::from_der(cert_bytes).unwrap(); in verify_certificate_serial_num() localVariable
Dkeystore2_client_keystore_engine_tests.rs282 let cert = X509::from_der(cert_bytes.as_ref()).unwrap(); in keystore2_perofrm_crypto_op_using_keystore2_engine_pem_pub_key_success() localVariable
Dkeystore2_client_import_keys_tests.rs126 let cert = X509::from_der(cert_bytes.as_ref()).unwrap(); in build_secure_key_wrapper() localVariable
/system/security/keystore2/src/crypto/
Dcertificate_utils.cpp78 std::variant<CertUtilsError, std::vector<uint8_t>> makeKeyId(const X509* cert) { in makeKeyId()
364 CertUtilsError setIssuer(X509* cert, const X509* signingCert, bool addAuthKeyExt) { in setIssuer()
/system/security/keystore2/src/km_compat/
Dkm_compat.cpp500 auto cert = getCertificate(inKeyParams, out_creationResult->keyBlob); in generateKey() local
559 auto cert = getCertificate(inKeyParams, out_creationResult->keyBlob); in importKey() local
607 auto cert = getCertificate(params, out_creationResult->keyBlob, true /* isWrappedKey */); in importWrappedKey() local
1198 const std::vector<uint8_t>& prefixedKeyBlob, X509* cert) { in signCertificate()
1294 for (const auto& cert : certChain) { in getCertificate() local
1315 auto cert = std::move(std::get<keystore::X509_Ptr>(certOrError)); in getCertificate() local
/system/security/identity/
DWritableCredential.cpp76 for (const auto& cert : certificateChain) { in ensureAttestationCertificateExists() local
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp80 auto cert = in convertDerCertToPemOrPassthrough() local
/system/security/keystore2/tests/legacy_blobs/
Dkeystore2_legacy_blob_tests.rs63 cert: Vec<u8>, field
/system/core/trusty/keymaster/keymint/
DTrustyKeyMintDevice.cpp74 Certificate convertCertificate(const keymaster_blob_t& cert) { in convertCertificate()
/system/keymaster/ng/
DAndroidKeyMintDevice.cpp190 Certificate convertCertificate(const keymaster_blob_t& cert) { in convertCertificate()
/system/security/identity/util/src/java/com/android/security/identity/internal/
DUtil.java463 X509Certificate cert = certificateChain.iterator().next(); in coseSign1Sign() local
1306 public static byte[] getPopSha256FromAuthKeyCert(X509Certificate cert) { in getPopSha256FromAuthKeyCert()
/system/security/keystore/
Dkeystore_cli_v2.cpp820 if (auto cert = keyEntryResponse.metadata.certificate) { in ExportKey() local
921 if (auto cert = keyEntryResponse.metadata.certificate) { in SignAndVerify() local

12