Index: components/cryptauth/session_keys.h |
diff --git a/components/cryptauth/session_keys.h b/components/cryptauth/session_keys.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a15a82e3bda52973f881f507fbaa1c9e5a4ff2e2 |
--- /dev/null |
+++ b/components/cryptauth/session_keys.h |
@@ -0,0 +1,36 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_CRYPTAUTH_SESSION_KEYS_H_ |
+#define COMPONENTS_CRYPTAUTH_SESSION_KEYS_H_ |
+ |
+#include <string> |
+ |
+#include "base/macros.h" |
+ |
+namespace cryptauth { |
+ |
+class SessionKeys { |
Tim Song
2017/05/22 23:18:24
Add a brief class comment here.
sacomoto
2017/05/23 09:50:14
Done.
|
+ public: |
+ // 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.
|
+ explicit SessionKeys(const std::string& master_symmetric_key); |
+ |
+ virtual ~SessionKeys(); |
+ |
+ virtual std::string initiator_encode_key() const; |
+ virtual std::string responder_encode_key() const; |
+ |
+ private: |
+ // The initiator encoding key. |
+ std::string initiator_encode_key_; |
+ |
+ // The responder encoding key. |
+ std::string responder_encode_key_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(SessionKeys); |
+}; |
+ |
+} // namespace cryptauth |
+ |
+#endif // COMPONENTS_CRYPTAUTH_SESSION_KEYS_H_ |