Searched refs:pem_string (Results 1 - 10 of 10) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/base/
H A Dsslidentity.cc57 SSLCertificate* SSLCertificate::FromPEMString(const std::string& pem_string, argument
59 return OpenSSLCertificate::FromPEMString(pem_string, pem_length);
H A Dsslidentity.h53 static SSLCertificate* FromPEMString(const std::string& pem_string,
H A Dopensslidentity.h76 static OpenSSLCertificate* FromPEMString(const std::string& pem_string,
H A Dopensslidentity.cc208 const std::string& pem_string, int* pem_length) {
209 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1);
220 *pem_length = pem_string.length() - remaining_length;
207 FromPEMString( const std::string& pem_string, int* pem_length) argument
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dsslidentity.cc59 const std::string& pem_string,
63 size_t header = pem_string.find("-----BEGIN " + pem_type + "-----");
67 size_t body = pem_string.find("\n", header);
71 size_t trailer = pem_string.find("-----END " + pem_type + "-----");
75 std::string inner = pem_string.substr(body + 1, trailer - (body + 1));
110 SSLCertificate* SSLCertificate::FromPEMString(const std::string& pem_string) { argument
125 SSLCertificate* SSLCertificate::FromPEMString(const std::string& pem_string) { argument
126 return OpenSSLCertificate::FromPEMString(pem_string);
140 SSLCertificate* SSLCertificate::FromPEMString(const std::string& pem_string) { argument
141 return NSSCertificate::FromPEMString(pem_string);
58 PemToDer(const std::string& pem_type, const std::string& pem_string, std::string* der) argument
[all...]
H A Dsslidentity.h61 static SSLCertificate* FromPEMString(const std::string& pem_string);
163 const std::string& pem_string,
H A Dnssidentity.h68 static NSSCertificate* FromPEMString(const std::string& pem_string);
H A Dopensslidentity.h82 static OpenSSLCertificate* FromPEMString(const std::string& pem_string);
H A Dopensslidentity.cc221 const std::string& pem_string) {
222 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1);
220 FromPEMString( const std::string& pem_string) argument
H A Dnssidentity.cc132 NSSCertificate *NSSCertificate::FromPEMString(const std::string &pem_string) { argument
134 if (!SSLIdentity::PemToDer(kPemTypeCertificate, pem_string, &der))

Completed in 1556 milliseconds