IX509PrivateKey::get_Existing method (certenroll.h)

The Existing property specifies or retrieves a Boolean value that indicates whether the private key has been created or imported. This property is web enabled for both input and output.

This property is read/write.

Syntax

HRESULT get_Existing(
  VARIANT_BOOL *pValue
);

Parameters

pValue

Return value

None

Remarks

Call the Create method to create a new private key. Call the Open method to open an existing key.

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