X509CRL2 Class

Provides methods that help you use X.509 certificate revocation lists (CRL).

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public class X509CRL2
Inheritance
Object    X509CRL2

Constructors

X509CRL2(Byte) Initializes a new instance of the X509CRL2 class defined from a sequence of bytes representing an X.509 certificate revocation list.
X509CRL2(String) Initializes a new instance of the X509CRL2 class using the path to a CRL file.

Properties

CRLNumber Gets the CRL sequential number.
Extensions Gets a collection of X509Extension objects.
Issuer Gets the textual representation of the CRL issuer (in X.500 name format).
IssuerName Gets the distinguished name of the CRL issuer.
NextUpdate Gets the date by which the next CRL will be issued. The next CRL could be issued before the indicated date, but it will not be issued any later than the indicated date.
RawData Gets the raw data of a certificate revocation list.
RevokedCertificates Gets a collection of X509CRLEntry objects.
SignatureAlgorithm Gets the algorithm used to create the signature of a CRL.
ThisUpdate Gets the issue date of this CRL.
Thumbprint Gets a thumbprint of the current CRL object. Default thumbprint algorithm is SHA256.
Type Gets the type of a certificate revocation list. Value can be either Base CRL or Delta CRL.
Version Gets the X.509 format version of a certificate revocation list.

Methods

CertificateInCrl Verifies whether the specified certificate is in the current revocation list.
Encode Encodes the current X509CRL2 object to a form specified in the encoding parameter.
Equals Determines whether the specified object is equal to the current object. Two CRLs are equal when they have same version, type, issuer, CRL number and ThisUpdate values.
(Overrides ObjectEquals(Object))
Export Exports the current X509CRL2 object to a file.
Finalize
(Inherited from Object)
GetCRLNumber Gets certificate revocation list sequence number.
GetHashCode
(Overrides ObjectGetHashCode)
GetNextPublish Gets the date and time when the next CRL is planned to be published. The method uses either Next CRL Publish extension or NextUpdate field to determine when a newer version should be issued.
GetType
(Inherited from Object)
HasDelta Indicates whether the current Base CRL has configured to use Delta CRLs too.
MemberwiseClone
(Inherited from Object)
ToString
(Overrides ObjectToString)
ToString(Boolean) Displays an X.509 certificate revocation list in text format. This method is obsolete.
Obsolete.
ToString(Int32) Displays an X.509 certificate revocation list in text format.
VerifySignature Verifies whether the specified certificate is an issuer of this CRL by verifying CRL signature against specified certificate's public key.

Extension Methods

GetSafeContext Gets a SafeCRLHandleContext for the X509 certificate revocation list. The caller of this method owns the returned safe handle, and should dispose of it when they no longer need it. This handle can be used independently of the lifetime of the original X509 certificate revocation list.
(Defined by X509CRL2Extensions)
ShowUI Displays a X.509 Certificate Revocation List UI dialog.
(Defined by X509CRL2Extensions)

See Also