Add simple signature detection

This commit is contained in:
James R. Barlow
2023-08-12 00:59:54 -07:00
parent e02ba19097
commit 72e056436c
+1
View File
@@ -988,6 +988,7 @@ class PdfInfo:
self._has_acroform = True
elif Name.XFA in pdf.Root.AcroForm:
self._has_acroform = True
self._has_signature = bool(pdf.Root.AcroForm.get(Name.SigFlags, 0) & 1)
@property
def pages(self) -> Sequence[PageInfo | None]: