Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Dssl_identity.cc168 bool SSLIdentity::PemToDer(const std::string& pem_type, in PemToDer() argument
173 size_t header = pem_string.find("-----BEGIN " + pem_type + "-----"); in PemToDer()
181 size_t trailer = pem_string.find("-----END " + pem_type + "-----"); in PemToDer()
191 std::string SSLIdentity::DerToPem(const std::string& pem_type, in DerToPem() argument
195 result << "-----BEGIN " << pem_type << "-----\n"; in DerToPem()
208 result << "-----END " << pem_type << "-----\n"; in DerToPem()
Dssl_identity.h148 static bool PemToDer(const std::string& pem_type,
151 static std::string DerToPem(const std::string& pem_type,