ImportPFXFlags enumeration (certenroll.h)

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Flags to use when importing a PFX certificate.

Syntax

typedef enum ImportPFXFlags {
  ImportNone,
  ImportMachineContext,
  ImportForceOverwrite,
  ImportSilent,
  ImportSaveProperties,
  ImportExportable,
  ImportExportableEncrypted,
  ImportNoUserProtected,
  ImportUserProtected,
  ImportUserProtectedHigh,
  ImportInstallCertificate,
  ImportInstallChain,
  ImportInstallChainAndRoot
} ;

Constants

 
ImportNone
None
ImportMachineContext
Import the PFX certificate into the machine certificate store; otherwise install to the user certificate store.
ImportForceOverwrite
Overwrite existing certificate, if exists.
ImportSilent
Silently perform the operation (do not show a user interface).
ImportSaveProperties
Save Properties on the imported PFX file.
ImportExportable
Import the PFX certificate’s private key as exportable
ImportExportableEncrypted
Import the PFX certificate’s private key as exportable and encrypted.
ImportNoUserProtected
Import the PFX certificate’s private key to not require consent.
ImportUserProtected
Import the PFX certificate’s private key to require consent without a password.
ImportUserProtectedHigh
Import the PFX certificate’s private key to require consent with a password.
ImportInstallCertificate
Install the PFX certificate to the certificate store.
ImportInstallChain
Install the PFX certificate’s chain to the certificate store.
ImportInstallChainAndRoot
Install the PFX certificate’s chain and root to the certificate store.

Requirements

   
Header certenroll.h