CCF
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ccf::pal::snp::TcbVersionRaw Struct Reference

#include <attestation_sev_snp.h>

Public Member Functions

bool operator== (const TcbVersionRaw &other) const =default
 
 TcbVersionRaw ()=default
 
 TcbVersionRaw (const std::vector< uint8_t > &data)
 
std::vector< uint8_t > data () const
 
std::string to_hex () const
 
TcbVersionPolicy to_policy (ProductName product) const
 
TcbVersionMilanGenoaas_milan_genoa ()
 
TcbVersionTurinas_turin ()
 

Static Public Member Functions

static TcbVersionRaw from_hex (const std::string &hex)
 

Constructor & Destructor Documentation

◆ TcbVersionRaw() [1/2]

ccf::pal::snp::TcbVersionRaw::TcbVersionRaw ( )
default

◆ TcbVersionRaw() [2/2]

ccf::pal::snp::TcbVersionRaw::TcbVersionRaw ( const std::vector< uint8_t > &  data)
inline

Member Function Documentation

◆ as_milan_genoa()

TcbVersionMilanGenoa * ccf::pal::snp::TcbVersionRaw::as_milan_genoa ( )
inline

◆ as_turin()

TcbVersionTurin * ccf::pal::snp::TcbVersionRaw::as_turin ( )
inline

◆ data()

std::vector< uint8_t > ccf::pal::snp::TcbVersionRaw::data ( ) const
inline

◆ from_hex()

static TcbVersionRaw ccf::pal::snp::TcbVersionRaw::from_hex ( const std::string &  hex)
inlinestatic

◆ operator==()

bool ccf::pal::snp::TcbVersionRaw::operator== ( const TcbVersionRaw other) const
default

◆ to_hex()

std::string ccf::pal::snp::TcbVersionRaw::to_hex ( ) const
inline

◆ to_policy()

TcbVersionPolicy ccf::pal::snp::TcbVersionRaw::to_policy ( ProductName  product) const
inline

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