ICertSrvSetup::GetHashAlgorithmList method (casetup.h)

The GetHashAlgorithmList method gets the list of hash algorithms supported by the specified cryptographic service provider (CSP) for an asymmetric signature key algorithm. This method does not change the state of the CCertSrvSetup object.

Syntax

HRESULT GetHashAlgorithmList(
  [in]  const BSTR bstrProviderName,
  [out] VARIANT    *pVal
);

Parameters

[in] bstrProviderName

A string that contains the provider name. For key storage providers, this must be in the form PublicKeyAlgorithmName#KeyStorageProviderName for example "RSA#Microsoft Software Key Storage provider".

[out] pVal

A pointer to a VARIANT array of VT_BSTR types, where each string represents the name of a hash algorithm supported by the CSP.

Return value

None

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header casetup.h
DLL Certocm.dll

See also

ICertSrvSetup