Go to main content
Certyneo
Guide · Verification

Verify an RFC 3161 timestamp

Verifying a timestamp means checking three things: the hash certified by the token really is the file's hash, the date is the one stated, and the token's signature comes from a trusted timestamping authority. The first two can be done in your browser with our tool; the third with OpenSSL and the authority's certificate.

What does a timestamp token contain?

An RFC 3161 token (.tsr file) contains the file's hash, the algorithm used (SHA-256), the date and time in UTC, a serial number and the authority's policy, all signed by the timestamping authority.

How do you verify it in the browser?

  1. Open the free timestamping tool and go to the “Verify” block.
  2. Drop the original file and its .tsr token.
  3. The tool computes the file's hash, compares it with the one in the token and shows the certified date.

If the hashes differ, the file has changed since it was timestamped, or it is not the right token.

How do you verify it with OpenSSL?

To also check the authority's signature, OpenSSL is all you need. Read the token's content: openssl ts -reply -in fichier.pdf.tsr -text.

Verify the token against the file and the authority's certificate chain: openssl ts -verify -data fichier.pdf -in fichier.pdf.tsr -CAfile tsa.pem. The message “Verification: OK” confirms the hash and the signature.

The authority's certificate (tsa.pem) can be downloaded from the website of the timestamping authority shown in the result.

What about a signed PDF?

An electronically signed PDF often contains its own timestamp. To find out whether it was changed after signing, use the tool to check if a PDF has been modified. For the legal value of the different timestamps, see the qualified eIDAS timestamp.

Frequently asked questions

What does “the token does not match this file” mean?

The hash of the file you dropped differs from the certified one: the file was modified or re-saved, or the token belongs to another file.

Is checking in the browser enough?

It proves that the file has not changed and gives the date. For use in a dispute, also have the authority's signature checked with OpenSSL or by an expert.

Which time zone is the date in?

Coordinated Universal Time (UTC). Add your time zone's offset to get local time.

Can a token expire?

The token does not change, but the authority's certificate will expire one day. For very long-term storage, re-timestamp periodically or archive with an evidential-value service.

Can I verify a token from another authority?

Yes, any RFC 3161 token in .tsr format can be read by the tool and by OpenSSL.

Are my files sent during verification?

No. The comparison happens entirely in your browser.

In the same guide

Timestamp and understand the legal value.

Verify a token now

File and token compared in your browser, date shown in UTC.