HomeSort by relevance Sort by last modified time
    Searched defs:pem (Results 1 - 17 of 17) sorted by null

  /external/chromium_org/third_party/tlslite/tlslite/utils/
pem.py 11 """Decode a PEM string into a bytearray of its payload.
13 The input must contain an appropriate PEM prefix and postfix
22 The first such PEM block in the input will be found, and its
29 raise SyntaxError("Missing PEM prefix")
32 raise SyntaxError("Missing PEM postfix")
38 """Decode a sequence of PEM blocks into a list of bytearrays.
40 The input must contain any number of PEM blocks, each with the appropriate
41 PEM prefix and postfix based on the input name string, e.g. for
43 after the PEM blocks. For example:
57 All such PEM blocks will be found, decoded, and return in an ordered lis
75 def pem(b, name): function
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/
PemObjectGenerator.java 1 package org.bouncycastle.util.io.pem;
PemObjectParser.java 1 package org.bouncycastle.util.io.pem;
PemGenerationException.java 1 package org.bouncycastle.util.io.pem;
PemHeader.java 1 package org.bouncycastle.util.io.pem;
PemObject.java 1 package org.bouncycastle.util.io.pem;
19 * @param type pem object type.
30 * @param type pem object type.
PemReader.java 1 package org.bouncycastle.util.io.pem;
PemWriter.java 1 package org.bouncycastle.util.io.pem;
11 * A generic PEM writer, based on RFC 1421
43 * passed in object if it is PEM encoded.
45 * @param obj pem object to be output
  /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...]
  /external/chromium_org/chrome/browser/sync/test/integration/
sync_extension_helper.cc 279 std::string pem; local
280 EXPECT_TRUE(Extension::ProducePEM(name, &pem) &&
281 Extension::FormatPEMForFileOutput(pem, &public_key,
  /external/chromium_org/chromeos/network/onc/
onc_utils.cc 291 // The PEM block header used for DER certificates
294 // This is an older PEM marker for DER certificates.
306 // If we failed to read the data as a PEM file, then try plain base64 decode
307 // in case the PEM marker strings are missing. For this to work, there has
337 std::string pem; local
338 if (der.empty() || !net::X509Certificate::GetPEMEncodedFromDER(der, &pem)) {
340 << " is not in PEM encoding.";
343 certs_by_guid[guid] = pem;
471 LOG(ERROR) << "Couldn't PEM-encode certificate with GUID " << guid_ref;
  /external/wpa_supplicant_8/hs20/client/
osu_client.c 186 char *der, *pem; local
226 os_snprintf(buf, sizeof(buf), "SP/%s/client-ca.pem", fqdn);
227 if (rename("Cert/est-cacerts.pem", buf) < 0) {
228 wpa_printf(MSG_INFO, "Could not move est-cacerts.pem to client-ca.pem: %s",
232 pem = os_readfile(buf, &pem_len);
234 os_snprintf(buf, sizeof(buf), "SP/%s/client-cert.pem", fqdn);
235 if (rename("Cert/est_cert.pem", buf) < 0) {
236 wpa_printf(MSG_INFO, "Could not move est_cert.pem to client-cert.pem: %s"
    [all...]
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 
  /prebuilts/sdk/tools/lib/
signapk.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 
  /external/owasp/sanitizer/tools/findbugs/lib/
findbugs.jar 
  /prebuilts/tools/common/m2/repository/com/google/code/findbugs/findbugs/2.0.1/
findbugs-2.0.1.jar 

Completed in 2379 milliseconds