Specifies the named property to retrieve. There is a stock set of certificate properties, referred to as the name properties, that are always valid and can be retrieved by calling this method. For information about these properties, see
Name Properties. Other properties that can be retrieved include the certificate properties.
The certificate's DistinguishedName, RawName, and SerialNumber properties are accessible by GetCertificateProperty only after the policy module has finished processing the request and the certificate is issued.
| Value | Meaning |
- CAType
- Long
|
Type of certification authority. This can be one of the following values (defined in Certsrv.h):
ENUM_ENTERPRISE_ROOTCA
ENUM_ENTERPRISE_SUBCA
ENUM_STANDALONE_ROOTCA
ENUM_STANDALONE_SUBCA
|
- CertCount
- Long
|
Number of CA certificates. This value will be one plus the number of times that the CA has been renewed. For information about renewal, see
Certification Authority Renewal.
|
- CertState
- Long
|
CA certificate state. This can be one of the following values:
- CA_DISP_ERROR: The CA certificate was never issued.
- CA_DISP_REVOKED: The CA certificate has been revoked.
- CA_DISP_VALID: The CA certificate is still valid.
- CA_DISP_INVALID: The CA certificate has expired.
This property name may be appended with '.#', where # represents a CA certificate index (or, in the case of the CRLSuffix property, a CRL index). For information about certificate and CRL indices, see
Certification Authority Renewal.
|
- CertSuffix
- String
|
Suffix for the CA certificate. The suffix is an empty string for CA certificates with an index of zero; otherwise, the suffix (in the form of "(nn)", where nn is the certificate index) is applied to all URLs that point to CA certificates stored in files or directory service objects. For non-LDAP URLs, the suffix typically appears before the ".crt" text. For LDAP URLs, the suffix is typically appended to the first 'CN=' in the full distinguished name.
This property name may be appended with '.#', where # represents a CA certificate index (or, in the case of the CRLSuffix property, a CRL index). For information about certificate and CRL indices, see
Certification Authority Renewal.
|
- CRLIndex
- Long
|
Certificate revocation list (CRL) index. Appending a certificate index to this property name allows you to retrieve the CRL index. The CRL index does not necessarily match the certificate index. For more information, see
Certification.
This property name may be appended with '.#', where # represents a CA certificate index (or, in the case of the CRLSuffix property, a CRL index). For information about certificate and CRL indices, see
Certification Authority Renewal.
|
- CRLState
- Long
|
CRL state. This can be one of the following values:
- CA_DISP_ERROR: The CRL is managed by another CA certificate.
- CA_DISP_REVOKED: All unexpired CA certificates that use this CA certificate's CRL have been revoked.
- CA_DISP_VALID: The CA certificate is still being used to publish CRLs as needed.
- CA_DISP_INVALID: All CA certificates that use this CA certificate's CRL are expired.
This property name may be appended with '.#', where # represents a CA certificate index (or, in the case of the CRLSuffix property, a CRL index). For information about certificate and CRL indices, see
Certification Authority Renewal.
|
- CRLSuffix
- String
|
Suffix for the CA CRL. The suffix is an empty string for CRLs with an index of zero; otherwise, the suffix (in the form of "(nn)", where nn is the CRL index) is applied to all URLs pointing to CRLs stored in files or directory service objects. For non-LDAP URLs, the suffix typically appears before the ".crl" text. For LDAP URLs, the suffix typically is appended to the first 'CN=' in the full distinguished name.
This property name may be appended with '.#', where # represents a CA certificate index (or, in the case of the CRLSuffix property, a CRL index). For information about certificate and CRL indices, see
Certification Authority Renewal.
|
- fUseDS
- Long
|
Indicates whether the CA uses a directory service. This can be either of the following values:
|
- MachineDNSName
- String
|
DNS name of server hosting the CA.
|
- ModuleRegistryLocation
- String
|
Registry location available for use by the module.
|
- RawCACertificate
- Binary
|
CA certificate.
This property name may be appended with '.#', where # represents a CA certificate index (or, in the case of the CRLSuffix property, a CRL index). For information about certificate and CRL indices, see
Certification Authority Renewal.
|
- RawCRL
- Binary
|
CA's certificate revocation list (CRL).
This property name may be appended with '.#', where # represents a CA certificate index (or, in the case of the CRLSuffix property, a CRL index). For information about certificate and CRL indices, see
Certification Authority Renewal.
|
- RequesterCAAccess
- Long
|
Indicates whether the requester is authorized to request the certificate. This can be either of the following values:
(The Certification Authority MMC snap-in can be used to control certificate request permissions.)
|
- SanitizedCAName
- String
|
Sanitized name for the CA. For information about sanitized CA names, see
ICertConfig::GetConfig.
|
- SanitizedShortName
- String
|
Sanitized name for the CA, shortened and containing a hash value to ensure uniqueness.
|