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: PKI.Core (in PKI.Core.dll) Version: 3.2.6.0 (3.2.6.0)
Syntax
public class X509CRL2 : IDisposable

The X509CRL2 type exposes the following members.

Constructors
  NameDescription
Public methodX509CRL2
Initializes a new instance of the X509CRL2 class.
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 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 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 methodBuild
Encodes and signs CRL. After this method call, no CRL generation method calls are permitted. This method is a generator method, for more details see Remarks section.
Public methodCertificateInCrl
Verifies whether the specified certificate is in the current revocation list.
Public methodDispose
Disposes current object and releases unmanaged resources if necessary.
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.
(Inherited from 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.
(Inherited from Object.)
Public methodGetCRLNumber
Gets certificate revocation list sequence number.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
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)
Populates an X509CRL2 object with the CRL information from a DER-encoded byte array.
Public methodImport(String)
Populates an X509CRL2 object with the CRL information from a file.
Public methodImportCRLEntries
Adds information about revoked certificates to a CRL. This method is a generator method, for more details see Remarks section.
Public methodImportExtensions
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReleaseContext
Releases the handle of the current object.
Public methodReset
Resets the state of an X509CRL2.
Public methodSetHashingAlgorithm
Specifies the signing/hashing algorithm to use for CRL object signing. This method is a generator method, for more details see Remarks section.
Public methodSetNextUpdate
Sets the end validity for the CRL object. This method is a generator method, for more details see Remarks section.
Public methodSetThisUpdate
Sets the start validity for the CRL object. This method is a generator method, for more details see Remarks section.
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