Skip to main content

Checked

Struct Checked 

Source
pub struct Checked<'model, 'document, 'path> {
    pub signature: Signature,
    pub identifier: CertificateAgreement,
    pub bindings: Bindings,
    pub authority: AuthorityFacts,
    pub imprint: ImprintAgreement,
    pub accuracy: Option<DeviationError>,
    pub timeliness: Timeliness,
    pub unknown_critical: OwnedVec<OwnedOid>,
    pub restrictions: PathRestriction,
    /* private fields */
}
Expand description

Independently retained completed facts, including negative outcomes. A successful actor is private and requires the common Evidence plus all signed ESS path restrictions; public diagnostics cannot manufacture one.

Fields§

§signature: Signature

Original CMS result, independently of authority/path acceptance.

§identifier: CertificateAgreement

Actual selected-certificate SID/hint comparison.

§bindings: Bindings

Both independent original ESS hash bindings.

§authority: AuthorityFacts

Original exclusive EKU and optional TSA-name answers.

§imprint: ImprintAgreement

Complete original format-selected input agreement.

§accuracy: Option<DeviationError>

Original readable scalar accuracy failure, never clamped.

§timeliness: Timeliness

Original freshness/reference result, including Unverified/Uncertain.

§unknown_critical: OwnedVec<OwnedOid>

Every original unknown critical identifier, with retained storage charge.

§restrictions: PathRestriction

Signed later-identifier restrictions against the actual selected path.

Implementations§

Source§

impl<'m, 'd, 'p> Checked<'m, 'd, 'p>

Source

pub fn actor( &self, ) -> Option<&CheckedActor<'p, 'd, Node, DocumentId<'m, 'd>, (), Cades>>

Original successfully bound actor, or explicit absence of proof.

Source

pub fn into_actor( self, ) -> Option<CheckedActor<'p, 'd, Node, DocumentId<'m, 'd>, (), Cades>>

Moves the independently retained evidence without copying/re-hashing.

Auto Trait Implementations§

§

impl<'model, 'document, 'path> !Freeze for Checked<'model, 'document, 'path>

§

impl<'model, 'document, 'path> !RefUnwindSafe for Checked<'model, 'document, 'path>

§

impl<'model, 'document, 'path> !Send for Checked<'model, 'document, 'path>

§

impl<'model, 'document, 'path> !Sync for Checked<'model, 'document, 'path>

§

impl<'model, 'document, 'path> !UnwindSafe for Checked<'model, 'document, 'path>

§

impl<'model, 'document, 'path> Forget for Checked<'model, 'document, 'path>

§

impl<'model, 'document, 'path> Unpin for Checked<'model, 'document, 'path>

§

impl<'model, 'document, 'path> UnsafeUnpin for Checked<'model, 'document, 'path>

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<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, 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.