Home
last modified time | relevance | path

Searched refs:pem_encoded (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/chromeos/network/onc/
Donc_utils.cc288 std::string DecodePEM(const std::string& pem_encoded) { in DecodePEM() argument
299 net::PEMTokenizer pem_tokenizer(pem_encoded, pem_headers); in DecodePEM()
307 if (!base::Base64Decode(pem_encoded, &decoded)) { in DecodePEM()
308 LOG(ERROR) << "Unable to base64 decode X509 data: " << pem_encoded; in DecodePEM()
448 const std::string& pem_encoded) { in DecodePEMCertificate() argument
449 std::string decoded = DecodePEM(pem_encoded); in DecodePEMCertificate()
461 std::string* pem_encoded) { in GUIDRefToPEMEncoding() argument
467 *pem_encoded = it->second; in GUIDRefToPEMEncoding()
468 if (pem_encoded->empty()) { in GUIDRefToPEMEncoding()
483 std::string pem_encoded; in ResolveSingleCertRef() local
[all …]
Donc_utils.h110 const std::string& pem_encoded);
/external/chromium_org/net/cert/
Dx509_certificate.cc664 std::string* pem_encoded) { in GetPEMEncodedFromDER() argument
669 *pem_encoded = "-----BEGIN CERTIFICATE-----\n"; in GetPEMEncodedFromDER()
677 pem_encoded->append(b64_encoded, chunk_offset, kChunkSize); in GetPEMEncodedFromDER()
678 pem_encoded->append("\n"); in GetPEMEncodedFromDER()
680 pem_encoded->append("-----END CERTIFICATE-----\n"); in GetPEMEncodedFromDER()
686 std::string* pem_encoded) { in GetPEMEncoded() argument
690 return GetPEMEncodedFromDER(der_encoded, pem_encoded); in GetPEMEncoded()
694 std::vector<std::string>* pem_encoded) const { in GetPEMEncodedChain()
705 pem_encoded->swap(encoded_chain); in GetPEMEncodedChain()
Dx509_certificate.h331 std::string* pem_encoded);
336 std::string* pem_encoded);
343 bool GetPEMEncodedChain(std::vector<std::string>* pem_encoded) const;
/external/chromium_org/chromeos/network/
Dclient_cert_util.cc80 std::string pem_encoded; in operator ()() local
81 if (!net::X509Certificate::GetPEMEncoded(issuer_cert, &pem_encoded)) { in operator ()()
87 pem_encoded) == in operator ()()
Dnetwork_cert_migrator.cc112 std::string pem_encoded; in MigrateNetwork() local
114 &pem_encoded)) { in MigrateNetwork()
119 SetNssAndPemProperties(service_path, nss_key, pem_key, pem_encoded); in MigrateNetwork()
/external/chromium_org/chrome/browser/chromeos/options/
Dcert_library.h80 int GetCertIndexByPEM(CertType type, const std::string& pem_encoded) const;
Dcert_library.cc183 const std::string& pem_encoded) const { in GetCertIndexByPEM()
187 if (CertToPEM(*cert) != pem_encoded) in GetCertIndexByPEM()