openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eTPM Class Reference

#include <etpm.h>

Public Types

enum  cert_type { TPMD_DT_LEVEL2_CERT = 0x04 , TPMD_DT_LEVEL3_CERT = 0x05 , DT_LEVEL2_CERT = 0x04 , DT_LEVEL3_CERT = 0x05 }
 

Public Member Functions

 eTPM ()
 
 ~eTPM ()
 
std::string getCert (cert_type type)
 
std::string challenge (std::string rnd)
 
std::string getData (cert_type type)
 
std::string computeSignature (const std::string &data)
 

Member Enumeration Documentation

◆ cert_type

Enumerator
TPMD_DT_LEVEL2_CERT 
TPMD_DT_LEVEL3_CERT 
DT_LEVEL2_CERT 
DT_LEVEL3_CERT 

Constructor & Destructor Documentation

◆ eTPM()

eTPM::eTPM ( )

◆ ~eTPM()

eTPM::~eTPM ( )

Member Function Documentation

◆ challenge()

std::string eTPM::challenge ( std::string  rnd)

◆ computeSignature()

std::string eTPM::computeSignature ( const std::string &  data)
inline

◆ getCert()

std::string eTPM::getCert ( cert_type  type)

◆ getData()

std::string eTPM::getData ( cert_type  type)
inline

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