10#ifndef BOTAN_ECDSA_KEY_H_
11#define BOTAN_ECDSA_KEY_H_
13#include <botan/ecc_key.h>
47 const EC_Group& group,
const std::vector<uint8_t>& msg,
const BigInt& r,
const BigInt& s, uint8_t v);
53 std::string
algo_name()
const override {
return "ECDSA"; }
63 uint8_t recovery_param(
const std::vector<uint8_t>& msg,
const BigInt& r,
const BigInt& s)
const;
65 std::unique_ptr<PK_Ops::Verification> create_verification_op(std::string_view params,
66 std::string_view provider)
const override;
68 std::unique_ptr<PK_Ops::Verification> create_x509_verification_op(
const AlgorithmIdentifier& signature_algorithm,
69 std::string_view provider)
const override;
104 std::unique_ptr<Public_Key> public_key()
const override;
107 std::string_view params,
108 std::string_view provider)
const override;
ECDSA_PrivateKey(const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits)
ECDSA_PrivateKey(RandomNumberGenerator &rng, const EC_Group &domain, const BigInt &x=BigInt::zero())
std::string algo_name() const override
ECDSA_PublicKey()=default
size_t message_part_size() const override
ECDSA_PublicKey(const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits)
size_t message_parts() const override
bool supports_operation(PublicKeyOperation op) const override
ECDSA_PublicKey(const EC_Group &dom_par, const EC_Point &public_point)
int(* final)(unsigned char *, CTX *)
#define BOTAN_DIAGNOSTIC_POP
#define BOTAN_DIAGNOSTIC_PUSH
#define BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE
#define BOTAN_PUBLIC_API(maj, min)