IX509PrivateKey::put_KeyProtection method (certenroll.h)

The KeyProtection property specifies or retrieves a value that indicates how a private key is protected before use. This property is web enabled for both input and output.

This property is read/write.

Syntax

HRESULT put_KeyProtection(
  X509PrivateKeyProtection Value
);

Parameters

Value

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

IX509PrivateKey