Searched refs:pem_encoded (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/chromeos/network/onc/ |
D | onc_utils.cc | 288 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 …]
|
D | onc_utils.h | 110 const std::string& pem_encoded);
|
/external/chromium_org/net/cert/ |
D | x509_certificate.cc | 664 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()
|
D | x509_certificate.h | 331 std::string* pem_encoded); 336 std::string* pem_encoded); 343 bool GetPEMEncodedChain(std::vector<std::string>* pem_encoded) const;
|
/external/chromium_org/chromeos/network/ |
D | client_cert_util.cc | 80 std::string pem_encoded; in operator ()() local 81 if (!net::X509Certificate::GetPEMEncoded(issuer_cert, &pem_encoded)) { in operator ()() 87 pem_encoded) == in operator ()()
|
D | network_cert_migrator.cc | 112 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/ |
D | cert_library.h | 80 int GetCertIndexByPEM(CertType type, const std::string& pem_encoded) const;
|
D | cert_library.cc | 183 const std::string& pem_encoded) const { in GetCertIndexByPEM() 187 if (CertToPEM(*cert) != pem_encoded) in GetCertIndexByPEM()
|