Table of Contents

Class PdfSignatureVerificationOptions

Namespace
PdfSharp.Pdf.Signatures
Assembly
PdfSharp.dll

Options for PdfSignatureVerifier.

public sealed class PdfSignatureVerificationOptions
Inheritance
object
PdfSignatureVerificationOptions

Properties

MaxRevisions

Gets the most revisions a file may have to be checked, counted by its %%EOF markers (including any inside streams, such as embedded files); 64 by default. Earlier revisions are read on their own, each a copy of the file up to its end, so a small file with thousands of updates would cost time and memory that grow with the square of their number. A file with more throws System.InvalidOperationException rather than give an answer that could leave out a signature a later update removed.

MaxSignatures

Gets the most signatures and document time-stamps a file may have to be checked; 64 by default. Each is checked against the file's bytes and its later revisions, so the work grows with their number times the file's size. A file with more throws System.InvalidOperationException.

Online

Gets the options for requests when Revocation is Online: the HttpClient, private networks, the size limit. Extra certificates given there also complete the chains.

Password

Gets the password of an encrypted document.

Revocation

Gets where revocation data comes from. The default is Document.

TrustedRoots

Gets the root certificates to trust. When null, the system's trusted roots are used.

ValidationTime

Gets the time to validate at. The default is now.