Skip to main content

Checks

Struct Checks 

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

Complete whole-signature X.509 presence and placement facts. Actual actor, member/status and authority requirements come from the SAME LTV closure; certificate-free credentials do not waive other format-specific material.

Implementations§

Source§

impl<'d, 'm> Checks<'_, '_, '_, '_, 'd, 'm>

Source

pub fn presence( &self, ) -> &Incorporation<'_, 'd, Node, DocumentId<'m, 'd>, (), Placement>

Every actual required certificate/complete+delta CRL/OCSP artifact.

Source

pub fn findings(&self) -> &[Finding]

Missing/misplaced/known-malformed facts, independently of status usability.

Source

pub fn all_x509_requirements_met(&self) -> bool

Presence and mandatory container placement only; not Good status, historical trust, complete credential material or attained B-LT.

Trait Implementations§

Source§

impl<'v, 'd, 'm> X509Material<'v, 'd> for Checks<'_, '_, 'v, '_, 'd, 'm>

Source§

type Id = Node

Original node identity.
Source§

type Document = DocumentId<'m, 'd>

Stable document identity.
Source§

type Generation = ()

Exact document generation.
Source§

type Issuer = Cades

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

fn requirements( &self, ) -> &ParticipantRequirements<'v, 'd, Node, DocumentId<'m, 'd>, (), Cades>

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, 'model> !Freeze for Checks<'closure, 'requirements, 'view, 'certificate, 'document, 'model>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, 'model> !RefUnwindSafe for Checks<'closure, 'requirements, 'view, 'certificate, 'document, 'model>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, 'model> !Send for Checks<'closure, 'requirements, 'view, 'certificate, 'document, 'model>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, 'model> !Sync for Checks<'closure, 'requirements, 'view, 'certificate, 'document, 'model>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, 'model> !UnwindSafe for Checks<'closure, 'requirements, 'view, 'certificate, 'document, 'model>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, 'model> Unpin for Checks<'closure, 'requirements, 'view, 'certificate, 'document, 'model>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, 'model> UnsafeUnpin for Checks<'closure, 'requirements, 'view, 'certificate, 'document, 'model>

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.