ICspAlgorithm::get_Type method (certenroll.h)

The Type property retrieves the algorithm type. This property is web enabled.

This property is read-only.

Syntax

HRESULT get_Type(
  AlgorithmType *pValue
);

Parameters

pValue

Return value

None

Remarks

The main difference between the Type property and the Operations property is that the latter contains a bitfield in which multiple bits can be set. Because many algorithms can be used for multiple purposes, the Operations property is often more useful. The Type value can correspond to only one of the Operations value bits. For example, if the Operations property returns XCN_NCRYPT_SIGNATURE_OPERATION | XCN_NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION, the Type property may return XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE.

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

ICspAlgorithm

Operations