[][src]Struct teaclave_attestation::EndorsedAttestationReport

pub struct EndorsedAttestationReport {
    pub report: Vec<u8>,
    pub signature: Vec<u8>,
    pub signing_cert: Vec<u8>,
}

AttestationReport can be endorsed by either the Intel Attestation Service using EPID or Data Center Attestation Service (platform dependent) using ECDSA.

Fields

report: Vec<u8>

Attestation report generated by the hardware

signature: Vec<u8>

Singature of the report

signing_cert: Vec<u8>

Certificate matching the signing key of the signature

Methods

impl EndorsedAttestationReport[src]

pub fn new(
    att_service_cfg: &AttestationServiceConfig,
    pub_k: sgx_ec256_public_t
) -> Result<Self>
[src]

Trait Implementations

impl Default for EndorsedAttestationReport[src]

impl<'de> Deserialize<'de> for EndorsedAttestationReport[src]

impl Serialize for EndorsedAttestationReport[src]

Auto Trait Implementations

impl RefUnwindSafe for EndorsedAttestationReport

impl Send for EndorsedAttestationReport

impl Sync for EndorsedAttestationReport

impl Unpin for EndorsedAttestationReport

impl UnwindSafe for EndorsedAttestationReport

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]