Returns the (offset, length) pairs that describe which
contiguous spans of the original PDF byte stream were covered
by the signing digest. A signature typically covers everything
except the signature's own /Contents entry, so a normal
signed PDF returns two pairs: bytes 0 to just-before-Contents,
and bytes just-after-Contents to end-of-file.
Arguments
- doc
A
pdfium_docfrompdf_doc_open(), or a character path.- signature_index
One-based signature index (default
1), as listed bypdf_signatures().
Value
An integer matrix with byte_range_pairs rows and two
columns named offset and length (both in bytes).