Index: webrtc/base/opensslidentity.h |
diff --git a/webrtc/base/opensslidentity.h b/webrtc/base/opensslidentity.h |
index df495087e3574d5cd7a8d6051c484e7eb16dba58..6bc66c67c128c9e8059c19c90e5068bb7393a5ea 100644 |
--- a/webrtc/base/opensslidentity.h |
+++ b/webrtc/base/opensslidentity.h |
@@ -39,6 +39,7 @@ class OpenSSLKeyPair { |
virtual OpenSSLKeyPair* GetReference(); |
EVP_PKEY* pkey() const { return pkey_; } |
+ std::string PrivateKeyToPemString() const; |
private: |
void AddReference(); |
@@ -115,6 +116,8 @@ class OpenSSLIdentity : public SSLIdentity { |
// Configure an SSL context object to use our key and certificate. |
bool ConfigureIdentity(SSL_CTX* ctx); |
+ std::string PrivateKeyToPemString() const override; |
+ |
private: |
OpenSSLIdentity(OpenSSLKeyPair* key_pair, OpenSSLCertificate* certificate); |