Index: webrtc/base/opensslidentity.h |
diff --git a/webrtc/base/opensslidentity.h b/webrtc/base/opensslidentity.h |
index d8ba138f625484fddca35a38ff3f449eeea86832..9f0e69099a3e3af25efc22fcc811f53b2e7d428b 100644 |
--- a/webrtc/base/opensslidentity.h |
+++ b/webrtc/base/opensslidentity.h |
@@ -32,6 +32,7 @@ class OpenSSLKeyPair { |
ASSERT(pkey_ != NULL); |
} |
+ static OpenSSLKeyPair* Generate(const KeyParams& key_params); |
static OpenSSLKeyPair* Generate(KeyType key_type); |
virtual ~OpenSSLKeyPair(); |
@@ -100,6 +101,8 @@ class OpenSSLCertificate : public SSLCertificate { |
class OpenSSLIdentity : public SSLIdentity { |
public: |
static OpenSSLIdentity* Generate(const std::string& common_name, |
+ const KeyParams& key_params); |
+ static OpenSSLIdentity* Generate(const std::string& common_name, |
KeyType key_type); |
hbos
2015/10/05 15:17:05
You forgot to remove this one now that SSLIdentity
torbjorng (webrtc)
2015/10/05 16:16:49
Done.
|
static OpenSSLIdentity* GenerateForTest(const SSLIdentityParams& params); |
static SSLIdentity* FromPEMStrings(const std::string& private_key, |