---
title: "5. Covered Bytes"
description: "Section 5 of draft-laget-pdf-pqs-00."
---

> Documentation Index
> Fetch the complete documentation index at: https://pdf-pqs.org/llms.txt
> Use this file to discover all available pages before exploring further.

# 5. Covered Bytes

A PDF-PQS signature covers the byte prefix `[0, L)`, where L is specified by the
`pdf-byte-length` signed attribute. The following constraints apply:

* L MUST correspond to a revision end.
* The signer MUST append the PDF-PQS signature, as well as any subsequent modifications,
  as incremental updates starting at or after byte offset L, leaving `[0, L)` unmodified.
* The revision beginning at offset L MUST introduce the PDF-PQS signature (the host
  signature for Place A, or the embedded file attachment for Place B). Any revision
  following that revision constitutes a post-signature change and is reported in step 12.
* For Place B, the revision beginning at offset L MUST NOT add or modify objects outside
  the minimal set required to attach the signature. Every in-use object in that revision
  MUST be one of: the embedded file stream, the file specification dictionary, a node in
  the `/EmbeddedFiles` name tree, the catalog `/Names` dictionary, the `/AF` array, the
  document catalog, a cross-reference stream, or an object stream containing exclusively
  objects from this list. Within the document catalog, only `/AF` and `/Names` may be
  modified. Because this revision is not protected by ML-DSA, verifiers flag any
  disallowed object modification in step 12.
* For Place A, the revision beginning at offset L MUST NOT add or modify objects outside
  the minimal set required for a signature revision. Every in-use object in that revision
  MUST be one of: the signature dictionary, the signature form field, its widget
  annotation, form XObjects comprising the widget appearance, the page dictionary
  receiving the widget in `/Annots`, the `/AcroForm` dictionary, the document catalog, a
  cross-reference stream, or an object stream containing exclusively objects from this
  list. Within the document catalog, only `/AcroForm` may be modified; within the page
  dictionary, only `/Annots` may be modified. Because this revision is protected only by
  the classical host signature, verifiers flag any disallowed object modification in
  step 12.

When a document contains multiple PDF-PQS signatures, each signature covers all preceding
revisions, including any earlier PDF-PQS signatures.

Source: https://pdf-pqs.org/specification/covered/index.mdx
