Class CrlClient
- Namespace
- SimpleSign.Core.Revocation
- Assembly
- SimpleSign.Core.dll
CRL (Certificate Revocation List) client for certificate revocation checking. Downloads CRLs, checks serial numbers, and verifies CRL signatures.
public sealed class CrlClient : ICrlClient
- Inheritance
-
CrlClient
- Implements
- Inherited Members
Constructors
CrlClient(HttpClient, ILogger?)
Creates a CRL client with the specified HTTP client and optional logger.
public CrlClient(HttpClient httpClient, ILogger? logger = null)
Parameters
httpClientHttpClientloggerILogger
Methods
CheckCrlAsync(X509Certificate2, string, CancellationToken)
Downloads and checks a CRL for the given certificate.
public Task<bool> CheckCrlAsync(X509Certificate2 cert, string crlUrl, CancellationToken ct)
Parameters
certX509Certificate2crlUrlstringctCancellationToken