pub struct SgxQuote {
    pub version: SgxQuoteVersion,
    pub gid: u32,
    pub isv_svn_qe: u16,
    pub isv_svn_pce: u16,
    pub qe_vendor_id: Uuid,
    pub user_data: [u8; 20],
    pub isv_enclave_report: SgxEnclaveReport,
}
Expand description

An application that hosts an enclave can ask the enclave to produce a report (SgxEnclaveReport) and then pass this report to a platform service (Quoting Enclave) to produce a type of credential that reflects the enclave and platform state. The quote can be passed to entities off the platform, and verified using Intel EPID signature verification techniques.

Fields

version: SgxQuoteVersion

Version of the quote structure

gid: u32

ID of the Intel EPID group of the platform belongs to

isv_svn_qe: u16

Security version number of Quoting Enclave

isv_svn_pce: u16

Security version number of PCE

qe_vendor_id: Uuid

Vendor ID of Quoting Enclave

user_data: [u8; 20]

User data

isv_enclave_report: SgxEnclaveReport

Report generated by the enclave

Implementations

Parse from bytes to SgxQuote.

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