/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
PemObjectGenerator.java | 1 package org.bouncycastle.util.io.pem; 4 * Base interface for generators of PEM objects. 9 * Generate a PEM object.
|
PemObjectParser.java | 1 package org.bouncycastle.util.io.pem; 6 * Base interface for parsers to convert PEM objects into specific objects. 11 * Parse an object out of the PEM object passed in. 13 * @param obj the PEM object containing the details for the specific object. 14 * @return a specific object represented by the PEM object.
|
PemGenerationException.java | 1 package org.bouncycastle.util.io.pem; 6 * Exception thrown on failure to generate a PEM object.
|
PemHeader.java | 1 package org.bouncycastle.util.io.pem; 4 * Class representing a PEM header (name, value) pair.
|
PemObject.java | 1 package org.bouncycastle.util.io.pem; 8 * A generic PEM object - type, header properties, and byte content. 22 * @param type pem object type. 33 * @param type pem object type.
|
PemReader.java | 1 package org.bouncycastle.util.io.pem; 12 * A generic PEM reader, based on the format outlined in RFC 1421
|
PemWriter.java | 1 package org.bouncycastle.util.io.pem; 12 * A generic PEM writer, based on RFC 1421 44 * passed in object if it is PEM encoded. 46 * @param obj pem object to be output
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/tools/ |
crldump.py | 7 from pyasn1_modules import rfc2459, pem namespace 13 $ cat crl.pem | %s""" % sys.argv[0]) 21 idx, substrate = pem.readPemBlocksFromFile(sys.stdin, ('-----BEGIN X509 CRL-----', '-----END X509 CRL-----'))
|
crmfdump.py | 2 # Read ASN.1/PEM X.509 CRMF request on stdin, parse into 5 from pyasn1_modules import rfc2511, pem namespace 10 $ cat crmf.pem | %s""" % sys.argv[0]) 15 substrate = pem.readBase64FromFile(sys.stdin)
|
ocspreqdump.py | 3 # Read ASN.1/PEM X.509 CRMF request on stdin, parse into 7 from pyasn1_modules import rfc2560, pem namespace 12 $ cat ocsp-request.pem | %s""" % sys.argv[0]) 17 substrate = pem.readBase64FromFile(sys.stdin)
|
ocsprspdump.py | 3 # Read ASN.1/PEM OCSP response on stdin, parse into 7 from pyasn1_modules import rfc2560, pem namespace 12 $ cat ocsp-response.pem | %s""" % sys.argv[0]) 17 substrate = pem.readBase64FromFile(sys.stdin)
|
pkcs10dump.py | 3 # Read ASN.1/PEM X.509 certificate requests (PKCS#10 format) on stdin, 7 from pyasn1_modules import rfc2314, pem namespace 12 $ cat certificateRequest.pem | %s""" % sys.argv[0]) 20 idx, substrate = pem.readPemBlocksFromFile( 39 print('*** %s PEM certificate request(s) de/serialized' % certCnt)
|
pkcs8dump.py | 3 # Read bunch of ASN.1/PEM plain/encrypted private keys in PKCS#8 7 from pyasn1_modules import rfc5208, pem namespace 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 namespace 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)
|
cmpdump.py | 2 # Read ASN.1/PEM CMP message on stdin, parse into 5 from pyasn1_modules import rfc4210, pem namespace 13 $ cat cmp.pem | %s [-d]""" % sys.argv[0]) 18 substrate = pem.readBase64FromFile(sys.stdin)
|
pkcs1dump.py | 3 # Read unencrypted PKCS#1/PKIX-compliant, PEM&DER encoded private keys on 7 from pyasn1_modules import rfc2459, rfc2437, pem namespace 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-----') )
|
pkcs7dump.py | 3 # Read ASN.1/PEM PKCS#7 on stdin, parse it into plain text, 6 from pyasn1_modules import rfc2315, pem namespace 12 $ cat pkcs7Certificate.pem | %s""" % sys.argv[0]) 15 idx, substrate = pem.readPemBlocksFromFile(
|
ocspclient.py | 4 from pyasn1_modules import rfc2560, rfc2459, pem namespace 101 $ cat CACertificate.pem userCertificate.pem | %s <ocsp-responder-url>""" % sys.argv[0]) 109 pem.readPemBlocksFromFile( 115 pem.readPemBlocksFromFile(
|
ocspserver.py | 4 from pyasn1_modules import rfc2560, rfc2459, pem namespace 102 $ cat CACertificate.pem userCertificate.pem | %s <ocsp-responder-url>""" % sys.argv[0]) 110 pem.readPemFromFile(sys.stdin)[1], 114 pem.readPemFromFile(sys.stdin)[1],
|
/external/google-tv-pairing-protocol/cpp/tests/polo/util/ |
certificateutiltest.cc | 25 // Tests reading an X509 certificate from a PEM encoded string. 27 std::string pem = "-----BEGIN CERTIFICATE-----\n" local 41 X509* x509 = CertificateUtil::X509FromPEM(pem); 51 // Tests converting an X509 certificate to a PEM encoded string. 94 std::string pem = CertificateUtil::X509ToPEM(x509); local 111 ASSERT_EQ(expected, pem); 114 // Tests reading a private key from a PEM encoded string. 116 std::string pem = "-----BEGIN RSA PRIVATE KEY-----\n" local 135 EVP_PKEY* pkey = CertificateUtil::PKEYFromPEM(pem, "testing"); 145 // Tests converting a private key to a PEM encoded string 151 std::string pem = CertificateUtil::PKEYToPEM(pkey, "testing"); local [all...] |
/system/tpm/attestation/server/ |
attestation_service_test.cc | 98 std::string pem = kBeginCertificate; local 99 pem += brillo::data_encoding::Base64EncodeWrapLines("fake_cert"); 100 pem += kEndCertificate + "\n" + kBeginCertificate; 101 pem += brillo::data_encoding::Base64EncodeWrapLines("fake_ca_cert"); 102 pem += kEndCertificate + "\n" + kBeginCertificate; 103 pem += brillo::data_encoding::Base64EncodeWrapLines("fake_ca_cert2"); 104 pem += kEndCertificate; 105 return pem; [all...] |
attestation_service.cc | 841 std::string pem = CreatePEMCertificate(key.certified_key_credential()); local 843 pem += "\n"; 844 pem += CreatePEMCertificate(key.intermediate_ca_cert()); 847 pem += "\n"; 848 pem += CreatePEMCertificate(key.additional_intermediate_ca_cert(i)); 850 return pem; 858 std::string pem = kBeginCertificate; local 859 pem += brillo::data_encoding::Base64EncodeWrapLines(certificate); 860 pem += kEndCertificate; 861 return pem; [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
key.py | 32 import rsa.pem namespace 43 def load_pkcs1(cls, keyfile, format='PEM'): 44 r'''Loads a key in PKCS#1 DER or PEM format. 46 :param keyfile: contents of a DER- or PEM-encoded file that contains 48 :param format: the format of the file to load; 'PEM' or 'DER' 55 'PEM': cls._load_pkcs1_pem, 67 def save_pkcs1(self, format='PEM'): 68 '''Saves the public key in PKCS#1 DER or PEM format. 70 :param format: the format to save; 'PEM' or 'DER' 71 :returns: the DER- or PEM-encoded public key [all...] |
/external/wpa_supplicant_8/hs20/client/ |
osu_client.c | 191 char *der, *pem; local 231 os_snprintf(buf, sizeof(buf), "SP/%s/client-ca.pem", fqdn); 232 if (rename("Cert/est-cacerts.pem", buf) < 0) { 233 wpa_printf(MSG_INFO, "Could not move est-cacerts.pem to client-ca.pem: %s", 237 pem = os_readfile(buf, &pem_len); 239 os_snprintf(buf, sizeof(buf), "SP/%s/client-cert.pem", fqdn); 240 if (rename("Cert/est_cert.pem", buf) < 0) { 241 wpa_printf(MSG_INFO, "Could not move est_cert.pem to client-cert.pem: %s" [all...] |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk16/1.46/ |
bcprov-jdk16-1.46.jar | |