8#ifndef BOTAN_ECKCDSA_KEY_H_
9#define BOTAN_ECKCDSA_KEY_H_
11#include <botan/ecc_key.h>
27#if defined(BOTAN_HAS_LEGACY_EC_POINT)
47 std::string
algo_name()
const override {
return "ECKCDSA"; }
49 std::optional<size_t> _signature_element_size_for_DER_encoding()
const override;
55 std::unique_ptr<PK_Ops::Verification> create_verification_op(std::string_view params,
56 std::string_view provider)
const override;
58 std::unique_ptr<PK_Ops::Verification> create_x509_verification_op(
const AlgorithmIdentifier& signature_algorithm,
59 std::string_view provider)
const override;
109 std::unique_ptr<Public_Key> public_key()
const override;
112 std::string_view params,
113 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)
ECKCDSA_PrivateKey(RandomNumberGenerator &rng, const EC_Group &group)
ECKCDSA_PrivateKey(const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits)
ECKCDSA_PrivateKey(const EC_Group &group, const EC_Scalar &x)
bool supports_operation(PublicKeyOperation op) const override
std::string algo_name() const override
ECKCDSA_PublicKey()=default
ECKCDSA_PublicKey(const EC_Group &group, const EC_AffinePoint &public_key)
ECKCDSA_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