# Functions
PckCertificateExtensions returns only those x509v3 extensions from the PCK certificate into a struct type which will be required in verification purpose.
PckCrlURL returns the Intel PCS URL for retrieving PCK CRL.
QeIdentityURL returns the Intel PCS URL for retrieving QE identity.
TcbInfoURL returns the Intel PCS URL for retrieving TCB Info.
# Constants
TcbComponentStatusConfigurationAndSWHardeningNeeded denotes tcb status as ConfigurationAndSWHardeningNeeded.
TcbComponentStatusConfigurationNeeded denotes tcb status as ConfigurationNeeded.
TcbComponentStatusOutOfDate denotes tcb status as OutOfDate.
TcbComponentStatusOutOfDateConfigurationNeeded denotes tcb status as OutOfDateConfigurationNeeded.
TcbComponentStatusRevoked denotes tcb status as Revoked.
TcbComponentStatusSwHardeningNeeded denotes tcb status as SWHardeningNeeded.
TcbComponentStatusUpToDate denotes tcb status as UpToDate.
# Variables
ErrPckExtInvalid error returned when parsing PCK certificate's extension returns leftover bytes.
ErrSgxExtInvalid error returned when parsing SGX extensions returns leftover bytes.
ErrTcbCompInvalid error returned when parsing of TCB components in SGX Extension returns leftover bytes.
ErrTcbExtInvalid error returned when parsing of TCB in SGX Extension returns leftover bytes.
OidCPUSvn is the x509v3 extension for PCK certificate's SGX Extensions CPUSVN component in TCB struct.
OidFMSPC is the x509v3 extension for PCK certificate's SGX Extensions FMSPC value.
OidPCEID is the x509v3 extension for PCK certificate's SGX Extensions PCEID value.
OidPCESvn is the x509v3 extension for PCK certificate's SGX Extensions PCESVN component in TCB struct.
OidPPID is the x509v3 extension for PCK certificate's SGX Extensions PPID value.
OidSgxExtension is the x509v3 extension for PCK certificate's SGX Extension.
OidTCB is the x509v3 extension for PCK certificate's SGX Extensions TCB struct.
# Structs
EnclaveIdentity struct is used to map enclave identity field.
HexBytes struct contains hex decoded string to bytes value.
PckCertTCB represents struct that store information related to TCB components.
PckExtensions represents the information stored in the x509 extensions of a PCK certificate which will be required for verification.
QeIdentity struct is used to map response from enclaveIdentity PCS API Call.
Tcb struct is used to map TCB field.
TcbComponent struct is used to map sgx/tdx tcb components.
TcbInfo struct is used to map response from tcbInfo field.
TcbLevel struct is used to map TCB Level field.
TdxModule struct is used to map response from tcbInfo for tdxModule field.
TdxModuleIdentity struct is used to map response from tcbInfo for TdxModuleIdentity field.
TdxTcbInfo struct is used to map response from tcbInfo PCS API Service.
# Type aliases
TcbComponentStatus represents the status of corresponding TCB field.