|
Botan 3.9.0
Crypto and TLS for C&
|
#include <pk_ops_impl.h>
Public Member Functions | |
| std::string | hash_function () const final |
| bool | is_valid_signature (std::span< const uint8_t > sig) override |
| void | update (std::span< const uint8_t > input) override |
| ~Verification_with_Hash () override | |
Protected Member Functions | |
| Verification_with_Hash (const AlgorithmIdentifier &alg_id, std::string_view pk_algo, bool allow_null_parameters=false) | |
| Verification_with_Hash (std::string_view hash) | |
| virtual bool | verify (std::span< const uint8_t > msg, std::span< const uint8_t > sig)=0 |
Definition at line 57 of file pk_ops_impl.h.
|
overridedefault |
References Verification_with_Hash().
|
explicitprotected |
Definition at line 157 of file pk_ops.cpp.
Referenced by ~Verification_with_Hash().
|
explicitprotected |
Definition at line 166 of file pk_ops.cpp.
References Botan::HashFunction::create_or_throw(), Botan::fmt(), Botan::AlgorithmIdentifier::oid(), Botan::AlgorithmIdentifier::parameters_are_empty(), Botan::AlgorithmIdentifier::parameters_are_null(), Botan::split_on(), and Botan::OID::to_formatted_string().
|
finalvirtual |
Return the hash function being used by this signer
Implements Botan::PK_Ops::Verification.
Definition at line 162 of file pk_ops.cpp.
|
overridevirtual |
Perform a verification operation
| sig | the signature to be checked with respect to the input |
Implements Botan::PK_Ops::Verification.
Definition at line 193 of file pk_ops.cpp.
References verify().
|
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 189 of file pk_ops.cpp.
|
protectedpure virtual |
Perform a signature check operation
| msg | the message |
| sig | the signature |
References verify().
Referenced by is_valid_signature(), and verify().