CertificateTemplateNameFlags Enumeration

Defines flags that determine how certificate subject is constructed.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Definition

Namespace: PKI.CertificateTemplates
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
[FlagsAttribute]
public enum CertificateTemplateNameFlags

Members

EnrolleeSuppliesSubject1 This flag instructs the client to supply subject information in the certificate request.
OldCertSuppliesSubjectAndAltName8 This flag instructs the client to reuse values of subject name and alternative subject name extensions from an existing valid certificate when creating a certificate renewal request.

Windows Server 2003, Windows Server 2008 - this flag is not supported.

EnrolleeSuppluiesAltSubject65,536 This flag instructs the client to supply subject alternate name information in the certificate request.
AltSubjectRequireDomainDNS4,194,304 This flag instructs the CA to add the value of the requester FQDN and NetBIOS name to the Subject Alternative Name extension of the issued certificate.
AltSubjectRequireSPN8,388,608 This flag instructs the CA to add the value of the requester Service Principal name to the Subject Alternative Name extension of the issued certificate.
AltSubjectRequireDirectoryGUID16,777,216 This flag instructs the CA to add the value of the objectGUID attribute from the requester user object in Active Directory to the Subject Alternative Name extension of the issued certificate.
AltSubjectRequireUPN33,554,432 This flag instructs the CA to add the value of the UPN attribute from the requester user object in Active Directory to the Subject Alternative Name extension of the issued certificate.
AltSubjectRequireEmail67,108,864 This flag instructs the CA to add the value of the e-mail attribute from the requester user object in Active Directory to the Subject Alternative Name extension of the issued certificate.
AltSubjectRequireDNS134,217,728 This flag instructs the CA to add the value obtained from the DNS attribute of the requester user object in Active Directory to the Subject Alternative Name extension of the issued certificate.
SubjectRequireDNSasCN268,435,456 This flag instructs the CA to add the value obtained from the DNS attribute of the requester user object in Active Directory as the CN in the subject of the issued certificate.
SubjectRequireEmail536,870,912 This flag instructs the CA to add the value of the e-mail attribute from the requester user object in Active Directory as the subject of the issued certificate.
SubjectRequireCommonName1,073,741,824 This flag instructs the CA to set the subject name to the requester CN from Active Directory.
SubjectRequireDirectoryPath-2,147,483,648 This flag instructs the CA to set the subject name to the requester distinguished name (DN) from Active Directory.

See Also