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
certificateX509Certificate2
Returns
GetIssuers(X509Certificate2)
Returns the issuer certificate(s) of certificate (e.g. via AIA caIssuers), or an empty list.
IReadOnlyList<X509Certificate2> GetIssuers(X509Certificate2 certificate)
Parameters
certificateX509Certificate2
Returns
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
certificateX509Certificate2issuerX509Certificate2
Returns
- byte[]