Class PdfValidationDataOptions
- Namespace
- PdfSharp.Pdf.Signatures
- Assembly
- PdfSharp.dll
public sealed class PdfValidationDataOptions
- Inheritance
-
objectPdfValidationDataOptions
Properties
- AllowPrivateNetworks
Gets a value indicating whether the default client may reach loopback, link-local and private network addresses, for example an internal CA's responder. The addresses come from the certificates in the document, which anyone who signed it chose; leave it false for documents from others.
- ExtraCertificates
Gets certificates the signatures do not carry, such as intermediate and root certificates, to complete the chains with.
- HttpClient
Gets the client for OCSP requests and CRL downloads; set it to add a proxy or authentication, to restrict where requests may go, or to answer them yourself. Its handler then decides which addresses it reaches. The default is a shared client with a 30-second timeout that only reaches public addresses, unless AllowPrivateNetworks is set.
- MaxResponseSize
Gets the largest OCSP response or CRL accepted, in bytes. The default is 32 MiB.