6 #ifndef KAGOME_RUNTIME_SESSIONKEYSAPIIMPL 7 #define KAGOME_RUNTIME_SESSIONKEYSAPIIMPL 21 std::optional<common::Buffer> seed)
override;
23 outcome::result<std::vector<std::pair<crypto::KeyTypeId, common::Buffer>>>
33 #endif // KAGOME_RUNTIME_SESSIONKEYSAPIIMPL
std::shared_ptr< Executor > executor_
outcome::result< std::vector< std::pair< crypto::KeyTypeId, common::Buffer > > > decode_session_keys(const primitives::BlockHash &block_hash, common::BufferConstRef encoded) const override
Decode the given public session keys.
std::reference_wrapper< const Buffer > BufferConstRef
outcome::result< common::Buffer > generate_session_keys(const primitives::BlockHash &block_hash, std::optional< common::Buffer > seed) override
Generate a set of session keys with optionally using the given seed. The keys should be stored within...
SessionKeysApiImpl(std::shared_ptr< Executor > executor)