/system/keymaster/km_openssl/ |
D | certificate_utils.cpp | 246 X509_Ptr certificate(X509_new()); in make_cert_rump() local 247 if (!certificate.get()) return TranslateLastOpenSslError(); in make_cert_rump() 250 if (!X509_set_version(certificate.get(), 2 /* version 3 */)) return TranslateLastOpenSslError(); in make_cert_rump() 256 !X509_set_serialNumber(certificate.get(), in make_cert_rump() 261 if (!X509_set_subject_name(certificate.get(), in make_cert_rump() 266 if (!X509_set_issuer_name(certificate.get(), const_cast<X509_NAME*>(issuer))) { in make_cert_rump() 275 !X509_set_notBefore(certificate.get(), notBefore.get() /* Don't release; copied */)) { in make_cert_rump() 285 !X509_set_notAfter(certificate.get(), notAfter.get() /* Don't release; copied */)) { in make_cert_rump() 289 *cert_out = std::move(certificate); in make_cert_rump() 297 X509_Ptr certificate; in make_cert() local [all …]
|
D | attestation_utils.cpp | 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() [all …]
|
/system/apex/apexer/testdata/ |
D | Android.bp | 20 name: "com.android.example.apex.certificate", 23 certificate: "com.android.example.apex", 38 certificate: ":com.android.example.apex.certificate", 50 certificate: ":com.android.example.apex.certificate", 62 certificate: ":com.android.example.apex.certificate", 74 certificate: ":com.android.example.apex.certificate",
|
/system/security/keystore2/src/crypto/ |
D | certificate_utils.cpp | 223 X509_Ptr certificate(X509_new()); in makeCertRump() local 224 if (!certificate) { in makeCertRump() 229 if (!X509_set_version(certificate.get(), 2 /* version 3, but zero-based */)) { in makeCertRump() 250 !X509_set_serialNumber(certificate.get(), serialNumber.get() /* Don't release; copied */)) in makeCertRump() 256 if (!X509_set_subject_name(certificate.get(), x509_subject->get() /* copied */)) { in makeCertRump() 270 !X509_set_notBefore(certificate.get(), notBefore.get() /* Don't release; copied */)) in makeCertRump() 281 !X509_set_notAfter(certificate.get(), notAfter.get() /* Don't release; copied */)) { in makeCertRump() 285 return certificate; in makeCertRump() 302 auto certificate = std::move(std::get<X509_Ptr>(certificateV)); in makeCert() local 305 if (!X509_set_pubkey(certificate.get(), const_cast<EVP_PKEY*>(evp_pkey))) { in makeCert() [all …]
|
/system/security/keystore2/tests/ |
D | keystore2_client_attest_key_tests.rs | 53 cert_chain.extend(attestation_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_rsa_signing_key_success() 78 cert_chain.extend(sign_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_rsa_signing_key_success() 79 cert_chain.extend(attestation_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_rsa_signing_key_success() 101 cert_chain.extend(attestation_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_rsa_encrypt_key_success() 126 cert_chain.extend(decrypt_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_rsa_encrypt_key_success() 127 cert_chain.extend(attestation_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_rsa_encrypt_key_success() 150 cert_chain.extend(attestation_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_ec_key_success() 165 cert_chain.extend(ec_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_ec_key_success() 166 cert_chain.extend(attestation_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_ec_key_success() 194 cert_chain.extend(attestation_key_metadata.certificate.as_ref().unwrap()); in keystore2_attest_rsa_signing_key_with_ec_25519_key_success() [all …]
|
D | keystore2_client_key_id_domain_tests.rs | 82 assert_eq!(key_metadata.certificate, key_entry_response.metadata.certificate); in keystore2_find_key_with_key_id_as_domain() 140 assert_ne!(key_metadata.certificate, new_key_metadata.certificate); in keystore2_key_id_alias_rebind_verify_by_alias() 206 assert_eq!(key_metadata.certificate, key_entry_response.metadata.certificate); in keystore2_key_id_alias_rebind_verify_by_key_id() 225 assert_ne!(key_metadata.certificate, new_key_metadata.certificate); in keystore2_key_id_alias_rebind_verify_by_key_id()
|
/system/timezone/apex/ |
D | Android.bp | 35 certificate: ":com.android.tzdata.certificate", 50 name: "com.android.tzdata.certificate", 51 certificate: "com.android.tzdata",
|
/system/apex/tests/testdata/maxsdk/com.android.apex.maxsdk.test/ |
D | Android.bp | 26 name: "com.android.apex.maxsdk.test.certificate", 27 certificate: "com.android.apex.maxsdk.test", 35 certificate: ":com.android.apex.maxsdk.test.certificate",
|
/system/security/keystore2/src/crypto/include/ |
D | certificate_utils.h | 121 CertUtilsError signCert(X509* certificate, EVP_PKEY* signing_key); 169 CertUtilsError signCertWith(X509* certificate, 179 std::variant<CertUtilsError, std::vector<uint8_t>> encodeCert(X509* certificate);
|
/system/security/diced/open_dice/src/ |
D | ops.rs | 125 certificate: &mut [u8], 136 certificate.len(), 137 certificate.as_mut_ptr(),
|
D | retry.rs | 152 retry_with_bigger_buffer(|certificate| { 157 certificate,
|
/system/keymaster/include/keymaster/km_openssl/ |
D | certificate_utils.h | 66 keymaster_error_t sign_cert(X509* certificate, const EVP_PKEY* signing_key); 75 keymaster_error_t encode_certificate(X509* certificate, keymaster_blob_t* derCert);
|
/system/update_engine/ |
D | certificate_checker.cc | 42 X509* certificate = X509_STORE_CTX_get_current_cert(x509_ctx); in GetCertificateDigest() local 43 TEST_AND_RETURN_FALSE(certificate); in GetCertificateDigest() 50 bool success = X509_digest(certificate, digest_function, out_digest, &len); in GetCertificateDigest()
|
/system/apex/tests/testdata/vendorapex/ |
D | Android.bp | 26 name: "com.android.apex.vendor.foo.certificate", 27 certificate: "com.android.apex.vendor.foo", 35 certificate: ":com.android.apex.vendor.foo.certificate",
|
/system/extras/verity/ |
D | BootSignature.java | 67 private ASN1Encodable certificate; field in BootSignature 112 certificate = sequence.getObjectAt(1); in BootSignature() 113 byte[] encoded = ((ASN1Object) certificate).getEncoded(); in BootSignature() 162 certificate = s.readObject(); in setCertificate() 193 v.add(certificate); in toASN1Primitive()
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/ |
D | KeyMetadata.aidl | 41 @nullable byte[] certificate;
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/ |
D | KeyMetadata.aidl | 41 @nullable byte[] certificate;
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/2/android/system/keystore2/ |
D | KeyMetadata.aidl | 41 @nullable byte[] certificate;
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/3/android/system/keystore2/ |
D | KeyMetadata.aidl | 41 @nullable byte[] certificate;
|
/system/security/keystore2/tests/legacy_blobs/ |
D | keystore2_legacy_blob_tests.rs | 213 make_cert_blob_file(path_buf.as_path(), key_metadata.certificate.as_ref().unwrap()) in keystore2_encrypted_characteristics() 254 cert: key_metadata.certificate.unwrap(), in keystore2_encrypted_characteristics() 280 key_entry_response.metadata.certificate.unwrap(), in keystore2_encrypted_characteristics() 472 key_metadata.certificate.as_ref().unwrap(), in keystore2_encrypted_certificates() 515 cert: key_metadata.certificate.unwrap(), in keystore2_encrypted_certificates() 541 key_entry_response.metadata.certificate.unwrap(), in keystore2_encrypted_certificates()
|
/system/apex/tests/testdata/apkinapex/com.android.apex.system.test/ |
D | Android.bp | 26 name: "com.android.apex.system.test.certificate", 27 certificate: "com.android.apex.system.test",
|
/system/apex/tests/testdata/apkinapex/com.android.apex.product.test/ |
D | Android.bp | 26 name: "com.android.apex.product.test.certificate", 27 certificate: "com.android.apex.product.test",
|
/system/apex/tests/testdata/apkinapex/com.android.apex.system_ext.test/ |
D | Android.bp | 26 name: "com.android.apex.system_ext.test.certificate", 27 certificate: "com.android.apex.system_ext.test",
|
/system/apex/tests/testdata/apkinapex/com.android.apex.vendor.test/ |
D | Android.bp | 26 name: "com.android.apex.vendor.test.certificate", 27 certificate: "com.android.apex.vendor.test",
|
/system/hardware/interfaces/keystore2/aidl/android/system/keystore2/ |
D | KeyMetadata.aidl | 53 @nullable byte[] certificate;
|