X509CrlBuilder Class

Represents X.509 certificate revocation list (CRL) generator class.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public class X509CrlBuilder
Inheritance
Object    X509CrlBuilder

Constructors

X509CrlBuilder Initializes a new instance of X509CrlBuilder with no CRL information.
X509CrlBuilder(X509CRL2) Initializes a new instance of X509CrlBuilder from existing CRL data.

Properties

CrlNumberIncrement Gets or sets the increment value for CRL Number extension. If value is zero or negative, current CRL Number value is used. If existing CRL doesn't contain CRL Number extension, this value is ignored.
Extensions Gets extensions to be added to CRL.
HashingAlgorithm Gets or sets hashing algorithm to use during encoding. If not set, default value 'SHA256' is set.
NextCrlPublish Gets or sets the local date and time at which new CRL is expected to be published by CA. Normally this value is either, equals to NextUpdate or a bit smaller. But this value must be within CRL validity.
NextUpdate Gets or sets CRL expiration date. If not set, or expiration date is set to date before ThisUpdate, expiration date is set 7 days after CRL's start date.
RevokedCertificates Gets or adds a list of revoked certificates contained in CRL.
ThisUpdate Gets or sets start date for CRL. Default value is current date and time.
Version Gets or sets the version of the CRL. Valid values are 1 and 2. If Extensions member contains at least one element, CRL version is automatically set to 2.

Methods

BuildAndHash Hashes and encodes CRL object from builder information. Instead of signing, CRL is hashed.
BuildAndSign Signs and encodes CRL object from builder information.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also