| Index: components/cryptauth/device_to_device_authenticator.h
|
| diff --git a/components/cryptauth/device_to_device_authenticator.h b/components/cryptauth/device_to_device_authenticator.h
|
| index e398206b2bab3384a0feb345a58eb1461cf6ec56..13ffa6c2226d5c37b8462b8ed9c30f7021922b6e 100644
|
| --- a/components/cryptauth/device_to_device_authenticator.h
|
| +++ b/components/cryptauth/device_to_device_authenticator.h
|
| @@ -5,12 +5,15 @@
|
| #ifndef COMPONENTS_CRYPTAUTH_DEVICE_TO_DEVICE_AUTHENTICATOR_H_
|
| #define COMPONENTS_CRYPTAUTH_DEVICE_TO_DEVICE_AUTHENTICATOR_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/callback.h"
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "components/cryptauth/authenticator.h"
|
| #include "components/cryptauth/connection.h"
|
| #include "components/cryptauth/connection_observer.h"
|
| +#include "components/cryptauth/session_keys.h"
|
|
|
| namespace base {
|
| class Timer;
|
| @@ -110,7 +113,7 @@ class DeviceToDeviceAuthenticator : public Authenticator,
|
|
|
| // Callback for validating the received [Remote Auth].
|
| void OnResponderAuthValidated(bool validated,
|
| - const std::string& session_symmetric_key);
|
| + const SessionKeys& session_keys);
|
|
|
| // Callback when [Initiator Auth] is created.
|
| void OnInitiatorAuthCreated(const std::string& message);
|
| @@ -168,8 +171,8 @@ class DeviceToDeviceAuthenticator : public Authenticator,
|
| // The private key generated for the session.
|
| std::string local_session_private_key_;
|
|
|
| - // The derived symmetric key for the session.
|
| - std::string session_symmetric_key_;
|
| + // The derived symmetric keys for the session.
|
| + SessionKeys session_keys_;
|
|
|
| base::WeakPtrFactory<DeviceToDeviceAuthenticator> weak_ptr_factory_;
|
|
|
|
|