CCF
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ccf::crypto::COSEVerifier_OpenSSL Class Reference

#include <cose_verifier.h>

Inherits ccf::crypto::COSEVerifier.

Inherited by ccf::crypto::COSECertVerifier_OpenSSL, and ccf::crypto::COSEKeyVerifier_OpenSSL.

Public Member Functions

 ~COSEVerifier_OpenSSL () override
 
bool verify (const std::span< const uint8_t > &envelope, std::span< uint8_t > &authned_content) const override
 
bool verify_detached (std::span< const uint8_t > envelope, std::span< const uint8_t > payload) const override
 
bool verify_decomposed (std::span< const uint8_t > phdr, std::span< const uint8_t > payload, std::span< const uint8_t > sig, int64_t alg) const override
 
- Public Member Functions inherited from ccf::crypto::COSEVerifier
virtual ~COSEVerifier ()=default
 

Protected Member Functions

 COSEVerifier_OpenSSL (CoseKey &&key)
 

Protected Attributes

CoseKey verify_key
 

Constructor & Destructor Documentation

◆ COSEVerifier_OpenSSL()

ccf::crypto::COSEVerifier_OpenSSL::COSEVerifier_OpenSSL ( CoseKey &&  key)
inlineexplicitprotected

◆ ~COSEVerifier_OpenSSL()

ccf::crypto::COSEVerifier_OpenSSL::~COSEVerifier_OpenSSL ( )
overridedefault

Member Function Documentation

◆ verify()

bool ccf::crypto::COSEVerifier_OpenSSL::verify ( const std::span< const uint8_t > &  envelope,
std::span< uint8_t > &  authned_content 
) const
overridevirtual

◆ verify_decomposed()

bool ccf::crypto::COSEVerifier_OpenSSL::verify_decomposed ( std::span< const uint8_t >  phdr,
std::span< const uint8_t >  payload,
std::span< const uint8_t >  sig,
int64_t  alg 
) const
overridevirtual

◆ verify_detached()

bool ccf::crypto::COSEVerifier_OpenSSL::verify_detached ( std::span< const uint8_t >  envelope,
std::span< const uint8_t >  payload 
) const
overridevirtual

Member Data Documentation

◆ verify_key

CoseKey ccf::crypto::COSEVerifier_OpenSSL::verify_key
protected

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