Home
last modified time | relevance | path

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

/external/cronet/net/cert/
Dpem.cc113 std::string pem_encoded; in PEMEncode() local
114 pem_encoded.reserve( in PEMEncode()
122 pem_encoded = "-----BEGIN "; in PEMEncode()
123 pem_encoded.append(type); in PEMEncode()
124 pem_encoded.append("-----\n"); in PEMEncode()
128 pem_encoded.append(b64_encoded, chunk_offset, kChunkSize); in PEMEncode()
129 pem_encoded.append("\n"); in PEMEncode()
132 pem_encoded.append("-----END "); in PEMEncode()
133 pem_encoded.append(type); in PEMEncode()
134 pem_encoded.append("-----\n"); in PEMEncode()
[all …]
Dx509_certificate.h208 std::string* pem_encoded);
213 std::string* pem_encoded);
220 bool GetPEMEncodedChain(std::vector<std::string>* pem_encoded) const;
Dx509_certificate.cc570 std::string* pem_encoded) { in GetPEMEncodedFromDER() argument
574 *pem_encoded = PEMEncode(der_encoded, "CERTIFICATE"); in GetPEMEncodedFromDER()
580 std::string* pem_encoded) { in GetPEMEncoded() argument
582 pem_encoded); in GetPEMEncoded()
586 std::vector<std::string>* pem_encoded) const { in GetPEMEncodedChain()
597 pem_encoded->swap(encoded_chain); in GetPEMEncodedChain()
Dx509_util_nss.h110 NET_EXPORT bool GetPEMEncoded(CERTCertificate* cert, std::string* pem_encoded);
Dcert_verify_proc.cc397 std::string pem_encoded; in CertVerifyParams() local
400 &pem_encoded)) { in CertVerifyParams()
401 certs.Append(std::move(pem_encoded)); in CertVerifyParams()
Dcert_verify_proc_builtin.cc65 std::string pem_encoded; in NetLogCertParams() local
67 x509_util::CryptoBufferAsStringPiece(cert_handle), &pem_encoded)) { in NetLogCertParams()
68 results.Set("certificate", pem_encoded); in NetLogCertParams()
Dx509_util_nss.cc304 bool GetPEMEncoded(CERTCertificate* cert, std::string* pem_encoded) { in GetPEMEncoded() argument
309 return X509Certificate::GetPEMEncodedFromDER(der, pem_encoded); in GetPEMEncoded()
/external/cronet/net/tools/cert_verify_tool/
Dverify_using_cert_verify_proc.cc42 std::vector<std::string> pem_encoded; in DumpX509CertificateChain() local
43 if (!cert->GetPEMEncodedChain(&pem_encoded)) { in DumpX509CertificateChain()
47 return WriteToFile(file_path, base::StrCat(pem_encoded)); in DumpX509CertificateChain()
/external/cronet/net/test/
Dcert_builder.cc1001 std::string pem_encoded; in GetPEM() local
1002 EXPECT_TRUE(X509Certificate::GetPEMEncoded(GetCertBuffer(), &pem_encoded)); in GetPEM()
1003 return pem_encoded; in GetPEM()
1019 std::string pem_encoded = key_util::PEMFromPrivateKey(GetKey()); in GetPrivateKeyPEM() local
1020 EXPECT_FALSE(pem_encoded.empty()); in GetPrivateKeyPEM()
1021 return pem_encoded; in GetPrivateKeyPEM()