|
Botan 3.12.0
Crypto and TLS for C&
|
#include <dl_scheme.h>
Public Member Functions | |
| bool | check_key (RandomNumberGenerator &rng, bool strong) const |
| std::vector< uint8_t > | DER_encode () const |
| DL_PublicKey (const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits, DL_Group_Format format) | |
| DL_PublicKey (const DL_Group &group, const BigInt &public_key) | |
| size_t | estimated_strength () const |
| const BigInt & | get_int_field (std::string_view algo_name, std::string_view field) const |
| const DL_Group & | group () const |
| size_t | p_bits () const |
| const BigInt & | public_key () const |
| std::vector< uint8_t > | public_key_as_bytes () const |
Definition at line 21 of file dl_scheme.h.
Definition at line 38 of file dl_scheme.cpp.
References BOTAN_ARG_CHECK, group(), and public_key().
| Botan::DL_PublicKey::DL_PublicKey | ( | const AlgorithmIdentifier & | alg_id, |
| std::span< const uint8_t > | key_bits, | ||
| DL_Group_Format | format ) |
Definition at line 43 of file dl_scheme.cpp.
References BOTAN_ARG_CHECK.
| bool Botan::DL_PublicKey::check_key | ( | RandomNumberGenerator & | rng, |
| bool | strong ) const |
Definition at line 60 of file dl_scheme.cpp.
| std::vector< uint8_t > Botan::DL_PublicKey::DER_encode | ( | ) | const |
Definition at line 54 of file dl_scheme.cpp.
References Botan::DER_Encoder::encode().
| size_t Botan::DL_PublicKey::estimated_strength | ( | ) | const |
Definition at line 64 of file dl_scheme.cpp.
| const BigInt & Botan::DL_PublicKey::get_int_field | ( | std::string_view | algo_name, |
| std::string_view | field ) const |
Definition at line 105 of file dl_scheme.cpp.
|
inline |
| size_t Botan::DL_PublicKey::p_bits | ( | ) | const |
Definition at line 68 of file dl_scheme.cpp.
|
inline |
| std::vector< uint8_t > Botan::DL_PublicKey::public_key_as_bytes | ( | ) | const |
Definition at line 50 of file dl_scheme.cpp.