PdfValidationDataOptions Class

The options of PdfSigner.AddValidationDataAsync: the validation data the application has, and whether the missing data is downloaded from the addresses of the certificates (PAdES B-LT, ETSI EN 319 142-1, 5.4).

public sealed class PdfValidationDataOptions

Constructors

NameDescription
PdfValidationDataOptions()

PdfValidationDataOptions()

PdfValidationDataOptions.cs
public PdfValidationDataOptions()

No documentation is available.

Properties

NameDescription
CertificateRevocationListsGets the certificate revocation lists, DER encoded (RFC 5280).
CertificatesGets the certificates that complete the chains of the signatures, of their time stamps and of the document time stamps (intermediate and root certificates), and any other certificate to store.
DownloadMissingDataGets a value indicating whether the data that is missing is downloaded: the issuers of the certificates from their caIssuers addresses (RFC 5280, 4.2.2.1), and the revocation evidence of each certificate that is not self-signed, an OCSP response from its responder (RFC 6960) or else the revocation lists of its distribution points (RFC 5280, 4.2.1.13). The default is false: nothing is downloaded.
HttpClientGets the client the data is downloaded with; null for a client of the library.
IncludeVriGets a value indicating whether the store gets a VRI dictionary for each signature and document time stamp (ISO 32000-2, 12.8.4.4): the certificates and the revocation evidence of its chains. The default is false.
OcspResponsesGets the OCSP responses, DER encoded OCSPResponse (RFC 6960).

CertificateRevocationLists

PdfValidationDataOptions.cs

Gets the certificate revocation lists, DER encoded (RFC 5280).

public IList<byte[]> CertificateRevocationLists { get; }

Property value

IList<byte[]>

Gets the certificates that complete the chains of the signatures, of their time stamps and of the document time stamps (intermediate and root certificates), and any other certificate to store.

public X509Certificate2Collection Certificates { get; }

DownloadMissingData

PdfValidationDataOptions.cs

Gets a value indicating whether the data that is missing is downloaded: the issuers of the certificates from their caIssuers addresses (RFC 5280, 4.2.2.1), and the revocation evidence of each certificate that is not self-signed, an OCSP response from its responder (RFC 6960) or else the revocation lists of its distribution points (RFC 5280, 4.2.1.13). The default is false: nothing is downloaded.

public bool DownloadMissingData { get; init; }

Property value

bool

Gets the client the data is downloaded with; null for a client of the library.

public HttpClient? HttpClient { get; init; }

Property value

HttpClient?

Gets a value indicating whether the store gets a VRI dictionary for each signature and document time stamp (ISO 32000-2, 12.8.4.4): the certificates and the revocation evidence of its chains. The default is false.

public bool IncludeVri { get; init; }

Property value

bool

Gets the OCSP responses, DER encoded OCSPResponse (RFC 6960).

public IList<byte[]> OcspResponses { get; }

Property value

IList<byte[]>