| 
    Kagome
    
   Polkadot Runtime Engine in C++17 
   | 
 
#include <session_keys_api.hpp>
Public Member Functions | |
| virtual | ~SessionKeysApi ()=default | 
| virtual outcome::result< common::Buffer > | generate_session_keys (const primitives::BlockHash &block_hash, std::optional< common::Buffer > seed)=0 | 
| Generate a set of session keys with optionally using the given seed. The keys should be stored within the keystore exposed via runtime externalities.  More... | |
| virtual outcome::result< std::vector< std::pair< crypto::KeyTypeId, common::Buffer > > > | decode_session_keys (const primitives::BlockHash &block_hash, common::BufferConstRef encoded) const =0 | 
| Decode the given public session keys.  More... | |
Definition at line 19 of file session_keys_api.hpp.
      
  | 
  virtualdefault | 
      
  | 
  pure virtual | 
Decode the given public session keys.
Implemented in kagome::runtime::SessionKeysApiImpl.
      
  | 
  pure virtual | 
Generate a set of session keys with optionally using the given seed. The keys should be stored within the keystore exposed via runtime externalities.
| seed | - optional seed, which needs to be a valid utf8 string.  | 
Implemented in kagome::runtime::SessionKeysApiImpl.