Skip to main content

Crate tsp_ltv

Crate tsp_ltv 

Source
Expand description

§tsp-ltv

Shared timestamping (RFC 3161) and long-term validation infrastructure for Advanced Electronic Signature (AdES) formats.

This crate provides the core types and network clients for:

  • TSP: RFC 3161 timestamp requests, responses, and validation
  • OCSP: Online Certificate Status Protocol client (RFC 6960)
  • CRL: Certificate Revocation List fetching and caching (RFC 5280)
  • Trust: Certificate trust stores, chain building, and validation

It is format-agnostic — it does not know about PDF, XML, or JSON. Each AdES crate (underskrift for PAdES/CAdES, bergshamra for XAdES, jades for JAdES) builds its own format-specific embedding on top of these shared clients.

Modules§

crypto
Cryptographic primitives for certificate and signature verification.
der_utils
Shared DER/ASN.1 parsing and encoding utilities.
error
Error types for the tsp-ltv crate.
ltv
Long-term validation (LTV) support.
net
Shared HTTP-fetch SSRF hardening for attacker-influenced URLs.
trust
Trust store management for certificate chain validation.
tsp
RFC 3161 timestamp client.

Structs§

BackendInfo
Attested information about the compile-time selected providers.
Capability
One advertised provider capability.

Enums§

BackendId
Selected document-cryptography implementation.
FipsStatus
Runtime FIPS state for the selected providers.
Operation
A provider operation, parameterized by the requested algorithm where useful.
TlsBackendId
Selected TLS cryptography implementation.

Functions§

backend_info
Inspect selected providers without triggering implicit initialization.
capabilities
Return the complete capability registry for the selected document provider.
initialize_backend
Explicitly initialize and attest every selected provider.
supports
Report whether the selected document provider supports an operation.