Home
last modified time | relevance | path

Searched refs:x509 (Results 1 – 23 of 23) sorted by relevance

/system/core/adb/crypto/
Dx509_generator.cpp59 bssl::UniquePtr<X509> x509(X509_new()); in GenerateX509Certificate() local
60 if (!x509) { in GenerateX509Certificate()
64 X509_set_version(x509.get(), 2); in GenerateX509Certificate()
66 ASN1_INTEGER_set(X509_get_serialNumber(x509.get()), 1); in GenerateX509Certificate()
67 X509_gmtime_adj(X509_get_notBefore(x509.get()), 0); in GenerateX509Certificate()
68 X509_gmtime_adj(X509_get_notAfter(x509.get()), kCertLifetimeSeconds); in GenerateX509Certificate()
70 if (!X509_set_pubkey(x509.get(), pkey)) { in GenerateX509Certificate()
75 X509_NAME* name = X509_get_subject_name(x509.get()); in GenerateX509Certificate()
86 if (!X509_set_issuer_name(x509.get(), name)) { in GenerateX509Certificate()
91 add_ext(x509.get(), NID_basic_constraints, kBasicConstraints); in GenerateX509Certificate()
[all …]
/system/sepolicy/private/
Dkeys.conf12 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem
15 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/media.x509.pem
18 ALL : $MAINLINE_SEPOLICY_DEV_CERTIFICATES/networkstack.x509.pem
21 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem
25 ENG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
26 USER : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
27 USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
/system/sepolicy/prebuilts/api/29.0/private/
Dkeys.conf12 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem
15 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/media.x509.pem
18 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/networkstack.x509.pem
21 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem
25 ENG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
26 USER : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
27 USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
/system/sepolicy/prebuilts/api/30.0/private/
Dkeys.conf12 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem
15 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/media.x509.pem
18 ALL : $MAINLINE_SEPOLICY_DEV_CERTIFICATES/networkstack.x509.pem
21 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem
25 ENG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
26 USER : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
27 USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
/system/sepolicy/prebuilts/api/26.0/private/
Dkeys.conf12 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem
15 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/media.x509.pem
18 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem
22 ENG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
23 USER : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
24 USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
/system/sepolicy/prebuilts/api/28.0/private/
Dkeys.conf12 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem
15 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/media.x509.pem
18 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem
22 ENG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
23 USER : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
24 USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
/system/sepolicy/prebuilts/api/27.0/private/
Dkeys.conf12 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem
15 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/media.x509.pem
18 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem
22 ENG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
23 USER : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
24 USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem
/system/ca-certificates/google/
Dextract_from_pem.py47 def GetFingerprintString(x509): argument
57 return ':'.join(re.findall(r'..', x509.get_fingerprint('sha1').zfill(40)))
77 x509 = M2Crypto.X509.load_cert_string(pem_cert)
78 content = '%s%sSHA1 Fingerprint=%s\n' % (x509.as_pem(),
79 x509.as_text(),
80 GetFingerprintString(x509))
81 base_name = '%08x' % x509.get_subject().as_hash()
/system/apex/shim/build/
DAndroid.bp264 …cmd: "openssl req -x509 -newkey rsa:4096 -nodes -days 999999 -subj '/DN=/EMAILADDRESS=android@andr…
277 name: "com.android.apex.rotation.key.bob.x509.pem",
279 out: ["bob.x509.pem"],
280 …cmd: "openssl req -x509 -key $(in) -newkey rsa:4096 -nodes -days 999999 -subj '/DN=/EMAILADDRESS=a…
288 "alice.x509.pem",
290 ":com.android.apex.rotation.key.bob.x509.pem",
294 …n alice.x509.pem) --new-signer --key $(location :com.android.apex.rotation.key.bob.pk8) --cert $(l…
302 "alice.x509.pem",
304 ":com.android.apex.rotation.key.bob.x509.pem",
308x509.pem) --set-rollback true --new-signer --key $(location :com.android.apex.rotation.key.bob.pk8…
[all …]
/system/update_engine/payload_consumer/
Dcertificate_parser_android.cc97 std::unique_ptr<X509, decltype(&X509_free)> x509( in ReadPublicKeysFromCertificates() local
99 if (!x509) { in ReadPublicKeysFromCertificates()
105 X509_get_pubkey(x509.get()), EVP_PKEY_free); in ReadPublicKeysFromCertificates()
/system/sepolicy/vendor/
Dkeys.conf19 ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem
/system/core/adb/crypto/include/adb/crypto/
Dx509_generator.h28 std::string X509ToPEMString(X509* x509);
/system/ca-certificates/
DREADME.cacerts4 openssl x509 -subject_hash_old -in filename
/system/apex/apexer/testdata/
DAndroid.bp17 // This will use com.android.my.apex.x509.pem (the cert) and
/system/apex/apexer/
DAndroid.bp128 "testdata/com.android.example.apex.x509.pem",
/system/core/adb/client/
Dauth.cpp546 auto x509 = GenerateX509Certificate(evp_pkey.get()); in adb_tls_set_certificate() local
547 auto x509_str = X509ToPEMString(x509.get()); in adb_tls_set_certificate()
/system/apex/tests/
DAndroid.bp106 // will use testcert.pk8 and testcert.x509.pem
/system/sepolicy/
Dmac_permissions.mk23 all_plat_keys := $(all_plat_keys:%=$(dir $(DEFAULT_SYSTEM_DEV_CERTIFICATE))/%.x509.pem)
/system/extras/verity/
DUtils.java56 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
DBootSignature.java44 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
/system/ca-certificates/files/
D7a819ef2.037 Serial Number: 1289 (0x509)
/system/core/adb/
Dtransport.cpp503 auto x509 = GenerateX509Certificate(evp_pkey.get()); in DoTlsHandshake() local
504 auto x509_str = X509ToPEMString(x509.get()); in DoTlsHandshake()
/system/apex/docs/
DREADME.md412 // this will use dir/cert.x509.pem (the cert) and dir/cert.pk8 (the private key)