PDF Association TechConnect 2022 — Virtual: PDF 2.0 New Features for Implementors
The PDF Association TechConnect 2022 was a virtual event aimed at PDF library and tool implementors. It provided a systematic walkthrough of PDF 2.0 new features that differed from PDF 1.7, focusing on the changes most relevant to library developers: new object types, encryption updates, associated files, and structure element additions.
Official event page →Key takeaways
- AES-256 GCM encryption (AEAD, authenticated) and unencrypted wrapper documents were the major new PDF 2.0 encryption additions — both had significant implementation gaps in the 2022 testing results.
- XFA forms deprecated in PDF 2.0 — new tool development should target AcroForms; existing XFA processing must be maintained for legacy compatibility.
- Associated files (/AF) on objects other than the document catalogue was the most consistent cross-vendor implementation gap found in the 2022 interoperability testing.
- Cross-reference streams, object streams, and basic tagged PDF were all consistently implemented — these features had had many years to mature.
PDF 2.0 new features: a developer walkthrough
/CF (Crypt Filter) dictionary now includes /AuthEvent and a method value of AESV3 with a GCM flag.
Unencrypted wrapper documents — PDF 2.0 introduced the concept of an unencrypted wrapper document that contains an encrypted payload PDF. The wrapper is a valid unencrypted PDF with a cover page explaining that the content is encrypted. The /EncryptedPayload file specification dictionary in the wrapper references the encrypted PDF. This allows the wrapper to be indexed and its metadata to be read without decryption, while protecting the actual content. Sessions reviewed the implementation requirements and edge cases.
Page-level metadata streams — PDF 2.0 allows each page to have its own XMP metadata stream (/Metadata on the page dictionary), enabling per-page metadata for documents that aggregate pages with different copyright, provenance, or language metadata. Sessions covered the expected validator and viewer behaviour when page-level metadata is present.
Associated files at the object level — PDF 2.0 normalised the PDF/A-3 associated file mechanism: any PDF object can now have an /AF (Associated Files) array. Sessions covered the handling requirements: parsers that only check the document catalogue for /AF miss associated files on pages, annotations, and structure elements.
Document part metadata (/DPart) — The /DPart hierarchy was introduced for variable data printing (VDP) workflows where a single PDF represents multiple personalised document instances (mailings, tickets, invoices). Each document part has its own /DPartRoot tree entry with per-instance metadata. Sessions covered the tree structure and the interaction with /AF for per-instance embedded files.Deprecated and removed features in PDF 2.0
Interoperability testing: lessons for implementors
Frequently asked questions
What is AES-GCM and why is it used in PDF 2.0 encryption?
AES-GCM (AES in Galois/Counter Mode) is an authenticated encryption mode that provides both confidentiality (like AES-CBC) and integrity/authenticity (unlike AES-CBC). In AES-GCM, the encryption process produces not only cipher text but also an authentication tag — a short value that any would-be tamperer cannot forge without knowing the key. When decrypting, the recipient verifies the authentication tag before trusting the plaintext. In AES-CBC (the older PDF 1.7 encryption mode), an attacker who modifies cipher text bytes can cause decryption to produce modified plaintext without detection — a property exploited in padding oracle attacks. AES-GCM eliminates this class of attack. PDF 2.0's addition of AES-GCM encryption is primarily relevant for high-security document workflows where tamper detection alongside confidentiality is required.
What is XFA and why was it deprecated?
XFA (XML Forms Architecture) was Adobe's proprietary format for dynamic PDF forms, introduced in LiveCycle Designer. An XFA form embeds XML data streams within a PDF that describe form layout, data binding, and JavaScript-based behaviour. XFA enabled sophisticated dynamic forms that could reflow, grow, and interact with backend systems — capabilities beyond standard AcroForms. However, XFA required Adobe's LiveCycle runtime for full functionality — standard PDF viewers showed only a static rendering. XFA was never part of the ISO 32000 standard (it was referenced normatively in PDF 1.7 but specified in separate Adobe documents). PDF 2.0 deprecated XFA because: it was not interoperable across non-Adobe viewers; it required proprietary Adobe infrastructure; and modern HTML5 forms, properly designed AcroForms, and accessible web-based forms could serve the same purposes with broader compatibility.
What is an unencrypted wrapper document in PDF 2.0?
An unencrypted wrapper document is a PDF 2.0 feature that allows an encrypted PDF to be wrapped inside an unencrypted container PDF. The wrapper PDF is a fully valid, unencrypted PDF — typically with a cover page explaining that the content is protected. It contains an /EncryptedPayload file specification that references the actual encrypted PDF, which is embedded as a file attachment. The practical benefit: document management systems, search engines, and email gateways can index the wrapper's metadata and cover text (author, title, keywords, document description) without having the decryption key. The encrypted payload is protected, but its existence and basic metadata are discoverable. This architecture is useful for rights-managed documents, secure delivery of sensitive documents to specific recipients, and DRM workflows where document discovery and content protection need to be separated.
Try it in your browser
The PDF tools and standards discussed at this event are available free — no account needed.