X509RequestType enumeration (certenroll.h)

The X509RequestType enumeration specifies the certificate request type. This enumeration is returned by the Type property on the IX509CertificateRequest interface.

Syntax

typedef enum X509RequestType {
  TypeAny = 0,
  TypePkcs10 = 1,
  TypePkcs7 = 2,
  TypeCmc = 3,
  TypeCertificate = 4
} ;

Constants

 
TypeAny
Value: 0
The type is not defined.
TypePkcs10
Value: 1
A PKCS #10 request. For more information, see the IX509CertificateRequestPkcs10 interface.
TypePkcs7
Value: 2
A PKCS #7 request represented by an IX509CertificateRequestPkcs7 interface.
TypeCmc
Value: 3
A Certificate Management over CMS (CMC) request. For more information, see the IX509CertificateRequestCmc interface.
TypeCertificate
Value: 4
A self-signed certificate. For more information, see the IX509CertificateRequestCertificate interface.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header certenroll.h

See also

CertEnroll Enumerations

CertEnroll Interfaces