pub struct SgxEnclaveReport {
    pub cpu_svn: [u8; 16],
    pub misc_select: u32,
    pub attributes: [u8; 16],
    pub mr_enclave: [u8; 32],
    pub mr_signer: [u8; 32],
    pub isv_prod_id: u16,
    pub isv_svn: u16,
    pub report_data: [u8; 64],
}
Expand description

A report generated by an enclave that contains measurement, identity and other data related to enclave.

Note

Do not confuse SgxEnclaveReport with AttestationReport. SgxEnclaveReport is generated by SGX hardware and endorsed by Quoting Enclave through local attestation. The endorsed SgxEnclaveReport is an SgxQuote. The quote is then sent to some attestation service (IAS or DCAP-based AS). The endorsed SgxQuote is an attestation report signed by attestation service’s private key, a.k.a., EndorsedAttestationReport.

Fields

cpu_svn: [u8; 16]

Security version number of host system’s CPU

misc_select: u32

Misc select bits for the target enclave. Reserved for future function extension.

attributes: [u8; 16]

Attributes of the enclave, for example, whether the enclave is running in debug mode.

mr_enclave: [u8; 32]

Measurement value of the enclave. See EnclaveMeasurement

mr_signer: [u8; 32]

Measurement value of the public key that verified the enclave. See EnclaveMeasurement

isv_prod_id: u16

Product ID of the enclave

isv_svn: u16

Security version number of the enclave

report_data: [u8; 64]

Set of data used for communication between enclave and target enclave

Implementations

Parse bytes of report into SgxEnclaveReport.

Trait Implementations

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

Wrap the input message T in a tonic::Request
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more