X509CertificateTemplateExtension Class

Defines Microsoft proprietary X.509 extension that represents certificate template extension used by Enterprise CA to store certificate template information. This extension is used by CAs and certificate autoenrollment to perform certificate-based renewals.

Definition

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

Constructors

X509CertificateTemplateExtension Initializes a new instance of the X509CertificateTemplateExtension class.
X509CertificateTemplateExtension(AsnEncodedData, Boolean) Initializes a new instance of the X509CertificateTemplateExtension class using an AsnEncodedData object and a value that identifies whether the extension is critical.
X509CertificateTemplateExtension(Oid, Int32, Int32, Boolean) Initializes a new instance of the X509CertificateTemplateExtension class by using certificate template information.

Properties

MajorVersion Gets certificate template major version.
MinorVersion Gets certificate template minor version.
TemplateOid Gets certificate template OID value.

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