Skip to main content

DocumentTime

Struct DocumentTime 

Source
pub struct DocumentTime<'q, 'a, 's, 'd, D, G> { /* private fields */ }
Expand description

Complete original document timestamp answers and their exact selected TSA. Negative answers remain visible and cannot expose a successful actor.

Implementations§

Source§

impl<'q, 'a, 's, 'd, D: Copy + Eq, G: Copy + Eq> DocumentTime<'q, 'a, 's, 'd, D, G>

Source

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

Original complete token facts, independently of trust/path acceptance.

Source

pub fn signature(&self) -> Signature<'a, 's, D, G>

Actual timestamp signature dictionary, not a replacement caller span.

Source

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

Retains this timestamp’s actual TSA and evidence only when its checked original ranges cover the requested signature’s original Contents. The LTV receipt’s purpose is archival; trusted-time selection remains separate from the fact that the complete earlier signature is covered.

Source

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

Retains an earlier DTS authority as a historical obligation of the same original document. This does NOT claim coverage of the selected root; B-T selection separately checks the actual original ByteRange.

Auto Trait Implementations§

§

impl<'q, 'a, 's, 'd, D, G> !Freeze for DocumentTime<'q, 'a, 's, 'd, D, G>

§

impl<'q, 'a, 's, 'd, D, G> !RefUnwindSafe for DocumentTime<'q, 'a, 's, 'd, D, G>

§

impl<'q, 'a, 's, 'd, D, G> !Send for DocumentTime<'q, 'a, 's, 'd, D, G>

§

impl<'q, 'a, 's, 'd, D, G> !Sync for DocumentTime<'q, 'a, 's, 'd, D, G>

§

impl<'q, 'a, 's, 'd, D, G> !UnwindSafe for DocumentTime<'q, 'a, 's, 'd, D, G>

§

impl<'q, 'a, 's, 'd, D, G> Unpin for DocumentTime<'q, 'a, 's, 'd, D, G>
where Signature<'a, 's, D, G>: Unpin,

§

impl<'q, 'a, 's, 'd, D, G> UnsafeUnpin for DocumentTime<'q, 'a, 's, 'd, D, G>
where Signature<'a, 's, 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.