Searched refs:pem_encoded (Results 1 – 9 of 9) sorted by relevance
/external/cronet/net/cert/ |
D | pem.cc | 113 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 …]
|
D | x509_certificate.h | 208 std::string* pem_encoded); 213 std::string* pem_encoded); 220 bool GetPEMEncodedChain(std::vector<std::string>* pem_encoded) const;
|
D | x509_certificate.cc | 570 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()
|
D | x509_util_nss.h | 110 NET_EXPORT bool GetPEMEncoded(CERTCertificate* cert, std::string* pem_encoded);
|
D | cert_verify_proc.cc | 397 std::string pem_encoded; in CertVerifyParams() local 400 &pem_encoded)) { in CertVerifyParams() 401 certs.Append(std::move(pem_encoded)); in CertVerifyParams()
|
D | cert_verify_proc_builtin.cc | 65 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()
|
D | x509_util_nss.cc | 304 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/ |
D | verify_using_cert_verify_proc.cc | 42 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/ |
D | cert_builder.cc | 1001 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()
|