Home
last modified time | relevance | path

Searched refs:pem_string (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/base/
Dsslidentity.cc92 const std::string& pem_string, in PemToDer() argument
96 size_t header = pem_string.find("-----BEGIN " + pem_type + "-----"); in PemToDer()
100 size_t body = pem_string.find("\n", header); in PemToDer()
104 size_t trailer = pem_string.find("-----END " + pem_type + "-----"); in PemToDer()
108 std::string inner = pem_string.substr(body + 1, trailer - (body + 1)); in PemToDer()
157 SSLCertificate* SSLCertificate::FromPEMString(const std::string& pem_string) { in FromPEMString() argument
158 return OpenSSLCertificate::FromPEMString(pem_string); in FromPEMString()
Dsslidentity.h45 static SSLCertificate* FromPEMString(const std::string& pem_string);
218 const std::string& pem_string,
Dopensslidentity.h62 static OpenSSLCertificate* FromPEMString(const std::string& pem_string);
Dopensslidentity.cc228 const std::string& pem_string) { in FromPEMString() argument
229 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1); in FromPEMString()