X509CAVersionExtension Class

Represents CA Version extension that describes the CA certificate and CA private key index used in CA certificate and when signing CRLs.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public sealed class X509CAVersionExtension : X509Extension
Inheritance
X509Extension    X509CAVersionExtension

Remarks

Active Directory Certificate Services supports the renewal of a certification authority (CA). Renewal is the issuing of a new certificate for the CA to extend the CA's life beyond the end date of its original certificate.

Each renewal results in a new CA certificate; however, the administrator can either generate a new public/private key pair or reuse the existing public/private key pair for the CA certificate. For consistency and integrity, CA certificates and certificate revocation lists(CRL) issued by the CA before its renewal will be available after the CA has been renewed. To make these available, Certificate Services maintains an index of CA certificates, CRLs, and keys.

When CA server is installed, initial key pair is used and both have zero index. Each time CA certificate is renewed (regardless whether the key pair is changed or not), CA certificate index is incremented sequentially by one. CA private key index is changed only when new key pair is generated during CA certificate renewal and is updated to match CA certificate index.

Constructors

X509CAVersionExtension(AsnEncodedData, Boolean) Initializes a new instance of X509CAVersionExtension from ASN.1-encoded byte array.
X509CAVersionExtension(UInt16, UInt16, Boolean) Initializes a new instance of X509CAVersionExtension from CA certificate version and CA private key version.

Properties

CACertificateVersion Gets a zero-based CA certificate version.
CAKeyVersion Gets a zero-based CA private key version.

Extension Methods

ConvertExtension Converts default instance of X509Extension class to a specific extension implementation object.
(Defined by X509ExtensionExtensions)
Encode Encodes current extension to ASN.1-encoded byte array.
(Defined by X509ExtensionExtensions)

See Also