Definition at line 42 of file private_key.cpp.
◆ generate_shared_secret_visitor()
fc::crypto::generate_shared_secret_visitor::generate_shared_secret_visitor |
( |
const public_key::storage_type & | pub_storage | ) |
|
|
inline |
Definition at line 43 of file private_key.cpp.
45 {}
const public_key::storage_type & _pub_storage
◆ operator()()
template<typename KeyType >
sha512 fc::crypto::generate_shared_secret_visitor::operator() |
( |
const KeyType & | key | ) |
const |
|
inline |
Definition at line 48 of file private_key.cpp.
49 {
50 using PublicKeyType = typename KeyType::public_key_type;
51 return key.generate_shared_secret(std::template get<PublicKeyType>(
_pub_storage));
52 }
◆ _pub_storage
The documentation for this struct was generated from the following file: