IX509AttributeCspProvider::get_KeySpec method (certenroll.h)

The KeySpec property retrieves a value that identifies whether the key pair stored by the provider or key container is used for encryption or for signing content.

This property is read-only.

Syntax

HRESULT get_KeySpec(
  X509KeySpec *pValue
);

Parameters

pValue

Return value

None

Remarks

Call the InitializeEncode method or the InitializeDecode method to initialize the KeySpec property. You can also call the following properties to retrieve raw data:

Requirements

   
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

IX509AttributeCspProvider