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>
impl<'q, 'a, 's, 'd, D: Copy + Eq, G: Copy + Eq> DocumentTime<'q, 'a, 's, 'd, D, G>
Sourcepub fn checks(&self) -> &CheckedTimestamp<'q>
pub fn checks(&self) -> &CheckedTimestamp<'q>
Original complete token facts, independently of trust/path acceptance.
Sourcepub fn signature(&self) -> Signature<'a, 's, D, G>
pub fn signature(&self) -> Signature<'a, 's, D, G>
Actual timestamp signature dictionary, not a replacement caller span.
Sourcepub fn into_actor(
self,
covered: Signature<'_, 's, D, G>,
operation: &impl Work,
) -> Result<Option<CheckedActor<'q, 'd, Node, D, G, Pades>>>
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.
Sourcepub fn into_historical_actor(
self,
root: Signature<'_, 's, D, G>,
operation: &impl Work,
) -> Result<Option<CheckedActor<'q, 'd, Node, D, G, Pades>>>
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.