Class RevocationCheckException
- Namespace
- SimpleSign.Core.Validation
- Assembly
- SimpleSign.Core.dll
Thrown when a certificate revocation check fails — for example, when an OCSP responder times out, a CRL cannot be downloaded, or the certificate has been revoked.
public sealed class RevocationCheckException : ValidationException, ISerializable
- Inheritance
-
RevocationCheckException
- Implements
- Inherited Members
Constructors
RevocationCheckException()
Creates a new instance with no message.
public RevocationCheckException()
RevocationCheckException(string)
Creates a new instance with the specified message.
public RevocationCheckException(string message)
Parameters
messagestring
RevocationCheckException(string, Exception)
Creates a new instance with the specified message and inner exception.
public RevocationCheckException(string message, Exception innerException)
Parameters
RevocationCheckException(string, string?, Uri?, Uri?)
Creates a new instance with the specified message and revocation check details.
public RevocationCheckException(string message, string? certificateThumbprint, Uri? ocspResponderUrl, Uri? crlDistributionPoint)
Parameters
messagestringA description of the revocation check failure.
certificateThumbprintstringSHA-1 thumbprint of the certificate being checked.
ocspResponderUrlUriOCSP responder URL, if applicable.
crlDistributionPointUriCRL distribution point URL, if applicable.
Properties
CertificateThumbprint
SHA-1 thumbprint of the certificate whose revocation status could not be determined.
public string? CertificateThumbprint { get; }
Property Value
CrlDistributionPoint
URL of the CRL distribution point that was queried, if any.
public Uri? CrlDistributionPoint { get; }
Property Value
OcspResponderUrl
URL of the OCSP responder that was queried, if any.
public Uri? OcspResponderUrl { get; }