Skip to main content

ReceiptVerificationReport

Struct ReceiptVerificationReport 

Source
pub struct ReceiptVerificationReport<'a> {
Show 21 fields pub statement_bytes: &'a [u8], pub envelope: EnvelopeReport<'a>, pub trust_context: &'a TsTrustContext<'a>, pub policy: ReceiptVerificationPolicy, pub policy_id: &'static str, pub candidate_entry: Option<Vec<u8>>, pub candidate_derivation: InspectionFinding, pub selected_policy: InspectionFinding, pub candidate_keys: Vec<VerifyingKeyEvidence>, pub key_configuration: Vec<InspectionFinding>, pub proofs: Vec<ProofVerification>, pub signature_attempts: usize, pub ts_signature: InspectionFinding, pub inclusion: InspectionFinding, pub ts_key_association: InspectionFinding, pub ts_identity_trust: InspectionFinding, pub subject_policy: InspectionFinding, pub issuer_signature: InspectionFinding, pub application_policy: InspectionFinding, pub hardware_appraisal: InspectionFinding, pub acceptable_for_registration: InspectionFinding,
}
Expand description

Independent dimensions, with original inputs borrowed and signed bytes preserved.

Fields§

§statement_bytes: &'a [u8]§envelope: EnvelopeReport<'a>§trust_context: &'a TsTrustContext<'a>§policy: ReceiptVerificationPolicy§policy_id: &'static str§candidate_entry: Option<Vec<u8>>§candidate_derivation: InspectionFinding§selected_policy: InspectionFinding§candidate_keys: Vec<VerifyingKeyEvidence>§key_configuration: Vec<InspectionFinding>

One finding per configured association, including skipped type/algorithm routes.

§proofs: Vec<ProofVerification>§signature_attempts: usize§ts_signature: InspectionFinding§inclusion: InspectionFinding§ts_key_association: InspectionFinding§ts_identity_trust: InspectionFinding§subject_policy: InspectionFinding§issuer_signature: InspectionFinding§application_policy: InspectionFinding§hardware_appraisal: InspectionFinding§acceptable_for_registration: InspectionFinding

Trait Implementations§

Source§

impl<'a> Debug for ReceiptVerificationReport<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.