Botan 3.6.1
Crypto and TLS for C&
|
#include <pk_ops_impl.h>
Public Member Functions | |
virtual AlgorithmIdentifier | algorithm_identifier () const |
std::vector< uint8_t > | sign (RandomNumberGenerator &rng) override |
virtual size_t | signature_length () const =0 |
void | update (std::span< const uint8_t > input) override |
~Signature_with_Hash () override=default | |
Protected Member Functions | |
std::string | hash_function () const final |
Signature_with_Hash (std::string_view hash) | |
Definition at line 80 of file pk_ops_impl.h.
|
overridedefault |
|
explicitprotected |
Definition at line 119 of file pk_ops.cpp.
|
virtualinherited |
Return an algorithm identifier associated with this signature scheme.
Default implementation throws an exception
Reimplemented in Botan::XMSS_Signature_Operation.
Definition at line 24 of file pk_ops.cpp.
|
inlinefinalprotectedvirtual |
Return the hash function being used by this signer
Implements Botan::PK_Ops::Signature.
Definition at line 91 of file pk_ops_impl.h.
|
overridevirtual |
Perform a signature operation
rng | a random number generator |
Implements Botan::PK_Ops::Signature.
Definition at line 136 of file pk_ops.cpp.
|
pure virtualinherited |
Return an upper bound on the length of the output signature
Implemented in Botan::XMSS_Signature_Operation.
|
overridevirtual |
Add more data to the message currently being signed
input | the input to be hashed/signed |
Implements Botan::PK_Ops::Signature.
Definition at line 132 of file pk_ops.cpp.