Index: remoting/protocol/v2_authenticator.h |
diff --git a/remoting/protocol/v2_authenticator.h b/remoting/protocol/v2_authenticator.h |
index ef6503c26c8b4fc15f9a980eecb184cd55eeb595..6013995d881d6602627f134862bd4606a5344d18 100644 |
--- a/remoting/protocol/v2_authenticator.h |
+++ b/remoting/protocol/v2_authenticator.h |
@@ -12,12 +12,9 @@ |
#include "base/gtest_prod_util.h" |
#include "base/memory/scoped_ptr.h" |
#include "crypto/p224_spake.h" |
+#include "remoting/base/rsa_key_pair.h" |
Wez
2013/03/06 00:43:25
nit: Can you forward-declare RsaKeyPair?
rmsousa
2013/03/06 04:36:49
Done.
|
#include "remoting/protocol/authenticator.h" |
-namespace crypto { |
-class RSAPrivateKey; |
-} // namespace crypto |
- |
namespace remoting { |
namespace protocol { |
@@ -31,7 +28,7 @@ class V2Authenticator : public Authenticator { |
static scoped_ptr<Authenticator> CreateForHost( |
const std::string& local_cert, |
- const crypto::RSAPrivateKey& local_private_key, |
+ scoped_refptr<RsaKeyPair> key_pair, |
const std::string& shared_secret, |
State initial_state); |
@@ -56,7 +53,7 @@ class V2Authenticator : public Authenticator { |
// Used only for host authenticators. |
std::string local_cert_; |
- scoped_ptr<crypto::RSAPrivateKey> local_private_key_; |
+ scoped_refptr<RsaKeyPair> local_key_pair_; |
bool certificate_sent_; |
// Used only for client authenticators. |