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"; }
51 return domain().get_order_bytes();
58 std::unique_ptr<PK_Ops::Verification> create_verification_op(std::string_view params,
59 std::string_view provider)
const override;
61 std::unique_ptr<PK_Ops::Verification> create_x509_verification_op(
const AlgorithmIdentifier& signature_algorithm,
62 std::string_view provider)
const override;
110 std::unique_ptr<Public_Key> public_key()
const override;
115 std::string_view params,
116 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(RandomNumberGenerator &rng, EC_Group group)
ECGDSA_PrivateKey(const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits)
ECGDSA_PrivateKey(EC_Group group, EC_Scalar x)
ECGDSA_PublicKey()=default
bool supports_operation(PublicKeyOperation op) const override
std::string algo_name() const override
std::optional< size_t > _signature_element_size_for_DER_encoding() 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)
int(* final)(unsigned char *, CTX *)