OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/protocol/v2_authenticator.h" | 5 #include "remoting/protocol/v2_authenticator.h" |
6 | 6 |
| 7 #include <utility> |
| 8 |
7 #include "base/base64.h" | 9 #include "base/base64.h" |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
9 #include "remoting/base/constants.h" | 11 #include "remoting/base/constants.h" |
10 #include "remoting/base/rsa_key_pair.h" | 12 #include "remoting/base/rsa_key_pair.h" |
11 #include "remoting/protocol/ssl_hmac_channel_authenticator.h" | 13 #include "remoting/protocol/ssl_hmac_channel_authenticator.h" |
12 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 14 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
13 | 15 |
14 using crypto::P224EncryptedKeyExchange; | 16 using crypto::P224EncryptedKeyExchange; |
15 | 17 |
16 namespace remoting { | 18 namespace remoting { |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 remote_cert_, auth_key_); | 200 remote_cert_, auth_key_); |
199 } | 201 } |
200 } | 202 } |
201 | 203 |
202 bool V2Authenticator::is_host_side() const { | 204 bool V2Authenticator::is_host_side() const { |
203 return local_key_pair_.get() != nullptr; | 205 return local_key_pair_.get() != nullptr; |
204 } | 206 } |
205 | 207 |
206 } // namespace protocol | 208 } // namespace protocol |
207 } // namespace remoting | 209 } // namespace remoting |
OLD | NEW |