Returns a tibble row per signature object in the document.
Wraps FPDF_GetSignatureCount, FPDF_GetSignatureObject, and
the FPDFSignatureObj_* scalar accessors.
Arguments
- doc
A
pdfium_docfrompdf_doc_open(), or a character path.
Value
A tibble with columns:
signature_indexinteger - 1-based; pass topdf_signature_contents()/pdf_signature_byte_range().sub_filtercharacter - the signature's/SubFiltervalue, e.g."adbe.pkcs7.detached","ETSI.CAdES.detached","adbe.x509.rsa_sha1". ASCII.reasoncharacter - UTF-8 reason / comment string, attached when the signer wrote one. Empty if absent.timecharacter - signing time in PDF date format ("D:YYYYMMDDHHmmSS+HH'mm'"). Empty if the signature defers to the timestamp inside the PKCS#7 blob. Pass topdf_parse_date()for a POSIXct.doc_mdp_permissioninteger - 1, 2, or 3 (PDF DocMDP permission level: no changes / form-fill only / form-fillannotations + signing fields).
NAwhen no DocMDP entry is present.
contents_sizeinteger - byte length of the signature blob (DER-encoded PKCS#1 or PKCS#7).byte_range_pairsinteger - number of (offset, length) pairs covered by the signed digest. Passsignature_indextopdf_signature_byte_range()for the actual pairs.
Returns a 0-row tibble of the same schema when the document has no signatures.
See also
pdf_signature_contents() for the raw PKCS#7 / PKCS#1
bytes, pdf_signature_byte_range() for the signed byte
ranges, pdf_parse_date() for parsing the time column.