Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: remoting/protocol/authentication_method.h

Issue 10830184: Remove V1 authenticators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/protocol/it2me_host_authenticator_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // AuthenticationMethod represents an authentication algorithm and its 5 // AuthenticationMethod represents an authentication algorithm and its
6 // configuration. It knows how to parse and format authentication 6 // configuration. It knows how to parse and format authentication
7 // method names. 7 // method names.
8 // Currently the following methods are supported: 8 // Currently the following methods are supported:
9 // v1_token - deprecated V1 authentication mechanism,
10 // spake2_plain - SPAKE2 without hashing applied to the password. 9 // spake2_plain - SPAKE2 without hashing applied to the password.
11 // spake2_hmac - SPAKE2 with HMAC hashing of the password. 10 // spake2_hmac - SPAKE2 with HMAC hashing of the password.
12 11
13 #ifndef REMOTING_PROTOCOL_AUTHENTICATION_METHOD_H_ 12 #ifndef REMOTING_PROTOCOL_AUTHENTICATION_METHOD_H_
14 #define REMOTING_PROTOCOL_AUTHENTICATION_METHOD_H_ 13 #define REMOTING_PROTOCOL_AUTHENTICATION_METHOD_H_
15 14
16 #include <string> 15 #include <string>
17 16
18 namespace remoting { 17 namespace remoting {
19 namespace protocol { 18 namespace protocol {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 74
76 // Parse string representation of a shared secret hash. The |as_string| 75 // Parse string representation of a shared secret hash. The |as_string|
77 // must be in form "<hash_function>:<hash_value_base64>". 76 // must be in form "<hash_function>:<hash_value_base64>".
78 bool Parse(const std::string& as_string); 77 bool Parse(const std::string& as_string);
79 }; 78 };
80 79
81 } // namespace protocol 80 } // namespace protocol
82 } // namespace remoting 81 } // namespace remoting
83 82
84 #endif // REMOTING_PROTOCOL_AUTHENTICATION_METHOD_H_ 83 #endif // REMOTING_PROTOCOL_AUTHENTICATION_METHOD_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/protocol/it2me_host_authenticator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698