Note

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

Access to this page requires authorization. You can try .

PFXExportOptions enumeration (certenroll.h)

The PFXExportOptions enumeration specifies how much of a certificate chain is included when creating a Personal Information Exchange (PFX) message. The PFX message syntax is defined by the PKCS #12 standard. PFX is a transfer syntax for personal identity information, including private keys and certificates. The enumeration is used by the CreatePFX method on the IX509Enrollment interface.

Syntax

typedef enum PFXExportOptions {
 PFXExportEEOnly = 0,
 PFXExportChainNoRoot = 1,
 PFXExportChainWithRoot = 2
} ;

Constants

 
PFXExportEEOnly
Value: 0
Includes only the end entity certificate.
PFXExportChainNoRoot
Value: 1
Includes the certificate chain without the root certification authority certificate.
PFXExportChainWithRoot
Value: 2
Includes the entire certificate chain, including the root certification authority certificate.

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

CreatePFX


Feedback

Was this page helpful?

Additional resources