Class RevocationInfo
- Namespace
- MiPdf.Signatures
- Assembly
- MiPdf.dll
Certificate extensions and request encoding for revocation checking.
public static class RevocationInfo
- Inheritance
-
RevocationInfo
- Inherited Members
Methods
CreateOcspRequest(X509Certificate2, X509Certificate2)
Encodes an OCSP request (RFC 6960) with a SHA-1 CertID and without nonce (cacheable).
public static byte[] CreateOcspRequest(X509Certificate2 certificate, X509Certificate2 issuer)
Parameters
certificateX509Certificate2issuerX509Certificate2
Returns
- byte[]
GetCaIssuerUrls(X509Certificate2)
CA issuer certificate URLs from the Authority Information Access extension.
public static IReadOnlyList<string> GetCaIssuerUrls(X509Certificate2 certificate)
Parameters
certificateX509Certificate2
Returns
GetCrlUrls(X509Certificate2)
CRL distribution point URLs.
public static IReadOnlyList<string> GetCrlUrls(X509Certificate2 certificate)
Parameters
certificateX509Certificate2
Returns
GetOcspUrls(X509Certificate2)
OCSP responder URLs from the Authority Information Access extension.
public static IReadOnlyList<string> GetOcspUrls(X509Certificate2 certificate)
Parameters
certificateX509Certificate2
Returns
HasOcspNoCheck(X509Certificate2)
True for certificates that must not be checked for revocation (OCSP responders with id-pkix-ocsp-nocheck).
public static bool HasOcspNoCheck(X509Certificate2 certificate)
Parameters
certificateX509Certificate2
Returns
IsSelfSigned(X509Certificate2)
True if the certificate is self-signed (a root): subject equals issuer.
public static bool IsSelfSigned(X509Certificate2 certificate)
Parameters
certificateX509Certificate2