# Vectors 31-49 provenance (profile 1.4, tsa_signature)

Built offline from the tokens below, fetched from the public TSAs on 2026-10-20. A rebuild is byte-identical.

## Trust anchors

| File | Source | SHA-256 | Fetched |
|---|---|---|---|
| roots/freetsa-cacert.crt | https://freetsa.org/files/cacert.pem | 2151b61137ffa86bf664691ba67e7da0b19f98c758e3d228d5d8ebf27e044438 | 2026-10-18 |
| roots/DigiCertTrustedRootG4.crt | https://cacerts.digicert.com/DigiCertTrustedRootG4.crt | 552f7bdcf1a7af9e6ce672017f4f12abf77240c78e761ac203d1d9d20ac89988 | 2026-10-18 |

## Tokens

| Token | TSA | genTime | Used by |
|---|---|---|---|
| criteria_freetsa | https://freetsa.org/tsr | 2026-10-20T15:38:25Z | 31, 33, 34 (bit-flipped), 36 |
| criteria_digicert | http://timestamp.digicert.com | 2026-10-20T15:38:25Z | 32 |
| criteria_freetsa_nocert (certReq=false) | https://freetsa.org/tsr | 2026-10-20T15:38:25Z | 35 |
| record_31 | https://freetsa.org/tsr | 2026-10-20T15:40:20Z | 31, 33, 34, 36 |
| record_32 | http://timestamp.digicert.com | 2026-10-20T15:40:20Z | 32 |

Record: committed 2026-10-20T15:38:25Z, issued 2026-10-20T15:39:00Z.

## Vectors 37-42 and 44-46: synthetic test PKI

Made once with the openssl 3.5 CLI: a test-only root
("WAR Test Root (not a real authority)", anchor file `war-test-root.crt`), an intermediate CA and TSA certificates
(EKU timeStamping). `openssl ts -reply` issued each token over vector 31's criteria imprint; genTime was then set to
2026-10-20T15:38:25Z, the signed attributes re-signed with the TSA key and the SignedData re-encoded. Keys were
generated in a temporary directory and discarded.

| Token | What differs | Used by | openssl ts -verify | openssl cms -verify |
|---|---|---|---|---|
| criteria_synthetic_ok | RSA-2048 TSA, intermediate valid 2025-2035 | 37 | OK | OK |
| criteria_synthetic_expired_intermediate | intermediate valid 2024-01-01 to 2025-01-01 | 38 | FAILED (certificate has expired) | |
| criteria_synthetic_contenttype | contentType attribute id-ct-authData | 39 | OK (does not check RFC 5652 5.3) | |
| criteria_synthetic_rsa_pss | SignerInfo signed RSASSA-PSS (SHA-256, MGF1-SHA-256, salt 32) | 40 | FAILED (PKCS#7 path has no PSS) | OK |
| criteria_synthetic_p256 | ECDSA P-256 TSA key | 41 | OK | OK |
| criteria_synthetic_p521 | ECDSA P-521 TSA key | 42 | OK | |
| criteria_synthetic_p521_bad_digest | as 42, messageDigest attribute over other bytes | 44 | | |
| criteria_synthetic_nocert_bad_digest | requested with certReq=false, messageDigest over other bytes | 45 | | |
| criteria_synthetic_p521_bad_ess | as 42, last byte of the ESSCertIDv2 certHash flipped | 46 | | |

Vector 43 reuses vector 31's live tokens with `tsa_roots_base64: []`.

## Vectors 48-49: second test PKI (root B, `war-test-root-b.crt`)

Same method, a later run (keys again discarded; the 37-46 tokens were left untouched). 48: the token was issued
with an EKU timeStamping certificate, then that certificate was swapped in the token for a re-issue with the same key,
issuer and serial but no extendedKeyUsage, and the ESS binding re-pointed to it (openssl ts refuses to sign with a
certificate lacking the EKU). 49: the TSA certificate is issued by a certificate with basicConstraints cA FALSE.
`openssl ts -verify` 3.5: 48 "unsuitable certificate purpose", 49 "invalid CA certificate".
