Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

ExtractPdfSignature

function ExtractPdfSignature(const aPdf: OctetString; out aInfo: tPdfSignatureInfo): Boolean;
ExtractPdfSignature locates the first signature field of aPdf and reports its ByteRange, CMS octets (trailing hole padding stripped via the DER header) and the signed byte spans. Returns False when the document carries no signature. Used by the verification side and the interop tests.