Index: remoting/protocol/it2me_host_authenticator_factory.h |
diff --git a/remoting/protocol/it2me_host_authenticator_factory.h b/remoting/protocol/it2me_host_authenticator_factory.h |
index c526cbfd95958c65beec9980a108857070f646f7..4c9a9bed5559fb1b486d2a732ca8e4b3cb9a1132 100644 |
--- a/remoting/protocol/it2me_host_authenticator_factory.h |
+++ b/remoting/protocol/it2me_host_authenticator_factory.h |
@@ -12,20 +12,18 @@ |
#include "base/memory/scoped_ptr.h" |
#include "remoting/protocol/authenticator.h" |
-namespace crypto { |
-class RSAPrivateKey; |
-} // namespace crypto |
- |
namespace remoting { |
namespace protocol { |
+class KeyPair; |
+ |
// It2MeHostAuthenticatorFactory implements AuthenticatorFactory and |
// understands both the V2 and legacy V1 authentication mechanisms. |
class It2MeHostAuthenticatorFactory : public AuthenticatorFactory { |
public: |
It2MeHostAuthenticatorFactory( |
const std::string& local_cert, |
- const crypto::RSAPrivateKey& local_private_key, |
+ scoped_ptr<KeyPair> key_pair, |
const std::string& shared_secret); |
virtual ~It2MeHostAuthenticatorFactory(); |
@@ -37,7 +35,7 @@ class It2MeHostAuthenticatorFactory : public AuthenticatorFactory { |
private: |
std::string local_cert_; |
- scoped_ptr<crypto::RSAPrivateKey> local_private_key_; |
+ scoped_ptr<KeyPair> key_pair_; |
std::string shared_secret_; |
DISALLOW_COPY_AND_ASSIGN(It2MeHostAuthenticatorFactory); |