Index: remoting/protocol/me2me_host_authenticator_factory.h |
diff --git a/remoting/protocol/me2me_host_authenticator_factory.h b/remoting/protocol/me2me_host_authenticator_factory.h |
index 1a5acb186d17698a930177102360810b0c29c49b..307a1931d661dbdbefdb2d20d645bf44f1e06c01 100644 |
--- a/remoting/protocol/me2me_host_authenticator_factory.h |
+++ b/remoting/protocol/me2me_host_authenticator_factory.h |
@@ -13,19 +13,17 @@ |
#include "remoting/protocol/authentication_method.h" |
#include "remoting/protocol/authenticator.h" |
-namespace crypto { |
-class RSAPrivateKey; |
-} // namespace crypto |
- |
namespace remoting { |
namespace protocol { |
+class KeyPair; |
+ |
class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory { |
public: |
// Doesn't take ownership of |local_private_key|. |
Me2MeHostAuthenticatorFactory( |
const std::string& local_cert, |
- const crypto::RSAPrivateKey& local_private_key, |
+ scoped_ptr<KeyPair> key_pair, |
const SharedSecretHash& shared_secret_hash); |
virtual ~Me2MeHostAuthenticatorFactory(); |
@@ -38,7 +36,7 @@ class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory { |
private: |
std::string local_jid_prefix_; |
std::string local_cert_; |
- scoped_ptr<crypto::RSAPrivateKey> local_private_key_; |
+ scoped_ptr<KeyPair> key_pair_; |
SharedSecretHash shared_secret_hash_; |
DISALLOW_COPY_AND_ASSIGN(Me2MeHostAuthenticatorFactory); |