Home
last modified time | relevance | path

Searched refs:pem (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/external/tpm2-tss/script/ekca/
Dcreate_ca.sh11 ROOTCRTPEM=$6.pem
37 openssl req -new -out root-ca.req.pem -passout file:pass.txt
43 -in root-ca.req.pem \
44 -out root-ca.cert.pem \
50 openssl x509 -outform der -in root-ca.cert.pem -out root-ca.cert.crt
52 openssl verify -verbose -CAfile root-ca.cert.pem \
53 root-ca.cert.pem
55 openssl ca -gencrl -cert root-ca.cert.pem \
56 -out root-ca.cert.crl.pem -passin file:pass.txt
57 openssl crl -in root-ca.cert.crl.pem -outform DER -out root-ca.cert.crl
[all …]
/external/avb/test/
Davb_atx_generate_test_data54 if [ ! -f testkey_atx_prk.pem ]; then
56 -out testkey_atx_prk.pem
58 if [ ! -f testkey_atx_pik.pem ]; then
60 -out testkey_atx_pik.pem
62 if [ ! -f testkey_atx_psk.pem ]; then
64 -out testkey_atx_psk.pem
66 if [ ! -f testkey_atx_puk.pem ]; then
68 -out testkey_atx_puk.pem
73 --product_id=atx_product_id.bin --root_authority_key=testkey_atx_prk.pem
78 --subject=${TMP_FILE} --subject_key=testkey_atx_pik.pem \
[all …]
/external/python/cryptography/docs/development/
Dtest-vectors.rst43 * GnuTLS: `enc-rsa-pkcs8.pem`_, `enc2-rsa-pkcs8.pem`_,
44 `unenc-rsa-pkcs8.pem`_, `pkcs12_s2k_pem.c`_. The encoding error in
45 `unenc-rsa-pkcs8.pem`_ was fixed, and the contents of `enc-rsa-pkcs8.pem`_
46 was re-encrypted to include it. The contents of `enc2-rsa-pkcs8.pem`_
49 * `asymmetric/public/PKCS1/dsa.pub.pem`_ is a PKCS1 DSA public key from the
65 * ``asymmetric/PEM_Serialization/ec_private_key.pem`` and
68 * ``asymmetric/PEM_Serialization/ec_private_key_encrypted.pem`` and
70 same Elliptic Curve key as ``ec_private_key.pem``, except that it is
72 * ``asymmetric/PEM_Serialization/ec_public_key.pem`` and
74 corresponding to ``ec_private_key.pem``, generated using OpenSSL.
[all …]
/external/boringssl/src/
Dsources.cmake64 crypto/x509/test/basic_constraints_ca.pem
65 crypto/x509/test/basic_constraints_ca_pathlen_0.pem
66 crypto/x509/test/basic_constraints_ca_pathlen_1.pem
67 crypto/x509/test/basic_constraints_ca_pathlen_10.pem
68 crypto/x509/test/basic_constraints_leaf.pem
69 crypto/x509/test/basic_constraints_none.pem
70 crypto/x509/test/invalid_extension_intermediate.pem
71 crypto/x509/test/invalid_extension_intermediate_authority_key_identifier.pem
72 crypto/x509/test/invalid_extension_intermediate_basic_constraints.pem
73 crypto/x509/test/invalid_extension_intermediate_ext_key_usage.pem
[all …]
/external/wpa_supplicant_8/hs20/server/ca/
Dsetup.sh101 if [ -e rootCA/private/cakey.pem ]; then
105 …f.tmp -batch -new -newkey rsa:4096 -keyout rootCA/private/cakey.pem -out rootCA/careq.pem || fail …
107pem -days 10957 -batch -keyfile rootCA/private/cakey.pem -passin pass:$PASS -selfsign -extensions …
108 …$OPENSSL x509 -in rootCA/cacert.pem -out rootCA/cacert.der -outform DER || fail "Failed to create …
122 if [ -e demoCA/private/cakey.pem ]; then
126 …f.tmp -batch -new -newkey rsa:2048 -keyout demoCA/private/cakey.pem -out demoCA/careq.pem || fail …
128 …cert.pem -days 3652 -batch -keyfile rootCA/private/cakey.pem -cert rootCA/cacert.pem -passin pass:…
130 openssl rsa -in demoCA/private/cakey.pem -out demoCA/private/cakey-plain.pem -passin pass:$PASS
131 …$OPENSSL x509 -in demoCA/cacert.pem -out demoCA/cacert.der -outform DER || fail "Failed to create …
144 …tmp -batch -md sha256 -keyfile demoCA/private/cakey.pem -passin pass:$PASS -in ocsp.csr -out ocsp.
[all …]
Docsp-req.sh3 for i in *.pem; do
5 …openssl ocsp -text -CAfile ca.pem -verify_other demoCA/cacert.pem -trust_other -issuer demoCA/cace…
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/PEM_Serialization/
DREADME.txt5 1. ec_private_key.pem - Contains an Elliptic Curve key generated using OpenSSL, from the curve secp…
6 2. ec_private_key_encrypted.pem - Contains the same Elliptic Curve key as ec_private_key.pem, excep…
8 3. ec_public_key.pem - Contains the public key corresponding to ec_private_key.pem, generated using…
9 4. rsa_private_key.pem - Contains an RSA 2048 bit key generated using OpenSSL, protected by the sec…
11 5. rsa_public_key.pem - Contains an RSA 2048 bit public generated using OpenSSL from rsa_private_ke…
12 6. dsaparam.pem - Contains 2048-bit DSA parameters generated using OpenSSL; contains no keys.
13 7. dsa_private_key.pem - Contains a DSA 2048 bit key generated using OpenSSL from the parameters in
14 dsaparam.pem, protected by the secret "123456" with DES3 encryption.
15 8. dsa_public_key.pem - Contains a DSA 2048 bit key generated using OpenSSL from dsa_private_key.pe…
/external/rust/crates/quiche/deps/boringssl/src/
Dsources.cmake60 crypto/x509/test/invalid_extension_intermediate.pem
61 crypto/x509/test/invalid_extension_intermediate_authority_key_identifier.pem
62 crypto/x509/test/invalid_extension_intermediate_basic_constraints.pem
63 crypto/x509/test/invalid_extension_intermediate_ext_key_usage.pem
64 crypto/x509/test/invalid_extension_intermediate_key_usage.pem
65 crypto/x509/test/invalid_extension_intermediate_name_constraints.pem
66 crypto/x509/test/invalid_extension_intermediate_subject_alt_name.pem
67 crypto/x509/test/invalid_extension_intermediate_subject_key_identifier.pem
68 crypto/x509/test/invalid_extension_leaf.pem
69 crypto/x509/test/invalid_extension_leaf_authority_key_identifier.pem
[all …]
/external/curl/tests/certs/
DMakefile.am45 Server-localhost-sv.pem \
47 Server-localhost-sv.pub.pem \
54 Server-localhost.nn-sv.pem \
56 Server-localhost.nn-sv.pub.pem \
63 Server-localhost0h-sv.pem \
65 Server-localhost0h-sv.pub.pem \
72 Server-localhost-firstSAN-sv.pem \
74 Server-localhost-firstSAN-sv.pub.pem \
81 Server-localhost-lastSAN-sv.pem \
83 Server-localhost-lastSAN-sv.pub.pem
[all …]
/external/conscrypt/openjdk/src/test/resources/
DREADME2 - ca-cert.pem: Root CA certificate
4 - ct-server-key-public.pem: Public Key of a test Certificate Transparency log
6 - cert.pem / cert-key.pem: Certificate issued by ca-cert.pem, and its private key
8 - cert-ct-poisoned.pem: Same certificate as cert.pem, but with an extra CT Poison extension
10 - cert-ct-embedded.pem: Same certificate as cert.pem, but with an embedded signed certificate
14 cert.pem signed by the test CT log
20 for cert.pem, but signed by a different log
22 - ocsp-response.der: OCSP response for cert.pem, containing an SCT for cert.pem signed by the test
/external/python/httplib2/script/
Dgenerate-tls25 for f in *.pem ; do
38 …sl req -batch -new -nodes -x509 -days $days -subj "$subj_prefix/CN=$org-CA" -key ca.key -out ca.pem
39 …-new -nodes -x509 -days $days -subj "$subj_prefix/CN=$org-CA-unused" -key ca.key -out ca_unused.pem
43 …openssl x509 -req -in tmp.csr -CA ca.pem -CAkey ca.key -CAcreateserial -out client.crt -days $days…
44 cat client.crt client.key >client.pem
45 cat client.crt ca.pem client.key >client_chain.pem
49 …openssl x509 -req -in tmp.csr -CA ca.pem -CAkey ca.key -CAcreateserial -out client_encrypted.crt -…
50 cat client_encrypted.crt client_encrypted.key >client_encrypted.pem
54 …openssl x509 -req -in tmp.csr -CA ca.pem -CAkey ca.key -CAcreateserial -out server.crt -days $days…
55 cat server.crt server.key >server.pem
[all …]
/external/openscreen/third_party/boringssl/
DBUILD.generated_tests.gni74 "src/crypto/pem/pem_test.cc",
153 "src/crypto/x509/test/basic_constraints_ca.pem",
154 "src/crypto/x509/test/basic_constraints_ca_pathlen_0.pem",
155 "src/crypto/x509/test/basic_constraints_ca_pathlen_1.pem",
156 "src/crypto/x509/test/basic_constraints_ca_pathlen_10.pem",
157 "src/crypto/x509/test/basic_constraints_leaf.pem",
158 "src/crypto/x509/test/basic_constraints_none.pem",
159 "src/crypto/x509/test/invalid_extension_intermediate.pem",
160 "src/crypto/x509/test/invalid_extension_intermediate_authority_key_identifier.pem",
161 "src/crypto/x509/test/invalid_extension_intermediate_basic_constraints.pem",
[all …]
/external/grpc-grpc-java/testing/src/main/resources/certs/
DREADME9 $ openssl req -x509 -newkey rsa:1024 -keyout badserver.key -out badserver.pem \
22 $ openssl req -x509 -new -newkey rsa:1024 -nodes -out ca.pem -config ca-openssl.cnf -days 3650 -ext…
36 $ openssl ca -in client.csr -out client.pem -keyfile ca.key -cert ca.pem -verbose -config openssl.c…
37 $ openssl x509 -in client.pem -out client.pem -outform PEM
50 $ openssl ca -in server0.csr -out server0.pem -keyfile ca.key -cert ca.pem -verbose -config openssl…
51 $ openssl x509 -in server0.pem -out server0.pem -outform PEM
64 $ openssl ca -in server1.csr -out server1.pem -keyfile ca.key -cert ca.pem -verbose -config server1…
65 $ openssl x509 -in server1.pem -out server1.pem -outform PEM
/external/boringssl/
DBUILD.generated_tests.bzl123 "src/crypto/pem/pem_test.cc",
210 "src/crypto/x509/test/basic_constraints_ca.pem",
211 "src/crypto/x509/test/basic_constraints_ca_pathlen_0.pem",
212 "src/crypto/x509/test/basic_constraints_ca_pathlen_1.pem",
213 "src/crypto/x509/test/basic_constraints_ca_pathlen_10.pem",
214 "src/crypto/x509/test/basic_constraints_leaf.pem",
215 "src/crypto/x509/test/basic_constraints_none.pem",
216 "src/crypto/x509/test/invalid_extension_intermediate.pem",
217 "src/crypto/x509/test/invalid_extension_intermediate_authority_key_identifier.pem",
218 "src/crypto/x509/test/invalid_extension_intermediate_basic_constraints.pem",
[all …]
/external/openscreen/test/data/cast/common/certificate/certificates/
DREADME.md6 certificates in `nc.pem` and `nc_fail.pem`.
10 $ openssl genrsa -out keyN.pem 2048
11 $ openssl req -new -key keyN.pem -out certN.csr
14 $ openssl x509 -req -in certN.csr -CA certN-1.pem -CAkey keyN-1.pem
16 certN.pem -days 365 -sha256
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/test_creds/
DBUILD18 "ca.pem",
20 "server1.pem",
22 "server0.pem",
24 "client.pem",
26 "badserver.pem",
28 "badclient.pem",
30 "multi-domain.pem",
/external/libwebsockets/lib/tls/
Dtls.c248 uint8_t *pem = NULL, *p, *end, *opem; in lws_tls_alloc_pem_to_der_file() local
254 n = alloc_file(context, filename, (uint8_t **)&pem, &len); in lws_tls_alloc_pem_to_der_file()
258 pem = (uint8_t *)inbuf; in lws_tls_alloc_pem_to_der_file()
262 opem = p = pem; in lws_tls_alloc_pem_to_der_file()
269 pem = lws_malloc((size_t)inlen, "alloc_der"); in lws_tls_alloc_pem_to_der_file()
270 if (!pem) in lws_tls_alloc_pem_to_der_file()
273 memcpy(pem, inbuf, (size_t)inlen); in lws_tls_alloc_pem_to_der_file()
275 *buf = pem; in lws_tls_alloc_pem_to_der_file()
285 pem = lws_malloc(((size_t)inlen * 3) / 4, "alloc_der"); in lws_tls_alloc_pem_to_der_file()
286 if (!pem) { in lws_tls_alloc_pem_to_der_file()
[all …]
/external/python/pyasn1-modules/tests/
Dtest_rfc7191.py16 from pyasn1_modules import pem
65 substrate = pem.readBase64fromText(self.message1_pem_text)
87 package_id = pem.readBase64fromText(package_id_pem_text)
91 substrate = pem.readBase64fromText(self.message1_pem_text)
106 package_id = pem.readBase64fromText(package_id_pem_text)
140 substrate = pem.readBase64fromText(self.message2_pem_text)
162 package_id = pem.readBase64fromText(package_id_pem_text)
166 substrate = pem.readBase64fromText(self.message2_pem_text)
193 package_id = pem.readBase64fromText(package_id_pem_text)
226 substrate = pem.readBase64fromText(self.message3_pem_text)
[all …]
Dtest_rfc4055.py16 from pyasn1_modules import pem
33 substrate = pem.readBase64fromText(self.pss_default_pem_text)
42 substrate = pem.readBase64fromText(self.pss_default_pem_text)
59 substrate = pem.readBase64fromText(self.pss_sha512_pem_text)
68 substrate = pem.readBase64fromText(self.pss_sha512_pem_text)
86 substrate = pem.readBase64fromText(self.oaep_default_pem_text)
95 substrate = pem.readBase64fromText(self.oaep_default_pem_text)
112 substrate = pem.readBase64fromText(self.oaep_sha256_pem_text)
121 substrate = pem.readBase64fromText(self.oaep_sha256_pem_text)
141 substrate = pem.readBase64fromText(self.oaep_full_pem_text)
[all …]
Dtest_rfc2459.py12 from pyasn1_modules import pem
47 substrate = pem.readBase64fromText(self.pem_text)
57 substrate = pem.readBase64fromText(self.pem_text)
83 substrate = pem.readBase64fromText(self.pem_text)
93 substrate = pem.readBase64fromText(self.pem_text)
121 substrate = pem.readBase64fromText(self.pem_text)
131 substrate = pem.readBase64fromText(self.pem_text)
/external/python/asn1crypto/docs/
Dpem.md6 The `asn1crypto.pem` module includes three functions:
19 from asn1crypto import pem, x509
23 if pem.detect(der_bytes):
24 _, _, der_bytes = pem.unarmor(der_bytes)
41 from asn1crypto import pem, x509
45 if pem.detect(der_bytes):
46 type_name, headers, der_bytes = pem.unarmor(der_bytes)
55 from asn1crypto import pem, x509
59 for type_name, headers, der_bytes in pem.unarmor(f.read(), multiple=True):
71 from asn1crypto import pem, x509
[all …]
/external/python/google-api-python-client/tests/data/
Dcreate-private-keys.sh4 -keyout privatekey.pem -out publickey.pem \
8 -inkey privatekey.pem -in publickey.pem \
13 -passin pass:notasecret > pem_from_pkcs12.pem
/external/grpc-grpc/src/core/tsi/test_creds/
DBUILD18 "ca.pem",
20 "server1.pem",
22 "server0.pem",
24 "client.pem",
26 "badserver.pem",
28 "badclient.pem",
/external/python/asn1crypto/tests/
Dtest_pem.py8 from asn1crypto import pem, util
63 self.assertEqual(is_pem, pem.detect(byte_string))
114 type_name, headers, decoded_bytes = pem.unarmor(byte_string)
131 for name, headers, der_bytes in pem.unarmor(input_data, True):
143 encoded_bytes = pem.armor(type_name, byte_string, headers=headers)
153 pem.armor(b'CERTIFICATE', b'')
157 pem.armor('CERTIFICATE', '')
161 pem.detect('CERTIFICATE')
/external/grpc-grpc/test/core/handshake/
DBUILD26 "//src/core/tsi/test_creds:ca.pem",
28 "//src/core/tsi/test_creds:server1.pem",
55 "//src/core/tsi/test_creds:ca.pem",
57 "//src/core/tsi/test_creds:server1.pem",
73 "//src/core/tsi/test_creds:ca.pem",
75 "//src/core/tsi/test_creds:server1.pem",
91 "//src/core/tsi/test_creds:ca.pem",
93 "//src/core/tsi/test_creds:server1.pem",

12345678910>>...16