Skip to contents

Returns the DER-encoded PKCS#7 (for adbe.pkcs7.* / ETSI.CAdES.detached sub-filters) or PKCS#1 (for adbe.x509.rsa_sha1) signature blob. Feed this into a PKI library to actually verify the signature (e.g. openssl::pkcs7_verify(bytes, data = signed_bytes)).

Usage

pdf_signature_contents(sig)

Arguments

sig

A pdfium_signature handle from pdf_signatures().

Value

A raw vector of the signature blob.

Details

Wraps FPDFSignatureObj_GetContents.