Botan 3.6.1
Crypto and TLS for C&
|
#include <xmss_verification_operation.h>
Public Member Functions | |
std::string | hash_function () const override |
bool | is_valid_signature (std::span< const uint8_t > sign) override |
void | update (std::span< const uint8_t > input) override |
XMSS_Verification_Operation (const XMSS_PublicKey &public_key) | |
Provides signature verification capabilities for Extended Hash-Based Signatures (XMSS).
Definition at line 21 of file xmss_verification_operation.h.
Botan::XMSS_Verification_Operation::XMSS_Verification_Operation | ( | const XMSS_PublicKey & | public_key | ) |
Definition at line 19 of file xmss_verification_operation.cpp.
|
inlineoverridevirtual |
Return the hash function being used by this signer
Implements Botan::PK_Ops::Verification.
Definition at line 29 of file xmss_verification_operation.h.
References Botan::XMSS_Hash::hash_function().
|
overridevirtual |
Perform a verification operation
sig | the signature to be checked with respect to the input |
Implements Botan::PK_Ops::Verification.
Definition at line 83 of file xmss_verification_operation.cpp.
References Botan::XMSS_Parameters::oid(), and Botan::XMSS_PublicKey::xmss_parameters().
|
overridevirtual |
Add more data to the message currently being signed
input | the input to be hashed/verified |
Implements Botan::PK_Ops::Verification.
Definition at line 79 of file xmss_verification_operation.cpp.