Searched defs:pem_type (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dsslidentity.cc58 bool SSLIdentity::PemToDer(const std::string& pem_type, argument
63 size_t header = pem_string.find("-----BEGIN " + pem_type + "-----");
71 size_t trailer = pem_string.find("-----END " + pem_type + "-----");
83 std::string SSLIdentity::DerToPem(const std::string& pem_type, argument
88 result << "-----BEGIN " << pem_type << "-----\n"; local
103 result << "-----END " << pem_type << "-----\n"; local
/external/chromium_org/third_party/webrtc/base/
H A Dsslidentity.cc41 bool SSLIdentity::PemToDer(const std::string& pem_type, argument
46 size_t header = pem_string.find("-----BEGIN " + pem_type + "-----");
54 size_t trailer = pem_string.find("-----END " + pem_type + "-----");
66 std::string SSLIdentity::DerToPem(const std::string& pem_type, argument
71 result << "-----BEGIN " << pem_type << "-----\n"; local
86 result << "-----END " << pem_type << "-----\n"; local
/external/chromium_org/chrome/common/extensions/api/networking_private/
H A Dnetworking_private_crypto.cc53 // Parses |pem_data| for a PEM block of |pem_type|.
54 // Returns true if a |pem_type| block is found, storing the decoded result in
57 const std::string& pem_type,
60 headers.push_back(pem_type);
56 GetDERFromPEM(const std::string& pem_data, const std::string& pem_type, std::vector<uint8>* der_output) argument

Completed in 150 milliseconds