RFC 3161 timestamps for C2PA
An RFC 3161 timestamp authority for C2PA manifests, code signing and PDF signing. Any RFC 3161 client works.
The endpoint
One address for any RFC 3161 client: C2PA tools, openssl, and code signing and PDF signing tools.
- Address
- https://tsa.widar.com
- Test authority
- https://test-tsa.widar.comFree, with no account; its tokens chain to a test root that validators do not trust
- Protocol
- RFC 3161 over HTTPS: application/timestamp-query in, application/timestamp-reply out
- Hashes
- SHA-256, SHA-384 and SHA-512; any other is rejected with badAlg
- Nonce and chain
- The request's nonce is returned in the token; with certReq set, the chain is included
- Authentication
- Your API key in a header, or a TSA credential for clients that cannot send one
- Over your limit
- HTTP 429 with an RFC 3161 rejection
What a timestamp proves
That the hashed data existed at that moment, signed by an authority whose clock is traceable to UTC. In a C2PA manifest it proves the signature was made while the certificate was valid, so the credential keeps validating after the certificate expires.
Time you can rely on
The clock is traceable to UTC, with its accuracy declared in the published TSA policy. If it drifts beyond that, the authority stops issuing until it is back, so no token carries a time it cannot stand behind.
TSA keys live in hardware security modules in the EU and sign nothing but timestamps.
openssl and curl
# Make a request for your file's SHA-256$ openssl ts -query -data release.zip -sha256 -cert -out release.tsq# Send it to widar's timestamp authority$ curl -s https://tsa.widar.com \ -H "Authorization: Bearer $WIDAR_API_KEY" \ -H "Content-Type: application/timestamp-query" \ --data-binary @release.tsq -o release.tsr# Read the token$ openssl ts -reply -in release.tsr -textInside every widar credential
Every credential widar signs carries a widar timestamp and the certificate's OCSP response. Those timestamps are part of the marking and are not billed on their own. widar's page
Price
A timestamp on its own counts as one C2PA-only file: 1,000 a month free, 50,000 files included on Business, 5,000,000 on Volume. Extra ones after those are $0.003 each on Business, $0.0005 on Volume. The test authority is free. See pricing
Questions
What is an RFC 3161 timestamp server?
A service that takes the hash of some data and returns a signed token saying the data existed at that time. RFC 3161 is the standard C2PA signers, code signing tools and PDF signers use.
Can I use it for code signing?
Yes. Any RFC 3161 client works, including signtool, jarsigner, osslsigncode, PDF signing tools and C2PA signers. Clients that cannot send an API key use a TSA credential.
Is there a free timestamp server for testing?
Yes: test-tsa.widar.com, free and with no account. Its tokens are well formed but chain to a test root, so validators do not trust them.
How much do timestamps cost?
A timestamp on its own counts as one C2PA-only file: 1,000 a month are free, Business includes 50,000 files and Volume 5,000,000, and extra ones after those are $0.003 each, or $0.0005 on Volume. Timestamps inside widar's own credentials are part of the marking.
Which hash algorithms are supported?
SHA-256, SHA-384 and SHA-512. A request with any other is rejected with badAlg.
Timestamps in the docs
The technical detail, for your developers and your agents.
Sign your AI output with C2PA, from your first call
Start free in test mode with test certificates and the test timestamp authority. Live certificates are free once your company is validated.