Table of Contents

Interface IRevocationSource

Namespace
MiPdf.Signatures
Assembly
MiPdf.dll

Provides validation data for long-term signatures (PAdES B-LT): issuer certificates, OCSP responses and CRLs. Implementations may throw on network errors; PdfLtv records them as warnings.

public interface IRevocationSource

Methods

GetCrls(X509Certificate2)

Returns DER-encoded CRLs covering certificate, or an empty list.

IReadOnlyList<byte[]> GetCrls(X509Certificate2 certificate)

Parameters

certificate X509Certificate2

Returns

IReadOnlyList<byte[]>

GetIssuers(X509Certificate2)

Returns the issuer certificate(s) of certificate (e.g. via AIA caIssuers), or an empty list.

IReadOnlyList<X509Certificate2> GetIssuers(X509Certificate2 certificate)

Parameters

certificate X509Certificate2

Returns

IReadOnlyList<X509Certificate2>

GetOcspResponse(X509Certificate2, X509Certificate2)

Returns a DER-encoded OCSPResponse for certificate, or null if no OCSP responder is available.

byte[]? GetOcspResponse(X509Certificate2 certificate, X509Certificate2 issuer)

Parameters

certificate X509Certificate2
issuer X509Certificate2

Returns

byte[]