nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > > Struct Template Reference

#include <weighted_shamir.hpp>

+ Collaboration diagram for nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >:

Public Types

typedef public_share_type data_type
 
typedef public_share_type::first_type index_type
 
typedef scheme_type::indexes_type indexes_type
 
typedef public_share_sss< shamir_sss< Group > > part_public_share_type
 
typedef std::pair< std::size_t, std::vector< part_public_share_type > > public_share_type
 
typedef weighted_shamir_sss< Group > scheme_type
 
typedef public_share_type::second_type value_type
 

Public Member Functions

const data_typeget_data () const
 
index_type get_index () const
 
const indexes_typeget_indexes () const
 
std::size_t get_threshold_number () const
 
const value_typeget_value () const
 
std::size_t get_weight () const
 
bool operator< (const public_share_sss &other) const
 
bool operator== (const public_share_sss &other) const
 
 public_share_sss ()=default
 
template<typename PartPublicShareIt >
 public_share_sss (const std::size_t i, std::size_t threshold_number, PartPublicShareIt first, PartPublicShareIt last)
 
template<typename PartPublicShares >
 public_share_sss (std::size_t i, std::size_t threshold_number, const PartPublicShares &i_public_shares)
 
 public_share_sss (std::size_t i, std::size_t w, std::size_t threshold_number)
 
part_public_share_type to_shamir (const typename scheme_type::weights_type &confirmed_weights) const
 

Member Typedef Documentation

◆ data_type

◆ index_type

template<typename Group >
typedef public_share_type::first_type nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::index_type

◆ indexes_type

◆ part_public_share_type

◆ public_share_type

template<typename Group >
typedef std::pair<std::size_t, std::vector<part_public_share_type> > nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::public_share_type

◆ scheme_type

template<typename Group >
typedef weighted_shamir_sss<Group> nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::scheme_type

◆ value_type

template<typename Group >
typedef public_share_type::second_type nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::value_type

Constructor & Destructor Documentation

◆ public_share_sss() [1/4]

template<typename Group >
nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::public_share_sss ( )
default

◆ public_share_sss() [2/4]

template<typename Group >
nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::public_share_sss ( std::size_t  i,
std::size_t  w,
std::size_t  threshold_number 
)
inline

◆ public_share_sss() [3/4]

template<typename Group >
template<typename PartPublicShares >
nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::public_share_sss ( std::size_t  i,
std::size_t  threshold_number,
const PartPublicShares &  i_public_shares 
)
inline

◆ public_share_sss() [4/4]

template<typename Group >
template<typename PartPublicShareIt >
nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::public_share_sss ( const std::size_t  i,
std::size_t  threshold_number,
PartPublicShareIt  first,
PartPublicShareIt  last 
)
inline

Member Function Documentation

◆ get_data()

template<typename Group >
const data_type& nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::get_data ( ) const
inline

◆ get_index()

template<typename Group >
index_type nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::get_index ( ) const
inline

◆ get_indexes()

template<typename Group >
const indexes_type& nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::get_indexes ( ) const
inline

◆ get_threshold_number()

template<typename Group >
std::size_t nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::get_threshold_number ( ) const
inline

◆ get_value()

template<typename Group >
const value_type& nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::get_value ( ) const
inline

◆ get_weight()

template<typename Group >
std::size_t nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::get_weight ( ) const
inline

◆ operator<()

template<typename Group >
bool nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::operator< ( const public_share_sss< weighted_shamir_sss< Group > > &  other) const
inline

◆ operator==()

template<typename Group >
bool nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::operator== ( const public_share_sss< weighted_shamir_sss< Group > > &  other) const
inline

◆ to_shamir()

template<typename Group >
part_public_share_type nil::crypto3::pubkey::public_share_sss< weighted_shamir_sss< Group > >::to_shamir ( const typename scheme_type::weights_type confirmed_weights) const
inline

The documentation for this struct was generated from the following file: