pub struct AttestationReport {
    pub freshness: Duration,
    pub sgx_quote_status: SgxQuoteStatus,
    pub sgx_quote_body: SgxQuote,
}
Expand description

A report that can be signed by Intel EPID (which generates EndorsedAttestationReport) and then sent off of the platform to be verified by remote client.

Fields

freshness: Duration

The freshness of the report, i.e., elapsed time after acquiring the report in seconds.

sgx_quote_status: SgxQuoteStatus

Quote status

sgx_quote_body: SgxQuote

Content of the quote

Implementations

Construct a AttestationReport from a X509 certificate and verify attestation report with the report_ca_cert which is from the attestation service provider.

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