| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_BASE_H_ | 5 #ifndef REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_BASE_H_ |
| 6 #define REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_BASE_H_ | 6 #define REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_BASE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "remoting/protocol/authenticator.h" | 10 #include "remoting/protocol/authenticator.h" |
| 11 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 11 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h" |
| 12 | 12 |
| 13 namespace remoting { | 13 namespace remoting { |
| 14 namespace protocol { | 14 namespace protocol { |
| 15 | 15 |
| 16 // The pairing authenticator builds on top of V2Authenticator to add | 16 // The pairing authenticator builds on top of V2Authenticator to add |
| 17 // support for PIN-less authentication via device pairing: | 17 // support for PIN-less authentication via device pairing: |
| 18 // | 18 // |
| 19 // * If a client device is already paired, it includes in the initial | 19 // * If a client device is already paired, it includes in the initial |
| 20 // authentication message a Client Id and the first SPAKE message | 20 // authentication message a Client Id and the first SPAKE message |
| 21 // using the Paired Secret and HMAC_SHA256. | 21 // using the Paired Secret and HMAC_SHA256. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 base::WeakPtrFactory<PairingAuthenticatorBase> weak_factory_; | 83 base::WeakPtrFactory<PairingAuthenticatorBase> weak_factory_; |
| 84 | 84 |
| 85 DISALLOW_COPY_AND_ASSIGN(PairingAuthenticatorBase); | 85 DISALLOW_COPY_AND_ASSIGN(PairingAuthenticatorBase); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace protocol | 88 } // namespace protocol |
| 89 } // namespace remoting | 89 } // namespace remoting |
| 90 | 90 |
| 91 #endif // REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_H_ | 91 #endif // REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_H_ |
| OLD | NEW |