Documentation ¶
Overview ¶
Package attestation provides attestation data structures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyReport = errors.New("empty report")
ErrEmptyReport is returned by VerifyRemoteReport if reportBytes is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct { Data []byte // The report data that has been included in the report. SecurityVersion uint // Security version of the enclave. For SGX enclaves, this is the ISVSVN value. Debug bool // If true, the report is for a debug enclave. UniqueID []byte // The unique ID for the enclave. For SGX enclaves, this is the MRENCLAVE value. SignerID []byte // The signer ID for the enclave. For SGX enclaves, this is the MRSIGNER value. ProductID []byte // The Product ID for the enclave. For SGX enclaves, this is the ISVPRODID value. }
Report is a parsed enclave report.
Click to show internal directories.
Click to hide internal directories.