Skip to content

Latest commit

 

History

History
95 lines (83 loc) · 4.24 KB

nf-certenroll-ix509privatekey-put_providername.md

File metadata and controls

95 lines (83 loc) · 4.24 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
NF:certenroll.IX509PrivateKey.put_ProviderName
IX509PrivateKey::put_ProviderName (certenroll.h)
Specifies or retrieves the name of the cryptographic provider. (Put)
IX509PrivateKey interface [Security]
ProviderName property
IX509PrivateKey.ProviderName
IX509PrivateKey.put_ProviderName
IX509PrivateKey::ProviderName
IX509PrivateKey::get_ProviderName
IX509PrivateKey::put_ProviderName
ProviderName property [Security]
ProviderName property [Security]
IX509PrivateKey interface
certenroll/IX509PrivateKey::ProviderName
certenroll/IX509PrivateKey::get_ProviderName
certenroll/IX509PrivateKey::put_ProviderName
put_ProviderName
security.ix509privatekey_providername
security\ix509privatekey_providername.htm
security
42a348ae-9946-4d76-a035-14990d823449
12/05/2018
IX509PrivateKey interface [Security],ProviderName property, IX509PrivateKey.ProviderName, IX509PrivateKey.put_ProviderName, IX509PrivateKey::ProviderName, IX509PrivateKey::get_ProviderName, IX509PrivateKey::put_ProviderName, ProviderName property [Security], ProviderName property [Security],IX509PrivateKey interface, certenroll/IX509PrivateKey::ProviderName, certenroll/IX509PrivateKey::get_ProviderName, certenroll/IX509PrivateKey::put_ProviderName, put_ProviderName, security.ix509privatekey_providername
certenroll.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
CertEnroll.dll
Windows
19H1
IX509PrivateKey::put_ProviderName
certenroll/IX509PrivateKey::put_ProviderName
c++
APIRef
kbSyntax
COM
CertEnroll.dll
IX509PrivateKey.ProviderName
IX509PrivateKey.get_ProviderName
IX509PrivateKey.put_ProviderName

IX509PrivateKey::put_ProviderName

-description

The ProviderName property specifies or retrieves the name of the cryptographic provider. This property is web enabled for both input and output.

This property is read/write.

-parameters

-remarks

Setting this property automatically sets the following properties to be consistent with the specified ProviderName value:

These properties are set in the following manner:
  • The provider configuration data is used, if available, to determine the appropriate ProviderType value.
  • If the specified provider is a CNG KSP:
    • The LegacyCsp property is set to VARIANT_FALSE.
    • The KeySpec property is set to XCN_AT_NONE.
  • If the specified provider is not a CNG KSP:
    • The LegacyCsp property is set to VARIANT_TRUE.
    • The KeySpec property is set to XCN_AT_SIGNATURE.
If you set the ProviderName property, we recommend that you do not set the LegacyCsp or ProviderType properties.

-see-also

IX509PrivateKey