Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_CRYPTAUTH_SESSION_KEYS_H_ | |
| 6 #define COMPONENTS_CRYPTAUTH_SESSION_KEYS_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/macros.h" | |
| 11 | |
| 12 namespace cryptauth { | |
| 13 | |
| 14 class SessionKeys { | |
|
Tim Song
2017/05/22 23:18:24
Add a brief class comment here.
sacomoto
2017/05/23 09:50:14
Done.
| |
| 15 public: | |
| 16 // Creates a WireMessage containing |payload| for feature |feature|. | |
|
Tim Song
2017/05/22 23:18:24
Remove comment.
sacomoto
2017/05/23 09:50:14
Done.
| |
| 17 explicit SessionKeys(const std::string& master_symmetric_key); | |
| 18 | |
| 19 virtual ~SessionKeys(); | |
| 20 | |
| 21 virtual std::string initiator_encode_key() const; | |
| 22 virtual std::string responder_encode_key() const; | |
| 23 | |
| 24 private: | |
| 25 // The initiator encoding key. | |
| 26 std::string initiator_encode_key_; | |
| 27 | |
| 28 // The responder encoding key. | |
| 29 std::string responder_encode_key_; | |
| 30 | |
| 31 DISALLOW_COPY_AND_ASSIGN(SessionKeys); | |
| 32 }; | |
| 33 | |
| 34 } // namespace cryptauth | |
| 35 | |
| 36 #endif // COMPONENTS_CRYPTAUTH_SESSION_KEYS_H_ | |
| OLD | NEW |