Skip to main content

Checks

Struct Checks 

Source
pub struct Checks<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G> { /* private fields */ }
Expand description

All whole-signature X.509 presence and placement checks derived from the SAME complete participant/status closure and original artifact index. Reports preserve negative facts; no unsuccessful subset is promoted.

Format-specific credential data, status usability, chronology, archive coverage and application trust are separate. In particular a certificate-free credential does not make its other format-specific evidence unnecessary.

Implementations§

Source§

impl<N: Copy, D: Copy, G: Copy> Checks<'_, '_, '_, '_, '_, N, D, G>

Source

pub fn presence(&self) -> &Incorporation<'_, '_, N, D, G, Placement<N>>

Complete incorporated presence, including explicitly missing artifacts.

Source

pub fn conditional(&self) -> &ConditionalPlacement<'_, '_, N, D, G>

Requirements activated by each present original validation container.

Source

pub fn exclusive(&self) -> &ExclusivePlacement<'_, '_, N, D, G>

Forbidden or indeterminate exclusively credential/TSA CA copies.

Source

pub fn timestamps(&self) -> &TimestampPlacement<'_, '_, '_, '_, '_, N, D, G>

Each actual timestamp’s own validation-material placement.

Source

pub fn all_x509_requirements_met(&self) -> bool

Only complete X.509 incorporated presence and mandatory placement. This is NOT a B-LT grade, Good status or complete credential-format evidence.

Trait Implementations§

Source§

impl<'v, 'd, N: Copy, D: Copy, G: Copy> X509Material<'v, 'd> for Checks<'_, '_, 'v, '_, 'd, N, D, G>

Source§

type Id = N

Original node identity.
Source§

type Document = D

Stable document identity.
Source§

type Generation = G

Exact document generation.
Source§

type Issuer = Xades

Issuer of the receipts the report was derived from.
Source§

fn requirements(&self) -> &ParticipantRequirements<'v, 'd, N, D, G, Xades>

The participant census the report was derived from.
Source§

fn all_x509_requirements_met(&self) -> bool

Every X.509 presence and placement requirement of the format holds.

Auto Trait Implementations§

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G> !Freeze for Checks<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G> !RefUnwindSafe for Checks<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G> !Send for Checks<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G> !Sync for Checks<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G> !UnwindSafe for Checks<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G> Forget for Checks<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G> Unpin for Checks<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>
where Incorporation<'certificate, 'document, N, D, G, Placement<N>>: Unpin, ConditionalPlacement<'certificate, 'document, N, D, G>: Unpin, ExclusivePlacement<'certificate, 'document, N, D, G>: Unpin, TimestampPlacement<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>: Unpin,

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G> UnsafeUnpin for Checks<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>
where Incorporation<'certificate, 'document, N, D, G, Placement<N>>: UnsafeUnpin, ConditionalPlacement<'certificate, 'document, N, D, G>: UnsafeUnpin, ExclusivePlacement<'certificate, 'document, N, D, G>: UnsafeUnpin, TimestampPlacement<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G>: UnsafeUnpin,

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.