HomeSort by relevance Sort by last modified time
    Searched refs:pem (Results 26 - 50 of 186) sorted by null

12 3 4 5 6 7 8

  /external/wpa_supplicant_8/hs20/server/ca/
clean.sh 4 rm -f $i.csr $i.key $i.pem
11 rm -f ca.pem logo.asn1 logo.der server.der ocsp-server-cache.der
  /development/tools/
make_key 24 Creates <name>.pk8 key and <name>.x509.pem cert. Cert contains the
30 if [[ -e $1.pk8 || -e $1.x509.pem ]]; then
31 echo "$1.pk8 and/or $1.x509.pem already exist; please delete them first"
63 openssl req -new -x509 ${hash} -key ${two} -out $1.x509.pem \
  /build/tools/signapk/test/
run 17 %.pem: $(DSAPARAM) FORCE
25 cert := out/key1.pem
  /external/autotest/client/site_tests/security_RootCA/
add-openssl-roots.sh 9 fingerprints=$(for x in "$1"/*.pem; do \
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/tools/
cmpdump.py 2 # Read ASN.1/PEM CMP message on stdin, parse into
5 from pyasn1_modules import rfc4210, pem
13 $ cat cmp.pem | %s [-d]""" % sys.argv[0])
18 substrate = pem.readBase64FromFile(sys.stdin)
crldump.py 7 from pyasn1_modules import rfc2459, pem
13 $ cat crl.pem | %s""" % sys.argv[0])
21 idx, substrate = pem.readPemBlocksFromFile(sys.stdin, ('-----BEGIN X509 CRL-----', '-----END X509 CRL-----'))
pkcs10dump.py 3 # Read ASN.1/PEM X.509 certificate requests (PKCS#10 format) on stdin,
7 from pyasn1_modules import rfc2314, pem
12 $ cat certificateRequest.pem | %s""" % sys.argv[0])
20 idx, substrate = pem.readPemBlocksFromFile(
39 print('*** %s PEM certificate request(s) de/serialized' % certCnt)
pkcs1dump.py 3 # Read unencrypted PKCS#1/PKIX-compliant, PEM&DER encoded private keys on
7 from pyasn1_modules import rfc2459, rfc2437, pem
13 $ cat rsakey.pem | %s""" % sys.argv[0])
19 idx, substrate = pem.readPemBlocksFromFile(sys.stdin, ('-----BEGIN RSA PRIVATE KEY-----', '-----END RSA PRIVATE KEY-----'), ('-----BEGIN DSA PRIVATE KEY-----', '-----END DSA PRIVATE KEY-----') )
pkcs8dump.py 3 # Read bunch of ASN.1/PEM plain/encrypted private keys in PKCS#8
7 from pyasn1_modules import rfc5208, pem
12 $ cat pkcs8key.pem | %s""" % sys.argv[0])
18 idx, substrate = pem.readPemBlocksFromFile(sys.stdin, ('-----BEGIN PRIVATE KEY-----', '-----END PRIVATE KEY-----'), ('-----BEGIN ENCRYPTED PRIVATE KEY-----', '-----END ENCRYPTED PRIVATE KEY-----') )
x509dump.py 3 # Read ASN.1/PEM X.509 certificates on stdin, parse each into plain text,
7 from pyasn1_modules import rfc2459, pem
12 $ cat CACertificate.pem | %s
13 $ cat userCertificate.pem | %s""" % (sys.argv[0], sys.argv[0]))
21 idx, substrate = pem.readPemBlocksFromFile(
40 print('*** %s PEM cert(s) de/serialized' % certCnt)
pkcs7dump.py 3 # Read ASN.1/PEM PKCS#7 on stdin, parse it into plain text,
6 from pyasn1_modules import rfc2315, pem
12 $ cat pkcs7Certificate.pem | %s""" % sys.argv[0])
15 idx, substrate = pem.readPemBlocksFromFile(
  /external/vboot_reference/tests/
gen_test_keys.sh 27 openssl genrsa -F4 -out ${key_base}.pem $i
29 openssl req -batch -new -x509 -key ${key_base}.pem \
50 --key "${key_base}.pem" \
gen_test_cases.sh 28 -sign -pkcs -inkey ${TESTKEY_DIR}/key_rsa${keylen}.pem \
  /prebuilts/go/darwin-x86/src/crypto/x509/
root_linux.go 11 "/etc/ssl/ca-bundle.pem", // OpenSUSE
12 "/etc/pki/tls/cacert.pem", // OpenELEC
root_solaris.go 11 "/etc/ssl/cacert.pem", // OmniOS
  /prebuilts/go/linux-x86/src/crypto/x509/
root_linux.go 11 "/etc/ssl/ca-bundle.pem", // OpenSUSE
12 "/etc/pki/tls/cacert.pem", // OpenELEC
root_solaris.go 11 "/etc/ssl/cacert.pem", // OmniOS
  /prebuilts/go/darwin-x86/src/crypto/tls/
generate_cert.go 8 // 'cert.pem' and 'key.pem' and will overwrite existing files.
19 "encoding/pem"
50 func pemBlockForKey(priv interface{}) *pem.Block {
53 return &pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(k)}
60 return &pem.Block{Type: "EC PRIVATE KEY", Bytes: b}
145 certOut, err := os.Create("cert.pem")
147 log.Fatalf("failed to open cert.pem for writing: %s", err)
149 pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes}
    [all...]
  /prebuilts/go/linux-x86/src/crypto/tls/
generate_cert.go 8 // 'cert.pem' and 'key.pem' and will overwrite existing files.
19 "encoding/pem"
50 func pemBlockForKey(priv interface{}) *pem.Block {
53 return &pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(k)}
60 return &pem.Block{Type: "EC PRIVATE KEY", Bytes: b}
145 certOut, err := os.Create("cert.pem")
147 log.Fatalf("failed to open cert.pem for writing: %s", err)
149 pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes}
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/assets/
ca.conf 18 private_key = $dir/private/ca.key.pem
19 certificate = $dir/certs/ca.cert.pem
23 crl = $dir/crl/ca.crl.pem
47 private_key = $dir/private/intermediate.key.pem
48 certificate = $dir/certs/intermediate.cert.pem
52 crl = $dir/crl/ca.crl.pem
  /external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/
test_load_save_keys.py 92 '''Test saving and loading PEM keys.'''
96 '''Test loading private PEM files.'''
98 key = rsa.key.PrivateKey.load_pkcs1(PRIVATE_PEM, 'PEM')
104 '''Test saving private PEM files.'''
107 pem = key.save_pkcs1('PEM')
109 self.assertEqual(CLEAN_PRIVATE_PEM, pem)
112 '''Test loading public PEM files.'''
114 key = rsa.key.PublicKey.load_pkcs1(PUBLIC_PEM, 'PEM')
120 '''Test saving public PEM files.''
    [all...]
  /cts/tests/tests/security/tools/
format_cert.sh 3 # Outputs the provided certificate (PEM or DER) in a format used by CTS tests.
4 # The format is PEM block, followed by the textual representation of the
24 # Input file containing the certificate in PEM or DER format
32 # Detect whether the input file is PEM or DER.
34 in_form="pem"
42 echo "Certificate file format is neither PEM nor DER"
54 "$OPENSSL" x509 -in "$in_file" -inform $in_form -outform pem > "$out_file" && \
  /external/vboot_reference/tests/futility/
test_sign_keyblocks.sh 59 # Create one using PEM args
64 --signprivate_pem ${TESTKEYS}/key_rsa4096.pem \
74 --pem_signpriv ${TESTKEYS}/key_rsa4096.pem \
87 --signprivate_pem ${TESTKEYS}/key_rsa4096.pem \
98 --pem_signpriv ${TESTKEYS}/key_rsa4096.pem \
  /frameworks/base/core/tests/coretests/src/android/net/http/
SslCertificateTest.java 109 private static X509Certificate generateCertificate(String pem) throws Exception {
111 return (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(pem.getBytes()));
  /external/boringssl/src/crypto/pem/
pem_oth.c 1 /* crypto/pem/pem_oth.c */
58 #include <openssl/pem.h>
86 OPENSSL_PUT_ERROR(PEM, ERR_R_ASN1_LIB);

Completed in 1456 milliseconds

12 3 4 5 6 7 8