Skip to main content

Module timestamp

Module timestamp 

Source
Expand description

RFC3161 timestamp facts, independent of application timelines and trust.

Structs§

Accuracy
Accuracy components as read, with zero for an omitted component.
AccuracyReading
Readable scalar fields and conformance faults, without token acceptance.
AuthorityError
Execution refusal, never a negative TSA identity or usage answer.
AuthorityFacts
Independent usage/name facts; neither proves certificate trust or signature.
CheckContext
Explicit caller selection/time facts; this does not select a trusted path.
CheckedTimestamp
Common check facts including original ESS validation-set restrictions.
ComponentReading
Original wire spelling and the common INTEGER decoder’s minimal suffix.
DeviationError
The unrepresentable component remains present, with its original location.
Evidence
Independently retained cryptographic/time evidence, not a trust verdict. The caller must establish TSA path/status, enforce signed ESS restrictions and apply algorithm/policy permissions before granting product acceptance.
IntegerField
Original integer spelling and the common decoder’s minimal numeric view.
MessageImprint
Borrowed algorithm/hash fields and independently accounted diagnostics. Reading is independent of algorithm support, output width and token trust.
ProfileFailure
Exact caller-owned cause and the source from which its coordinates came. The common core does not rewrite an opaque error or invent its location.
ProfileInput
Original already decoded fields, scoped to one profile invocation. These are structural facts, not successful mathematics, authority or trust. Outer and carried sources can have different coordinate systems even when they share an execution account. Scans, copies and parameter queries must admit their work through the corresponding reader’s current execution.
Request
A syntactically conforming original TimeStampReq.
RequestFieldError
A failure retains the operand whose original source locates the cause.
RequestFields
Optional requested-field facts; omitted request fields mean unchecked.
RequestWindow
Caller-supplied moving window for a uniquely outstanding complete imprint.
Requested
Original parsed request and its producing reader, not reconstructed tuples.
RetainedFacts
A conforming token’s declared generation/imprint projection.
RetainedImprint
Independently retained written hash algorithm and logical digest bytes. Parameter absence stays distinct from a written NULL; no re-encoding or generic normalization substitutes for the selected provider’s semantics.
Token
Timestamp envelope; reading does not establish signature, trust or chronology.
TokenExtension
One original extension, with logical OCTET STRING content still borrowed.
TokenExtensions
Recovered first readings plus independently owned source-located faults. These are inspection facts, not extension recognition or token acceptance.
TokenInfo
Required timestamp facts and optional values, independently of acceptance. Original bytes are borrowed; diagnostics/catalogues own their accounted capacity.
TsaReading
Present TSA wrapper and its readable name, or explicitly unreadable contents. An unreadable present wrapper is distinct from an absent optional field.

Enums§

AuthoritySource
Source in whose original coordinates a refusal is located.
BoundUncertainty
Why the timestamp facts cannot establish a temporal endpoint.
CheckError
Execution refusal, never a semantic partial success.
Component
The optional component selected by the RFC3161 Accuracy schema.
DeviationReason
Why the original component cannot be represented by a nonnegative u64.
EvidenceCopyError
Independent-copy refusal retains the coordinate context of its cause.
HashAlgorithmReading
A written identifier versus uniquely bounded malformed algorithm syntax.
ImprintAgreement
Imprint agreement alone does not establish token signature or authority trust.
ImprintError
Failed execution stays distinct from semantic mismatch and unsupported input.
ImprintOperand
Identifies which original source supplied an operand or located failure.
InfoCheckError
Scoped execution refusal retaining the actual source/operand and cause.
InfoError
Failure inside the explicitly identified carried-content source.
MappedCheckError
A check in a logical CMS envelope retains its own source context separately from the inner TSTInfo map. CMS errors must not use TSTInfo coordinates.
MappedProfileCheckError
A profile check in a logical envelope retains both independent source maps.
ProfileCheckError
Extended profile execution refusal. Existing public common error enums are unchanged, including their exhaustive matching surface.
ProfileSource
The coordinate domain of a profile’s original refusal.
RecognitionError
Recognition cannot erase an execution refusal or an opaque callback cause.
RequestAgreement
Complete imprint agreement, independently of other request checks.
RequestImprintError
Request comparison failure retains source role and actual source span.
RequestedContentError
Combined execution preserves request versus covered-content failure classes.
SignatureError
Execution failures remain separate from arithmetic and conformance answers.
Timeliness
How the supplied facts establish, fail or leave freshness unresolved.
TokenSignature
Arithmetic/content facts, without ESS, certificate trust or timestamp proof.
TsaIdentity
Optional TSA subject-name agreement, without a trust assertion.
TsaUsage
RFC3161 §2.3 requires exclusive critical timestamping EKU.

Functions§

earliest
Lower endpoint of the authority’s generation-time accuracy interval. This says nothing about when the imprinted document was signed.
latest
Upper endpoint, retaining subnanosecond rounding and supplied leap facts. This is a factual interval calculation, not signature or trust validation.
timeliness
Evaluates explicit time facts; it does not establish signature or trust.