Skip to content

Latest commit

 

History

History
102 lines (75 loc) · 3.09 KB

nc-certenroll-importpfxtoprovider.md

File metadata and controls

102 lines (75 loc) · 3.09 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NC:certenroll.ImportPFXToProvider
ImportPFXToProvider (certenroll.h)
Imports a PFX certificate.
ImportPFXToProvider
(FNIMPORTPFXTOPROVIDER)
(FNIMPORTPFXTOPROVIDER) callback function [Security]
FNIMPORTPFXTOPROVIDER callback
certenroll/(FNIMPORTPFXTOPROVIDER)
fnimportpfxtoprovider
security.fnimportpfxtoprovider
wincrypt/(FNIMPORTPFXTOPROVIDER)
security\fnimportpfxtoprovider.htm
security
D5F4A318-4572-4563-85B0-7F3532833DE4
12/05/2018
ImportPFXToProvider, (FNIMPORTPFXTOPROVIDER), (FNIMPORTPFXTOPROVIDER) callback function [Security], FNIMPORTPFXTOPROVIDER callback, certenroll/(FNIMPORTPFXTOPROVIDER), fnimportpfxtoprovider, security.fnimportpfxtoprovider, wincrypt/(FNIMPORTPFXTOPROVIDER)
certenroll.h
Windows
Windows
19H1
ImportPFXToProvider
certenroll/ImportPFXToProvider
c++
APIRef
kbSyntax
UserDefined
certenroll.h
wincrypt.h
(FNIMPORTPFXTOPROVIDER)
ImportPFXToProvider

-description

Imports a PFX certificate.

-parameters

-param hWndParent [in]

Handle to a Parent Window.

-param pbPFX [in]

Pointer to a buffer that contains the PFX file.

-param cbPFX [in]

Size of pbPFX in bytes.

-param ImportFlags [in]

One or more ImportPFXFlag values.

-param pwszPassword [in, optional]

Pointer to a constant null-terminated string of 16-bit Unicode characters that is the Password for the PFX file.

-param pwszProviderName [in, optional]

Pointer to a constant null-terminated string of 16-bit Unicode characters that is the name of the crypto provider.

-param pwszReaderName [in, optional]

Pointer to a constant null-terminated string of 16-bit Unicode characters that is the name of the smart card reader (can be nullptr).

-param pwszContainerNamePrefix [in, optional]

Pointer to a constant null-terminated string of 16-bit Unicode characters that is the name of the container (can be nullptr).

-param pwszPin [in, optional]

Pointer to a constant null-terminated string of 16-bit Unicode characters that is the PIN of the smart card (can be nullptr).

-param pwszFriendlyName [in, optional]

Pointer to a constant null-terminated string of 16-bit Unicode characters that is the friendly name of the certificate (can be nullptr).

-param pcCertOut [out, optional]

Pointer to DWORD that receives the number of certificates successfully imported (can be nullptr).

-param prgpCertOut [out, optional]

Pointer to a pointer that receives a CERT_CONTEXT structure (can be nullptr).