Click or drag to resize

X509CRL2 Class

Provides methods that help you use X.509 certificate revocation lists (CRL).
Inheritance Hierarchy
SystemObject
  System.Security.Cryptography.X509CertificatesX509CRL2

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
public class X509CRL2 : IDisposable

The X509CRL2 type exposes the following members.

Constructors
  NameDescription
Public methodX509CRL2(Byte)
Initializes a new instance of the X509CRL2 class defined from a sequence of bytes representing an X.509 certificate revocation list.
Public methodX509CRL2(String)
Initializes a new instance of the X509CRL2 class using the path to a CRL file.
Top
Properties
  NameDescription
Public propertyCRLNumber
Gets the CRL sequential number.
Public propertyExtensions
Gets a collection of X509Extension objects.
Public propertyHandle
Gets a handle to a Microsoft Cryptographic API CRL context described by an unmanaged CRL_CONTEXT structure.
Public propertyIssuer
Gets the textual representation of the CRL issuer (in X.500 name format).
Public propertyIssuerName
Gets the distinguished name of the CRL issuer.
Public propertyNextUpdate
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.
Public propertyRawData
Gets the raw data of a certificate revocation list.
Public propertyRevokedCertificates
Gets a collection of X509CRLEntry objects.
Public propertySignatureAlgorithm
Gets the algorithm used to create the signature of a CRL.
Public propertyThisUpdate
Gets the issue date of this CRL.
Public propertyThumbprint
Gets a thumbprint of the current CRL object. Default thumbprint algorithm is SHA256.
Public propertyType
Gets the type of a certificate revocation list. Value can be either Base CRL or Delta CRL.
Public propertyVersion
Gets the X.509 format version of a certificate revocation list.
Top
Methods
  NameDescription
Public methodCertificateInCrl
Verifies whether the specified certificate is in the current revocation list.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEncode(EncodingType)
Encodes the current X509CRL2 object to a form specified in the encoding parameter.
Public methodEncode(X509EncodingType)
Encodes the current X509CRL2 object and sends result to the output.
Public methodEquals
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).)
Public methodExport
Exports the current X509CRL2 object to a file.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodGetCRLNumber
Gets certificate revocation list sequence number.
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetNextPublish
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.
Public methodGetSafeContext
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasDelta
Indiciates whether the current Base CRL has configured to use Delta CRLs too.
Public methodImport(Byte) Obsolete.
Populates an X509CRL2 object with the CRL information from a DER-encoded byte array.
Public methodImport(String) Obsolete.
Populates an X509CRL2 object with the CRL information from a file.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Resets the state of an X509CRL2.
Public methodShowUI
Displays a X.509 Certificate Revocation List UI dialog.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToString(Boolean)
Displays an X.509 certificate revocation list in text format.
Public methodVerifySignature
Verifies whether the specified certificate is an issuer of this CRL by verifying CRL signature against specified certificate's public key.
Top
See Also