The ISmsMessage4::SetHashAlgorithm method, in Configuration Manager, sets the hash algorithm to use while signing data.

Caution
This method is reserved for future use and should not be used.
[IDL]
HRESULT SetHashAlgorithm(
	 DWORD  dwHashAlgorithmId
);

Parameters

dwHashAlgorithmId


Data type: DWORDQualifiers: [in] Hash algorithm ID (CALG_* from Wincrypt.h).

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Remarks

The default hash algorithm is SHA1. The algorithm can only be changed in native security mode.

Requirements

See Also

Other Resources

ISmsMessage4 Interface


Send comments about this topic to Microsoft.