PrivateKey¶
#include <ECElGamalTypes.hpp>
Inherits from PublicKey< CurveType, Padding, GeneratorType, void >
Public Types¶
| Name | |
|---|---|
| typedef PublicKey< CurveType, Padding, GeneratorType, DistributionType > | base_type |
| typedef CurveType | curve_type |
| typedef Padding | padding_policy |
| typedef GeneratorType | generator_type |
| typedef DistributionType | distribution_type |
| typedef Padding::hash_type | hash_type |
| typedef nil::crypto3::pubkey::padding::encoding_accumulator_set< padding_policy > | internal_accumulator_type |
| typedef base_type::scalar_field_value_type | scalar_field_value_type |
| typedef base_type::g1_value_type | g1_value_type |
| typedef base_type::base_integral_type | base_integral_type |
| typedef base_type::scalar_modular_type | scalar_modular_type |
| typedef scalar_field_value_type | private_key_type |
| typedef base_type::public_key_type | public_key_type |
| typedef base_type::signature_type | signature_type |
Public Functions¶
| Name | |
|---|---|
| PrivateKey(const private_key_type & key) | |
| const private_key_type | GetPrivateKeyScalar() const |
| public_key_type | generate_public_key(const private_key_type & key) |
Protected Attributes¶
| Name | |
|---|---|
| private_key_type | privkey |
Additional inherited members¶
Public Types inherited from PublicKey< CurveType, Padding, GeneratorType, void >
| Name | |
|---|---|
| typedef curve_type::scalar_field_type | scalar_field_type |
| typedef curve_type::template g1_type | g1_type |
Public Functions inherited from PublicKey< CurveType, Padding, GeneratorType, void >
| Name | |
|---|---|
| PublicKey(const public_key_type & key) | |
| PublicKey(std::string_view key_string) | |
| public_key_type | pubkey_data() const |
Protected Attributes inherited from PublicKey< CurveType, Padding, GeneratorType, void >
| Name | |
|---|---|
| public_key_type | pubkey |
Detailed Description¶
template <typename CurveType ,
typename Padding ,
typename GeneratorType ,
typename DistributionType =void>
struct PrivateKey;
Public Types Documentation¶
typedef base_type¶
typedef PublicKey<CurveType, Padding, GeneratorType, DistributionType> PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::base_type;
typedef curve_type¶
typedef padding_policy¶
typedef generator_type¶
typedef GeneratorType PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::generator_type;
typedef distribution_type¶
typedef DistributionType PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::distribution_type;
typedef hash_type¶
typedef Padding::hash_type PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::hash_type;
typedef internal_accumulator_type¶
typedef nil::crypto3::pubkey::padding::encoding_accumulator_set<padding_policy> PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::internal_accumulator_type;
typedef scalar_field_value_type¶
typedef base_type::scalar_field_value_type PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::scalar_field_value_type;
typedef g1_value_type¶
typedef base_type::g1_value_type PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::g1_value_type;
typedef base_integral_type¶
typedef base_type::base_integral_type PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::base_integral_type;
typedef scalar_modular_type¶
typedef base_type::scalar_modular_type PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::scalar_modular_type;
typedef private_key_type¶
typedef scalar_field_value_type PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::private_key_type;
typedef public_key_type¶
typedef base_type::public_key_type PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::public_key_type;
typedef signature_type¶
typedef base_type::signature_type PrivateKey< CurveType, Padding, GeneratorType, DistributionType >::signature_type;
Public Functions Documentation¶
function PrivateKey¶
function GetPrivateKeyScalar¶
function generate_public_key¶
Protected Attributes Documentation¶
variable privkey¶
Updated on 2026-03-04 at 13:10:44 -0800