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>
impl<'d> LongTermValidation<'d>
Sourcepub fn read(parent: &Reader<'d>, element: &Element<'d>) -> Result<Self>
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.
Sourcepub fn compare_date<W: Work>(
&self,
other: &Self,
utc: &LeapTable<'_>,
work: &W,
) -> Result<Ordering, CompareError>
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.
Sourcepub fn date_element(&self) -> Element<'d>
pub fn date_element(&self) -> Element<'d>
Original whole generalized-time value and physical coordinates.
Sourcepub fn proof(&self) -> Option<&PoeValue<'d>>
pub fn proof(&self) -> Option<&PoeValue<'d>>
Actual optional token/record; absence remains explicit.
Sourcepub fn certificates(&self) -> Option<&CertificateSet<'d>>
pub fn certificates(&self) -> Option<&CertificateSet<'d>>
Original additional choices and first-read certificate models.
Sourcepub fn revocations(&self) -> Option<&RevocationSet<'d>>
pub fn revocations(&self) -> Option<&RevocationSet<'d>>
Original additional CRL/other-format values, not authenticated status.
Trait Implementations§
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> Unpin for LongTermValidation<'d>
impl<'d> UnsafeUnpin for LongTermValidation<'d>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more