Skip to main content

Time

Struct Time 

Source
pub struct Time<'q, 'certificate, D, G> { /* private fields */ }
Expand description

Actual signature-octet imprint, token mathematics and selected TSA facts.

Implementations§

Source§

impl<'q, 'd, D: Copy, G: Copy> Time<'q, 'd, D, G>

Source

pub fn checks(&self) -> &CheckedTimestamp<'q>

Complete original common facts, independently of path/trust acceptance.

Source

pub fn into_actor(self) -> Option<CheckedActor<'q, 'd, Node, D, G, Pades>>

Issues a validation-data actor only for actual successful common evidence. This receipt asserts neither DSS coverage nor trusted time.

Source§

impl<'q, 'd, D: Copy + Eq, G: Copy + Eq> Time<'q, 'd, D, G>

Source

pub fn into_historical_actor( self, root: Signature<'_, '_, D, G>, operation: &impl Work, ) -> Result<Option<CheckedActor<'q, 'd, Node, D, G, Pades>>>

Retains an independently checked VRI TSA as a historical obligation of another signature in the SAME original PDF. This changes only the LTV census namespace; it does not assert coverage of that other signature.

Auto Trait Implementations§

§

impl<'q, 'certificate, D, G> !Freeze for Time<'q, 'certificate, D, G>

§

impl<'q, 'certificate, D, G> !RefUnwindSafe for Time<'q, 'certificate, D, G>

§

impl<'q, 'certificate, D, G> !Send for Time<'q, 'certificate, D, G>

§

impl<'q, 'certificate, D, G> !Sync for Time<'q, 'certificate, D, G>

§

impl<'q, 'certificate, D, G> !UnwindSafe for Time<'q, 'certificate, D, G>

§

impl<'q, 'certificate, D, G> Unpin for Time<'q, 'certificate, D, G>
where Snapshot<D, G>: Unpin,

§

impl<'q, 'certificate, D, G> UnsafeUnpin for Time<'q, 'certificate, D, G>
where Snapshot<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.