|
Botan 3.9.0
Crypto and TLS for C&
|
#include <ec_key_data.h>
Public Member Functions | |
| EC_PrivateKey_Data (const EC_Group &group, std::span< const uint8_t > bytes) | |
| EC_PrivateKey_Data (const EC_PrivateKey_Data &)=default | |
| EC_PrivateKey_Data (EC_Group group, EC_Scalar x) | |
| EC_PrivateKey_Data (EC_PrivateKey_Data &&)=default | |
| const EC_Group & | group () const |
| const BigInt & | legacy_bigint () const |
| EC_PrivateKey_Data & | operator= (const EC_PrivateKey_Data &)=default |
| EC_PrivateKey_Data & | operator= (EC_PrivateKey_Data &&)=default |
| const EC_Scalar & | private_key () const |
| std::shared_ptr< EC_PublicKey_Data > | public_key (bool with_modular_inverse) const |
| std::shared_ptr< EC_PublicKey_Data > | public_key (RandomNumberGenerator &rng, bool with_modular_inverse) const |
| template<typename T> | |
| T | serialize () const |
| void | serialize_to (std::span< uint8_t > output) const |
| ~EC_PrivateKey_Data () | |
Definition at line 47 of file ec_key_data.h.
Definition at line 25 of file ec_key_data.cpp.
References BOTAN_ARG_CHECK, and group().
Referenced by EC_PrivateKey_Data(), EC_PrivateKey_Data(), EC_PrivateKey_Data(), operator=(), and operator=().
| Botan::EC_PrivateKey_Data::EC_PrivateKey_Data | ( | const EC_Group & | group, |
| std::span< const uint8_t > | bytes ) |
Definition at line 61 of file ec_key_data.cpp.
References EC_PrivateKey_Data(), and group().
|
default |
References EC_PrivateKey_Data().
|
default |
References EC_PrivateKey_Data().
| Botan::EC_PrivateKey_Data::~EC_PrivateKey_Data | ( | ) |
Definition at line 64 of file ec_key_data.cpp.
|
inline |
Definition at line 72 of file ec_key_data.h.
Referenced by EC_PrivateKey_Data(), EC_PrivateKey_Data(), and serialize().
|
inline |
Definition at line 76 of file ec_key_data.h.
|
default |
References EC_PrivateKey_Data().
|
default |
References EC_PrivateKey_Data().
|
inline |
Definition at line 74 of file ec_key_data.h.
| std::shared_ptr< EC_PublicKey_Data > Botan::EC_PrivateKey_Data::public_key | ( | bool | with_modular_inverse | ) | const |
Definition at line 81 of file ec_key_data.cpp.
References public_key().
| std::shared_ptr< EC_PublicKey_Data > Botan::EC_PrivateKey_Data::public_key | ( | RandomNumberGenerator & | rng, |
| bool | with_modular_inverse ) const |
Definition at line 68 of file ec_key_data.cpp.
References Botan::EC_AffinePoint::g_mul().
Referenced by public_key().
|
inline |
Definition at line 66 of file ec_key_data.h.
References group(), and serialize_to().
| void Botan::EC_PrivateKey_Data::serialize_to | ( | std::span< uint8_t > | output | ) | const |
Definition at line 86 of file ec_key_data.cpp.
Referenced by serialize().