Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EnrollmentCAProperty enumeration

The EnrollmentCAProperty enumeration specifies certification authority property values. It is used by the Property method on the ICertificationAuthority interface.

Syntax


typedef enum EnrollmentCAProperty { 
  CAPropCommonName          = 1,
  CAPropDistinguishedName   = 2,
  CAPropSanitizedName       = 3,
  CAPropSanitizedShortName  = 4,
  CAPropDNSName             = 5,
  CAPropCertificateTypes    = 6,
  CAPropCertificate         = 7,
  CAPropDescription         = 8,
  CAPropWebServers          = 9,
  CAPropSiteName            = 10,
  CAPropSecurity            = 11,
  CAPropRenewalOnly         = 12
} EnrollmentCAProperty;

Constants

CAPropCommonName

A VT_BSTR value that contains the common name of the certification authority (CA) in Active Directory.

CAPropDistinguishedName

A VT_DISPATCH value that contains a pointer to an IX500DistinguishedName object.

CAPropSanitizedName

A VT_BSTR value that contains the sanitized common name of the CA in Active Directory. A name is sanitized by replacing disallowed characters with an exclamation point (!) followed by four hexadecimal values that represent the character.

CAPropSanitizedShortName

A VT_BSTR value that contains the sanitized and shortened common name of the CA in Active Directory. A name is sanitized by replacing disallowed characters with an exclamation point (!) followed by four hexadecimal values that represent the character. The name is then shortened so that it does not exceed 51 characters. The characters that are removed from the sanitized string must be hashed and the hash converted to a 5-character string.

CAPropDNSName

A VT_BSTR value that contains the DNS name of the CA in Active Directory.

CAPropCertificateTypes

A VT_ARRAY|VT_BSTR collection of templates supported by the CA.

CAPropCertificate

A VT_ARRAY | VT_UI1 value that contains the signing certificate used by the CA.

CAPropDescription

A VT_BSTR value that contains a description comment for the CA.

CAPropWebServers

A VT_ARRAY|VT_BSTR collection of certificate enrollment servers configured for the CA. Each string in the collection contains a server URL, the authentication method used, an integer that specifies the priority level, and an integer that specifies whether the server can perform only certificate renewals. Each value is delimited by a newline character.

CAPropSiteName

A VT_BSTR value that contains the name of the AD site to which the CA belongs. This can be used by the enrolling clients to determine the relative cost of communicating with the CA versus CAs that belong to other sites. This value is relevant only for CA objects retrieved by using the GetCAs method on the IX509EnrollmentPolicyServer interface.

CAPropSecurity

A VT_BSTR value that contains the security descriptor definition language (SDDL) string representation of the security descriptor for the CA. This value is relevant only for CA objects retrieved by using the GetCAs method.

CAPropRenewalOnly

A VT_BOOL value that specifies whether a CA is configured to perform only certificate renewals. This value is relevant only for CA objects retrieved by using the GetCAs method.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Certenroll.h

See also

ICertificationAuthority
Property

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.