Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

X509CertificateEnrollmentContext enumeration (certenroll.h)

The X509CertificateEnrollmentContext enumeration specifies the nature of the end entity for which the certificate is intended. This enumeration is used by the following interfaces:

Syntax

typedef enum X509CertificateEnrollmentContext {
 ContextNone = 0,
 ContextUser = 0x1,
 ContextMachine = 0x2,
 ContextAdministratorForceMachine = 0x3
} ;

Constants

 
ContextNone
Value: 0
ContextUser
Value: 0x1
The certificate is intended for an end user.
ContextMachine
Value: 0x2
The certificate is intended for a computer.
ContextAdministratorForceMachine
Value: 0x3
The certificate is being requested by an administrator acting on the behalf of a computer.

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


Feedback

Was this page helpful?

Additional resources