Public Types |
Public Member Functions |
Static Protected Member Functions |
Protected Attributes |
List of all members
nil::crypto3::pubkey::secret_sss< feldman_sss< Group > > Struct Template Reference
#include <feldman.hpp>
Inheritance diagram for nil::crypto3::pubkey::secret_sss< feldman_sss< Group > >:
Collaboration diagram for nil::crypto3::pubkey::secret_sss< feldman_sss< Group > >:
Public Types | |
typedef secret_sss< shamir_sss< Group > > | base_type |
typedef scheme_type::indexes_type | indexes_type |
typedef feldman_sss< Group > | scheme_type |
typedef scheme_type::private_element_type | secret_type |
typedef secret_type | value_type |
Public Member Functions | |
const value_type & | get_value () const |
template<typename Scheme , typename std::enable_if< std::is_convertible< typename std::remove_cv< typename std::remove_reference< Scheme >::type >::type, scheme_type >::value, bool >::type = true> | |
operator public_secret_sss< Scheme > () const | |
bool | operator< (const secret_sss &other) const |
bool | operator== (const secret_sss &other) const |
template<typename Shares > | |
secret_sss (const Shares &shares) | |
template<typename Shares > | |
secret_sss (const Shares &shares, const indexes_type &indexes) | |
template<typename ShareIt > | |
secret_sss (ShareIt first, ShareIt last) | |
template<typename ShareIt > | |
secret_sss (ShareIt first, ShareIt last, const indexes_type &indexes) | |
Static Protected Member Functions | |
template<typename ShareIt , typename std::enable_if< std::is_convertible< typename std::remove_cv< typename std::remove_reference< typename std::iterator_traits< ShareIt >::value_type >::type >::type, share_sss< scheme_type >>::value, bool >::type = true> | |
static secret_type | reconstruct_secret (ShareIt first, ShareIt last) |
template<typename ShareIt , typename std::enable_if< std::is_convertible< typename std::remove_cv< typename std::remove_reference< typename std::iterator_traits< ShareIt >::value_type >::type >::type, share_sss< scheme_type >>::value, bool >::type = true> | |
static secret_type | reconstruct_secret (ShareIt first, ShareIt last, const indexes_type &indexes) |
Protected Attributes | |
secret_type | secret |
Member Typedef Documentation
◆ base_type
template<typename Group >
typedef secret_sss<shamir_sss<Group> > nil::crypto3::pubkey::secret_sss< feldman_sss< Group > >::base_type |
◆ indexes_type
template<typename Group >
typedef scheme_type::indexes_type nil::crypto3::pubkey::secret_sss< feldman_sss< Group > >::indexes_type |
◆ scheme_type
template<typename Group >
typedef feldman_sss<Group> nil::crypto3::pubkey::secret_sss< feldman_sss< Group > >::scheme_type |
◆ secret_type
template<typename Group >
typedef scheme_type::private_element_type nil::crypto3::pubkey::secret_sss< feldman_sss< Group > >::secret_type |
◆ value_type
template<typename Group >
|
inherited |
Constructor & Destructor Documentation
◆ secret_sss() [1/4]
template<typename Group >
template<typename Shares >
|
inline |
◆ secret_sss() [2/4]
template<typename Group >
template<typename ShareIt >
|
inline |
◆ secret_sss() [3/4]
template<typename Group >
template<typename Shares >
|
inline |
◆ secret_sss() [4/4]
template<typename Group >
template<typename ShareIt >
|
inline |
Member Function Documentation
◆ get_value()
template<typename Group >
|
inlineinherited |
◆ operator public_secret_sss< Scheme >()
template<typename Group >
template<typename Scheme , typename std::enable_if< std::is_convertible< typename std::remove_cv< typename std::remove_reference< Scheme >::type >::type, scheme_type >::value, bool >::type = true>
|
inlineinherited |
◆ operator<()
template<typename Group >
|
inlineinherited |
◆ operator==()
template<typename Group >
|
inlineinherited |
◆ reconstruct_secret() [1/2]
template<typename Group >
template<typename ShareIt , typename std::enable_if< std::is_convertible< typename std::remove_cv< typename std::remove_reference< typename std::iterator_traits< ShareIt >::value_type >::type >::type, share_sss< scheme_type >>::value, bool >::type = true>
|
inlinestaticprotectedinherited |
◆ reconstruct_secret() [2/2]
template<typename Group >
template<typename ShareIt , typename std::enable_if< std::is_convertible< typename std::remove_cv< typename std::remove_reference< typename std::iterator_traits< ShareIt >::value_type >::type >::type, share_sss< scheme_type >>::value, bool >::type = true>
|
inlinestaticprotectedinherited |
Member Data Documentation
◆ secret
template<typename Group >
|
protectedinherited |
The documentation for this struct was generated from the following file: