Botan 3.0.0
Crypto and TLS for C&
|
#include <xmss_verification_operation.h>
Public Member Functions | |
std::string | hash_function () const override |
bool | is_valid_signature (const uint8_t sig[], size_t sig_len) override |
void | update (const uint8_t msg[], size_t msg_len) 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 18 of file xmss_verification_operation.cpp.
|
inlineoverridevirtual |
Return the hash function being used by this signer
Implements Botan::PK_Ops::Verification.
Definition at line 31 of file xmss_verification_operation.h.
References Botan::XMSS_Hash::hash_function().
|
overridevirtual |
Perform a verification operation
Implements Botan::PK_Ops::Verification.
Definition at line 120 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
msg | the message |
msg_len | the length of msg in bytes |
Implements Botan::PK_Ops::Verification.
Definition at line 115 of file xmss_verification_operation.cpp.