CertificateTemplate Class |
Namespace: PKI.CertificateTemplates
The CertificateTemplate type exposes the following members.
Name | Description | |
---|---|---|
CertificateTemplate(String) | Initializes a new instance of the CertificateTemplate class | |
CertificateTemplate(String, String) | Initializes a new instance of the CertificateTemplate class |
Name | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
AutoenrollmentAllowed |
This flag indicates whether clients can perform autoenrollment for the specified template.
| |||||||||||
DisplayName |
Gets certificate template display name. Display name has no character restrictions.
| |||||||||||
DistinguishedName |
Gets certificate template's full distinguished name (location address) in Active Directory.
| |||||||||||
LastWriteTime |
Gets the timestamp when certificate template was edited last time. The value can be used for audit purposes.
| |||||||||||
Name |
Gets certificate template common name. Common names cannot contain the following characters: " + , ; < = >
| |||||||||||
OID |
Gets certificate template's object identifier. Object identifiers are used to uniquely identify certificate template. While
certificate template common and display names can be changed, OID remains the same. Once template is deleted from
Active Directory, associated OID is removed too. Any new template (even if with the same name values) will have differen
OID value.
| |||||||||||
SchemaVersion |
Gets certificate template schema version (also known as template version). The value can be either 1, 2, 3 or 4. For template support
by CA version see SupportedCA property description.
| |||||||||||
Settings |
Gets or sets certificate template extended settings.
| |||||||||||
SupportedCA |
Gets the minimum version of the Certification Authority that can use this template to issue certificates. The following table
describes template support by CA version:
| |||||||||||
Version |
Gets certificate template internal version. The version consist of two values separated by dot: major version and minor version.
Any template changes causes internal version change.
|
Name | Description | |
---|---|---|
EnumTemplates |
Enumerates certificate templates registered in Active Directory.
| |
Equals(Object) |
Compares two CertificateTemplate objects for equality.
(Overrides ObjectEquals(Object).) | |
Equals(CertificateTemplate) |
Compares two CertificateTemplate objects for equality.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Format |
Gets certificate template textual representation.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.) | |
GetSecurityDescriptor |
Gets access control list (security descriptor) of the current certificate template.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |