Click or drag to resize

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.
Inheritance Hierarchy
SystemObject
  System.Security.CryptographyAsnEncodedData
    System.Security.Cryptography.X509CertificatesX509Extension
      System.Security.Cryptography.X509CertificatesX509CertificateTemplateExtension

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public sealed class X509CertificateTemplateExtension : X509Extension

The X509CertificateTemplateExtension type exposes the following members.

Constructors
  NameDescription
Public methodX509CertificateTemplateExtension
Initializes a new instance of the X509CertificateTemplateExtension class.
Public methodX509CertificateTemplateExtension(AsnEncodedData, Boolean)
Initializes a new instance of the X509CertificateTemplateExtension class using an AsnEncodedData object and a value that identifies whether the extension is critical.
Public methodX509CertificateTemplateExtension(Oid, Int32, Int32)
Initializes a new instance of the X509CertificateTemplateExtension class by using certificate template information.
Top
Properties
  NameDescription
Public propertyCritical
Gets a Boolean value indicating whether the extension is critical.
(Inherited from X509Extension.)
Public propertyMajorVersion
Gets certificate template major version.
Public propertyMinorVersion
Gets certificate template minor version.
Public propertyOid
Gets or sets the Oid value for an AsnEncodedData object.
(Inherited from AsnEncodedData.)
Public propertyRawData
Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array.
(Inherited from AsnEncodedData.)
Public propertyTemplateOid
Gets certificate template OID value.
Top
Methods
  NameDescription
Public methodCopyFrom
Copies the extension properties of the specified AsnEncodedData object.
(Inherited from X509Extension.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFormat
Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.
(Inherited from AsnEncodedData.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEncode
Encodes current extension to ASN.1-encoded byte array.
(Defined by X509ExtensionExtensions.)
Top
See Also