Home
last modified time | relevance | path

Searched refs:pem_type (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/base/
Dsslidentity.cc91 bool SSLIdentity::PemToDer(const std::string& pem_type, in PemToDer() argument
96 size_t header = pem_string.find("-----BEGIN " + pem_type + "-----"); in PemToDer()
104 size_t trailer = pem_string.find("-----END " + pem_type + "-----"); in PemToDer()
116 std::string SSLIdentity::DerToPem(const std::string& pem_type, in DerToPem() argument
121 result << "-----BEGIN " << pem_type << "-----\n"; in DerToPem()
136 result << "-----END " << pem_type << "-----\n"; in DerToPem()
Dsslidentity.h217 static bool PemToDer(const std::string& pem_type,
220 static std::string DerToPem(const std::string& pem_type,