X509CAVersionExtension Class |
Namespace: System.Security.Cryptography.X509Certificates
The X509CAVersionExtension type exposes the following members.
Name | Description | |
---|---|---|
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.
|
Name | Description | |
---|---|---|
CACertificateVersion |
Gets a zero-based CA certificate version.
| |
CAKeyVersion |
Gets a zero-based CA private key version.
| |
Critical | Gets a Boolean value indicating whether the extension is critical. (Inherited from X509Extension.) | |
Oid | Gets or sets the Oid value for an AsnEncodedData object. (Inherited from AsnEncodedData.) | |
RawData | Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array. (Inherited from AsnEncodedData.) |
Name | Description | |
---|---|---|
CopyFrom | Copies the extension properties of the specified AsnEncodedData object. (Inherited from X509Extension.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Format | Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string. (Inherited from AsnEncodedData.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Encode |
Encodes current extension to ASN.1-encoded byte array.
(Defined by X509ExtensionExtensions.) |
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.