Botan 3.6.1
Crypto and TLS for C&
Botan::PK_Ops::Verification Class Referenceabstract

#include <pk_ops.h>

Inheritance diagram for Botan::PK_Ops::Verification:
Botan::TPM2::Signature_Operation_Base< PK_Ops::Verification > Botan::PK_Ops::Verification_with_Hash Botan::XMSS_Verification_Operation Botan::TPM2::Verification_Operation

Public Member Functions

virtual std::string hash_function () const =0
 
virtual bool is_valid_signature (std::span< const uint8_t > sig)=0
 
virtual void update (std::span< const uint8_t > input)=0
 
virtual ~Verification ()=default
 

Detailed Description

Public key signature verification interface

Definition at line 80 of file pk_ops.h.

Constructor & Destructor Documentation

◆ ~Verification()

virtual Botan::PK_Ops::Verification::~Verification ( )
virtualdefault

Member Function Documentation

◆ hash_function()

virtual std::string Botan::PK_Ops::Verification::hash_function ( ) const
pure virtual

◆ is_valid_signature()

virtual bool Botan::PK_Ops::Verification::is_valid_signature ( std::span< const uint8_t > sig)
pure virtual

Perform a verification operation

Parameters
sigthe signature to be checked with respect to the input

Implemented in Botan::PK_Ops::Verification_with_Hash, Botan::TPM2::Verification_Operation, and Botan::XMSS_Verification_Operation.

◆ update()

virtual void Botan::PK_Ops::Verification::update ( std::span< const uint8_t > input)
pure virtual

Add more data to the message currently being signed

Parameters
inputthe input to be hashed/verified

Implemented in Botan::PK_Ops::Verification_with_Hash, Botan::TPM2::Signature_Operation_Base< PK_Ops::Verification >, and Botan::XMSS_Verification_Operation.


The documentation for this class was generated from the following file: