Skip to main content

LongTermValidation

Struct LongTermValidation 

Source
pub struct LongTermValidation<'d> { /* private fields */ }
Expand description

Complete original TS101733 §6.5.1 enclosure, including validation extras. Its date and unprotected material do not establish a successful PoE.

Implementations§

Source§

impl<'d> LongTermValidation<'d>

Source

pub fn read(parent: &Reader<'d>, element: &Element<'d>) -> Result<Self>

Reads one original enclosure, using the existing CMS/PKIX field kernels. Known explicit wrappers are distinguished from optional IMPLICIT extras by their inner schema; an unknown ambiguous shape is never guessed.

Source

pub fn date(&self) -> Reading

Unsigned ordering metadata, never the authenticated PoE time.

Source

pub fn compare_date<W: Work>( &self, other: &Self, utc: &LeapTable<'_>, work: &W, ) -> Result<Ordering, CompareError>

Exact order of the unsigned metadata, including arbitrary decimal precision. This does not establish authenticated PoE chronology.

Source

pub fn date_element(&self) -> Element<'d>

Original whole generalized-time value and physical coordinates.

Source

pub fn proof(&self) -> Option<&PoeValue<'d>>

Actual optional token/record; absence remains explicit.

Source

pub fn certificates(&self) -> Option<&CertificateSet<'d>>

Original additional choices and first-read certificate models.

Source

pub fn revocations(&self) -> Option<&RevocationSet<'d>>

Original additional CRL/other-format values, not authenticated status.

Source

pub fn element(&self) -> Element<'d>

Whole original signed source enclosure.

Source

pub fn reader_in<'q>(&self, query: &Reader<'q>) -> Result<Reader<'q>>
where 'd: 'q,

Reattaches this same source/depth to current operation admission.

Trait Implementations§

Source§

impl<'d> Debug for LongTermValidation<'d>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'d> !Freeze for LongTermValidation<'d>

§

impl<'d> !RefUnwindSafe for LongTermValidation<'d>

§

impl<'d> !Send for LongTermValidation<'d>

§

impl<'d> !Sync for LongTermValidation<'d>

§

impl<'d> !UnwindSafe for LongTermValidation<'d>

§

impl<'d> Forget for LongTermValidation<'d>

§

impl<'d> Unpin for LongTermValidation<'d>

§

impl<'d> UnsafeUnpin for LongTermValidation<'d>

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.