Table of Contents

Class PdfSignatureVerifier

Namespace
PdfSharp.Pdf.Signatures
Assembly
PdfSharp.dll

Checks the signatures and document time-stamps of a PDF file: that the bytes they cover are intact, who signed and when, whether the signer's chain ends at a trusted root, revocation, later changes, and the PAdES level (ISO 32000-2 12.8, ETSI EN 319 142-1, RFC 5652, RFC 3161, RFC 6960, RFC 5280). It reports facts and a technical status, not the legal effect of a signature; EU trusted lists and qualified status are not checked.

public static class PdfSignatureVerifier
Inheritance
object
PdfSignatureVerifier

Methods

VerifyAsync(byte[], PdfSignatureVerificationOptions?, CancellationToken)

Checks every signature and document time-stamp of the file, in the order their fields are found. A file that cannot be opened throws; a signature that cannot be checked is reported as Indeterminate.

VerifyAsync(Stream, PdfSignatureVerificationOptions?, CancellationToken)

Checks every signature and document time-stamp of the file, in the order their fields are found. A file that cannot be opened throws; a signature that cannot be checked is reported as Indeterminate.