Skip to main content

Vri

Struct Vri 

Source
pub struct Vri { /* private fields */ }
Expand description

One original VRI dictionary. Material indices refer only to THIS owning historical material set; a later DSS cannot fill an earlier VRI silently.

Implementations§

Source§

impl Vri

Source

pub fn all_material_in_dss(&self) -> bool

Every referenced certificate/status value is also present in the corresponding DSS array in this SAME historical revision. This checks exact decoded values, not just object-number equality or a later DSS.

Source

pub fn name(&self) -> &[u8; 40]

Uppercase SHA-1 name written in the original VRI index.

Source

pub fn location(&self) -> Location

Actual original VRI dictionary key location.

Source

pub fn certificates(&self) -> &[usize]

Certificate occurrences in the same historical validation owner.

Source

pub fn crls(&self) -> &[usize]

CRL occurrences in the same historical validation owner.

Source

pub fn ocsp(&self) -> &[usize]

OCSP occurrences in the same historical validation owner.

Source

pub fn update_time(&self) -> Option<Date>

Whether TU, rather than TS, was written in this original VRI.

Source

pub fn timestamp(&self) -> Option<usize>

Actual VRI timestamp item in the same validation owner.

Source

pub fn generation_time(&self) -> GenerationTime

EN319142-1 §5.4.2.3(c)’s three distinct methods. This preserves the unmet subsequent-timestamp obligation instead of fabricating a time.

Auto Trait Implementations§

§

impl !Freeze for Vri

§

impl RefUnwindSafe for Vri

§

impl Send for Vri

§

impl Sync for Vri

§

impl Unpin for Vri

§

impl UnsafeUnpin for Vri

§

impl UnwindSafe for Vri

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.