pub struct EndorsedAttestationReport {
pub report: Vec<u8>,
pub signature: Vec<u8>,
pub certs: Vec<Vec<u8>>,
}
Expand description
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
certs: Vec<Vec<u8>>
Certificate matching the signing key of the signature
Implementations
sourceimpl EndorsedAttestationReport
impl EndorsedAttestationReport
pub fn new(
att_service_cfg: &AttestationServiceConfig,
pub_k: EcPublicKey
) -> Result<Self>
Trait Implementations
sourceimpl Debug for EndorsedAttestationReport
impl Debug for EndorsedAttestationReport
sourceimpl Default for EndorsedAttestationReport
impl Default for EndorsedAttestationReport
sourcefn default() -> EndorsedAttestationReport
fn default() -> EndorsedAttestationReport
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EndorsedAttestationReport
impl<'de> Deserialize<'de> for EndorsedAttestationReport
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for EndorsedAttestationReport
impl Serialize for EndorsedAttestationReport
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request