THotPDF.EnsureMLDSAExtensions

Declares the HotPDF PDF 2.0 developer extension used to identify ML-DSA CMS signatures

声明

procedure EnsureMLDSAExtensions;

The method raises the document to PDF 2.0 when permitted and adds or repairs /Extensions /HotPDF << /BaseVersion /2.0 /ExtensionLevel 1 >> in the Catalog

Call it before saving a document whose CMS signature uses ML-DSA; verification rejects ML-DSA on loaded documents that omit this declaration