8#ifndef BOTAN_ECGDSA_KEY_H_
9#define BOTAN_ECGDSA_KEY_H_
11#include <botan/ecc_key.h>
27#if defined(BOTAN_HAS_LEGACY_EC_POINT)
48 std::string
algo_name()
const override {
return "ECGDSA"; }
50 std::optional<size_t> _signature_element_size_for_DER_encoding()
const override;
56 std::unique_ptr<PK_Ops::Verification> create_verification_op(std::string_view params,
57 std::string_view provider)
const override;
59 std::unique_ptr<PK_Ops::Verification> create_x509_verification_op(
const AlgorithmIdentifier& signature_algorithm,
60 std::string_view provider)
const override;
108 std::unique_ptr<Public_Key> public_key()
const override;
113 std::string_view params,
114 std::string_view provider)
const override;
#define BOTAN_DIAGNOSTIC_POP
#define BOTAN_DIAGNOSTIC_PUSH
#define BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_DEPRECATED(msg)
ECGDSA_PrivateKey(const EC_Group &group, const EC_Scalar &x)
ECGDSA_PrivateKey(const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits)
ECGDSA_PrivateKey(RandomNumberGenerator &rng, const EC_Group &group)
ECGDSA_PublicKey()=default
bool supports_operation(PublicKeyOperation op) const override
std::string algo_name() const override
ECGDSA_PublicKey(const EC_Group &group, const EC_AffinePoint &public_key)
ECGDSA_PublicKey(const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits)
EC_PrivateKey(const EC_PrivateKey &other)=default
EC_PublicKey(const EC_PublicKey &other)=default