Botan 3.6.1
Crypto and TLS for C&
|
#include <pk_ops.h>
Public Member Functions | |
virtual AlgorithmIdentifier | algorithm_identifier () const |
virtual std::string | hash_function () const =0 |
virtual std::vector< uint8_t > | sign (RandomNumberGenerator &rng)=0 |
virtual size_t | signature_length () const =0 |
virtual void | update (std::span< const uint8_t > input)=0 |
virtual | ~Signature ()=default |
|
virtualdefault |
|
virtual |
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.
|
pure virtual |
Return the hash function being used by this signer
Implemented in Botan::PK_Ops::Signature_with_Hash, Botan::TPM2::Signature_Operation_Base< PK_Ops::Signature >, and Botan::XMSS_Signature_Operation.
|
pure virtual |
Perform a signature operation
rng | a random number generator |
Implemented in Botan::PK_Ops::Signature_with_Hash, Botan::TPM2::Signature_Operation, and Botan::XMSS_Signature_Operation.
|
pure virtual |
Return an upper bound on the length of the output signature
Implemented in Botan::XMSS_Signature_Operation.
|
pure virtual |
Add more data to the message currently being signed
input | the input to be hashed/signed |
Implemented in Botan::PK_Ops::Signature_with_Hash, Botan::TPM2::Signature_Operation_Base< PK_Ops::Signature >, and Botan::XMSS_Signature_Operation.