A normative test vector suite generated with a dedicated test CA (whose private keys are
published solely for testing) is maintained in the pdf-pqs/spec repository:
vectors/manifest.jsonenumerates each vector, its validation inputs (trust anchors, certificates, CRLs, policy documents, and a fixed validation time), and its expected result and codes, conforming tovectors/manifest.schema.json.vectors/README.mddocuments each vector and the tooling used to generate it.test-ca/contains the test CA hierarchy and a reproducible generation script.
The suite exercises Place A, Place B, multiple signatures, ML-DSA-87, stripping attacks,
post-signature changes, byte tampering, every result code in Appendix B, revocation before
and after a timestamp, expired certificates, domain-only chains, and FieldMDP-locked
documents using Place A. Edge cases covered include cross-domain covering signatures,
literal %%EOF sequences inside streams, embedded PDFs, cross-reference streams,
linearized files, unauthorized page edits within a Place B revision, attachments placed
two revisions after L, and unavailable policy documents.
Measurements from a prototype using ML-DSA-65 yielded a 10959-byte PDF-PQS signature payload and a 12918-byte RSA host signature CMS carrying it in Place A.