Click or drag to resize

X509CrlBuilder Class

Represents X.509 certificate revocation list (CRL) generator class.
Inheritance Hierarchy
SystemObject
  SysadminsLV.PKI.Cryptography.X509CertificatesX509CrlBuilder

Namespace:  SysadminsLV.PKI.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public class X509CrlBuilder

The X509CrlBuilder type exposes the following members.

Constructors
  NameDescription
Public methodX509CrlBuilder
Initializes a new instance of X509CrlBuilder with no CRL information.
Public methodX509CrlBuilder(X509CRL2)
Initializes a new instance of X509CrlBuilder from existing CRL data.
Top
Properties
  NameDescription
Public propertyCrlNumberIncrement
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.
Public propertyExtensions
Gets extensions to be added to CRL.
Public propertyHashingAlgorithm
Gets or sets hashing algorithm to use during encoding. If not set, default value 'SHA256' is set.
Public propertyNextCrlPublish
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.
Public propertyNextUpdate
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.
Public propertyRevokedCertificates
Gets or adds a list of revoked certificates contained in CRL.
Public propertyThisUpdate
Gets or sets start date for CRL. Default value is current date and time.
Public propertyVersion
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.
Top
Methods
  NameDescription
Public methodBuildAndHash
Hashes and encodes CRL object from builder information. Instead of signing, CRL is hashed.
Public methodBuildAndSign
Signs and encodes CRL object from builder information.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also