11#include <botan/pk_keys.h>
44 std::string
algo_name()
const override {
return "DSA"; }
63 std::string_view provider)
const override;
66 std::string_view provider)
const override;
73 DSA_PublicKey(std::shared_ptr<const DL_PublicKey> key) : m_public_key(std::move(key)) {}
75 std::shared_ptr<const DL_PublicKey> m_public_key;
109 std::unique_ptr<Public_Key> public_key()
const override;
119 std::string_view params,
120 std::string_view provider)
const override;
123 std::shared_ptr<const DL_PrivateKey> m_private_key;
#define BOTAN_DEPRECATED_HEADER(hdr)
#define BOTAN_DIAGNOSTIC_POP
#define BOTAN_DIAGNOSTIC_PUSH
#define BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE
#define BOTAN_PUBLIC_API(maj, min)
virtual bool check_key(RandomNumberGenerator &rng, bool strong) const =0
virtual std::unique_ptr< Private_Key > generate_another(RandomNumberGenerator &rng) const =0
virtual const BigInt & get_int_field(std::string_view field) const
virtual std::optional< size_t > _signature_element_size_for_DER_encoding() const
virtual size_t estimated_strength() const =0
bool supports_operation(PublicKeyOperation op) const override
std::string algo_name() const override
virtual AlgorithmIdentifier algorithm_identifier() const =0
virtual std::vector< uint8_t > public_key_bits() const =0
virtual std::vector< uint8_t > raw_public_key_bits() const =0
virtual std::unique_ptr< PK_Ops::Verification > create_verification_op(std::string_view params, std::string_view provider) const
virtual std::unique_ptr< PK_Ops::Verification > create_x509_verification_op(const AlgorithmIdentifier &signature_algorithm, std::string_view provider) const
virtual size_t key_length() const =0
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector