# What is RFC 3161 (Time-Stamp Protocol)?

> RFC 3161 is the Internet standard for trusted timestamps. You send a time-stamping authority the hash of some data; it signs that hash together with the current time, giving you evidence the data existed before that moment.

Explainer by Boston Identity, 2026-11-13. 7 min read. https://insights.bostonidentity.com/glossary/rfc-3161

- What it is: protocol
- Defined by: IETF, RFC 3161 (standards track, 2001)
- Who it's for: Teams that keep signed records as evidence

## What is RFC 3161 (Time-Stamp Protocol)?

RFC 3161 defines the Time-Stamp Protocol: the format of a request sent to a time-stamping authority (TSA) and of the response it returns [S1 Abstract]. The TSA is a trusted third party that creates time-stamp tokens to indicate that a piece of data existed at a particular point in time [S1 §2]. It is an Internet standards-track document, published in August 2001 [S1].

The job is dating evidence. Non-repudiation services, which stop a party from denying what it signed, need to establish that data existed before a given time [S1 §1]. The RFC's main example is a signature made before its certificate was revoked: a timestamp lets a verifier still use that revoked certificate for signatures created before the revocation [S1 §1]. It also mentions showing when something was submitted against a deadline, and when a transaction was entered in a log [S1 §1].

The standard stays narrow. It does not set overall security requirements for running a TSA. It expects each authority to make known the policies it follows, and clients to use the service only if those policies meet their needs [S1 §1].

Think of it like this: Think of a clerk's date stamp on a sealed envelope: the clerk never opens the envelope and the stamp does not say who handed it over, yet it shows the envelope existed that day. The comparison stops at the ink, because an RFC 3161 token is a digital signature and is only as good as the authority's private key.

Not the same as: Not a signature by the author of the data, and not proof of who held it: the token carries nothing that identifies the requester [S1 §2.1]. It is evidence that the data existed before a time, which is a different thing from when the data was created [S1 §1].

## How does RFC 3161 (Time-Stamp Protocol) work?

Two parties do the work: a requester that holds some data, and the time-stamping authority (TSA). A third, whoever later relies on the token, appears only in the last step.

[Figure: Only a hash travels to the time-stamping authority, and what comes back is that same hash signed together with a policy, a serial number and a time.]

1. **The requester hashes the data.** The requester computes a hash of the data, a short fingerprint that stands in for it. It puts the hash and the identifier of the hash algorithm in a request called TimeStampReq. The request may also carry the policy the requester wants, a nonce (a large random number used once), and a flag asking the TSA to include its certificate [S1 §2.4.1]. The TSA is required to time-stamp only a hash of the data [S1 §2.1].
2. **The requester sends the request.** The requester sends the request to the TSA. The request does not identify who is asking; a TSA that needs to know has to use some other means of identification or authentication [S1 §2.4.1]. No transport is mandatory. The RFC describes email, files, a network socket and HTTP (Hypertext Transfer Protocol) as options [S1 §3].
3. **The authority checks the request.** The TSA must look at the hash algorithm's identifier and confirm that the hash is the right length for it. It must not examine the hash in any other way [S1 §2.1]. If it does not recognise the algorithm, or knows it to be weak, it should refuse [S1 §2.4.1]. If the request uses an extension the server does not recognise, the server must not issue a token [S1 §2.4.1].
4. **The authority signs and returns a token.** The TSA replies with a TimeStampResp: a status and, when the request is granted, a time-stamp token [S1 §2.4.2]. The token repeats the requester's hash. It adds the TSA's policy identifier, a serial number unique to that TSA, and the time the token was created, in Coordinated Universal Time (UTC). If the request had a nonce, the token must repeat it [S1 §2.4.2]. The TSA signs the token with a key reserved for time-stamping [S1 §2.3] and puts nothing in it that identifies the requester [S1 §2.1].
5. **The requester verifies the response.** The requester must check the status, the token's signature and the TSA's certificate identifier. It must check that the hash and the algorithm are the ones it sent. It must also check that the response is fresh, against a trusted local clock if it has one or against the nonce. If any of these checks fails, it must reject the token [S1 §2.2]. It should then check that the TSA's certificate has not been revoked and that the token's policy suits the application [S1 §2.2].
6. **A later verifier places the signature in time.** The RFC gives one example of use, for a token obtained over a digital signature soon after signing. Whoever later verifies that signature verifies the token and reads the TSA's time. That time must fall inside the validity period of the signer's certificate. If the certificate was revoked, the revocation must be later than the TSA's time [S1 Appendix B].

## Why does RFC 3161 (Time-Stamp Protocol) matter now?

One agent audit-record draft has the party keeping a record store anchors, outside evidence of time, over the signed envelope's digest. It names an RFC 3161 timestamp as one kind of anchor, beside a transparency log entry and OpenTimestamps [BI-FIND-2026-1380](https://insights.bostonidentity.com/ref/BI-FIND-2026-1380). The earliest anchor that validates dates the record, and the draft says why in one line: "No issuance time a record states establishes when it existed" [BI-FIND-2026-1380](https://insights.bostonidentity.com/ref/BI-FIND-2026-1380).

A second draft, on post-quantum requirements, turns to the records that agent delegations leave behind. Its author, Uppalapati, argues that a delegation record kept as evidence cannot be dated by its own signature, and that an RFC 3161 timestamp is itself a signature [BI-FIND-2026-0663](https://insights.bostonidentity.com/ref/BI-FIND-2026-0663). An adversary with a quantum computer that breaks classical signatures, the draft says, "can mint a classical timestamp bearing any date it chooses" [BI-FIND-2026-0663](https://insights.bostonidentity.com/ref/BI-FIND-2026-0663). One of its seven requirements for specification authors is that retained records be anchored in trusted time and renewed on a schedule [BI-FIND-2026-0663](https://insights.bostonidentity.com/ref/BI-FIND-2026-0663).

Before leaning on a token, a security leader should know what it says. It binds a hash, a policy and a time, and it carries nothing that identifies who asked for it [BI-FIND-2001-0001](https://insights.bostonidentity.com/ref/BI-FIND-2001-0001). When an authority's signing key is compromised, any token signed with that key can no longer be trusted [BI-FIND-2001-0003](https://insights.bostonidentity.com/ref/BI-FIND-2001-0003).

## Where does it fit?

- Compared with Certificate Transparency Version 2.0: A transparency log entry is another kind of time anchor: one agent audit draft lists it beside an RFC 3161 timestamp, and dates a record by the earliest anchor that validates [BI-FIND-2026-1380](https://insights.bostonidentity.com/ref/BI-FIND-2026-1380). An RFC 3161 token is one authority's signature over one hash and one time [S1 §2.4.2].
- Compared with DSSE: In the agent audit draft that uses RFC 3161 as an anchor, the record sits in a signed envelope and the timestamp is taken over that envelope's digest, in an unsigned entry stored beside it [BI-FIND-2026-1380](https://insights.bostonidentity.com/ref/BI-FIND-2026-1380). The token itself is the time-stamping authority's signature over a hash and a time [S1 §2.4.2].

## What goes wrong?

- A compromised TSA key undoes its tokens. Once the private key is compromised, no token signed with it can be trusted. The RFC says an audit trail of all tokens the TSA generated may help tell genuine tokens from false backdated ones, and that two tokens from two different TSAs is another way to address the problem [S1 §4].
- Keys age. The signing key has a finite lifetime, so a token should be time-stamped again, or notarized, at a later date to renew trust in the TSA's signature [S1 §4].
- Retirement can void tokens. When a TSA stops using a key that was not compromised, its certificate is revoked. If the revocation entry carries no reason code, all tokens signed with that key must be treated as invalid, which is why the RFC recommends the reason code [S1 §4].
- A requester that relies on a nonce and has no local clock should treat a slow response as suspect, because a man-in-the-middle attack can introduce delays [S1 §4].
- Tokens over the same data, made with the same hash algorithm, carry identical hashes. An observer who sees them could infer that they may refer to the same data [S1 §4].
- The token is itself a signature. One draft warns that an adversary with a quantum computer that breaks classical signatures could mint a timestamp bearing any date [BI-FIND-2026-0663](https://insights.bostonidentity.com/ref/BI-FIND-2026-0663).

## What should a security leader ask?

1. Which of our signed records (audit logs, agent delegation records, code signatures) carry a timestamp from an authority other than the signer, and which only state their own time?
2. If a time-stamping authority's signing key were compromised tomorrow, which records could we still date, and do we hold a second token from a different authority for them?
3. What is our schedule for time-stamping long-lived evidence again before the authority's key reaches the end of its life?
4. Which time-stamping authorities do we rely on, and has anyone read the policy that each token names?
5. Do our verifiers check the authority's certificate for revocation and the token's policy, or only the signature?

## Sources

- [S1] [RFC 3161: Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)](https://www.rfc-editor.org/rfc/rfc3161.txt) (IETF (RFC Editor), Standards Track, August 2001)

## Evidence

- [BI-FIND-2026-1380](https://insights.bostonidentity.com/ref/BI-FIND-2026-1380): A party that keeps a record stores an unsigned retention entry beside the signed envelope. The entry holds anchors over the envelope's digest (an RFC 3161 timestamp, a transparency log entry or OpenTimestamps), the data to validate them offline, and, for a record it received, the time it says it received it. The earliest anchor that validates dates the record: "No issuance time a record states establishes when it existed." A stated receipt time must fall between the record's issuedAt and the retaining party's own anchor, within a 300-second skew tolerance, or 7200 seconds against an OpenTimestamps anchor, whose time is a Bitcoin block header's. Gilda calls this "a consistency check, not proof of receipt", and a party that anchors late can state a late receipt. Revision -03 adds that a source outage, anchoring that never happened in time and late anchoring "read the same" from the entry's bytes, so a relying party that needs the anchoring window the retaining party stated to bind requires a second anchor, taken after the outage, over the entry that states it. It also says the 7200 seconds is a consensus bound only on the later side; on the earlier side Gilda calls it "an allowance this document chooses". (from "An agent audit draft makes its first change under its format freeze, ahead of the tests for it")
- [BI-FIND-2026-0663](https://insights.bostonidentity.com/ref/BI-FIND-2026-0663): Uppalapati puts the central problem in the records that agent delegations leave behind. A delegation record kept as evidence cannot be dated by its own signature, and an RFC 3161 timestamp is itself a signature, so an adversary with a quantum computer that breaks classical signatures "can mint a classical timestamp bearing any date it chooses". When that happens, "every delegation record that was never anchored in trusted time becomes repudiable simultaneously". The draft also flags the gap it calls most easily missed: where a verifier fetches a signing key from a key set over TLS, no agent-delegation specification requires a record of the algorithms that bound the key to its trust anchor, so in general there is none, and an online verifier "sees the binding and still writes nothing down". Its seven requirements for specification authors include post-quantum issuance from a transition date each specification states, trust anchors migrated no later than the credentials they certify, algorithm strength visible along the whole chain (OAuth token exchange "alone does not conform"), and retained records anchored in trusted time and renewed on a schedule. (from "Agent delegation records not anchored in trusted time become deniable once timestamps can be forged")
- [BI-FIND-2001-0001](https://insights.bostonidentity.com/ref/BI-FIND-2001-0001): RFC 3161 requires a time-stamping authority to time-stamp a data hash and exclude identification of the requesting entity from the token. The request itself does not identify the requester or validate that identity. If the authority requires requester identity, the protocol calls for other identification or authentication means. The signed token binds a data imprint, policy and time without carrying that requester identification. (from "RFC 3161 excludes requester identity from signed time stamps")
- [BI-FIND-2001-0003](https://insights.bostonidentity.com/ref/BI-FIND-2001-0003): RFC 3161 warns that when a time-stamping authority’s signing key is compromised, any token signed using that key can no longer be trusted. An audit trail may help distinguish genuine tokens from false backdated ones. That is a different case from revoking a key that the authority has simply stopped using without compromise. (from "RFC 3161 excludes requester identity from signed time stamps")

---

© 2026 Boston Identity LLC. All rights reserved. Published by Boston Identity LLC.
Quote up to 100 words with the credit "Boston Identity, IAM Insights" and a link to https://insights.bostonidentity.com/glossary/rfc-3161 as the source. Claim numbers may be cited freely. Training, fine-tuning and evaluation use of this page is permitted, and the text-and-data-mining reservation is lifted on it. Republishing it or offering it as a data set still needs permission.
Terms: https://insights.bostonidentity.com/terms · How to cite: https://insights.bostonidentity.com/cite
