Skip to content

PublicKey

More...

#include <ECElGamalTypes.hpp>

Public Types

Name
typedef CurveType curve_type
typedef Padding padding_policy
typedef nil::crypto3::pubkey::padding::encoding_accumulator_set< padding_policy > internal_accumulator_type
typedef curve_type::scalar_field_type scalar_field_type
typedef scalar_field_type::value_type scalar_field_value_type
typedef curve_type::template g1_type g1_type
typedef g1_type::value_type g1_value_type
typedef curve_type::base_field_type::integral_type base_integral_type
typedef scalar_field_type::modular_type scalar_modular_type
typedef g1_value_type public_key_type
typedef std::pair< scalar_field_value_type, scalar_field_value_type > signature_type

Public Functions

Name
PublicKey(const public_key_type & key)
PublicKey(std::string_view key_string)
public_key_type pubkey_data() const

Protected Attributes

Name
public_key_type pubkey

Detailed Description

template <typename CurveType ,
typename Padding ,
typename GeneratorType ,
typename DistributionType  =void>
struct PublicKey;

Public Types Documentation

typedef curve_type

typedef CurveType PublicKey< CurveType, Padding, GeneratorType, DistributionType >::curve_type;

typedef padding_policy

typedef Padding PublicKey< CurveType, Padding, GeneratorType, DistributionType >::padding_policy;

typedef internal_accumulator_type

typedef nil::crypto3::pubkey::padding::encoding_accumulator_set<padding_policy> PublicKey< CurveType, Padding, GeneratorType, DistributionType >::internal_accumulator_type;

typedef scalar_field_type

typedef curve_type::scalar_field_type PublicKey< CurveType, Padding, GeneratorType, DistributionType >::scalar_field_type;

typedef scalar_field_value_type

typedef scalar_field_type::value_type PublicKey< CurveType, Padding, GeneratorType, DistributionType >::scalar_field_value_type;

typedef g1_type

typedef curve_type::template g1_type PublicKey< CurveType, Padding, GeneratorType, DistributionType >::g1_type;

typedef g1_value_type

typedef g1_type::value_type PublicKey< CurveType, Padding, GeneratorType, DistributionType >::g1_value_type;

typedef base_integral_type

typedef curve_type::base_field_type::integral_type PublicKey< CurveType, Padding, GeneratorType, DistributionType >::base_integral_type;

typedef scalar_modular_type

typedef scalar_field_type::modular_type PublicKey< CurveType, Padding, GeneratorType, DistributionType >::scalar_modular_type;

typedef public_key_type

typedef g1_value_type PublicKey< CurveType, Padding, GeneratorType, DistributionType >::public_key_type;

typedef signature_type

typedef std::pair<scalar_field_value_type, scalar_field_value_type> PublicKey< CurveType, Padding, GeneratorType, DistributionType >::signature_type;

Public Functions Documentation

function PublicKey

inline PublicKey(
    const public_key_type & key
)

function PublicKey

inline PublicKey(
    std::string_view key_string
)

function pubkey_data

inline public_key_type pubkey_data() const

Protected Attributes Documentation

variable pubkey

public_key_type pubkey;

Updated on 2026-03-04 at 13:10:44 -0800