Partilhar via


ISmsMessage4::SetHashAlgorithm Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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

Warning

This method is reserved for future use and should not be used.

[IDL]
HRESULT SetHashAlgorithm(
     DWORD  dwHashAlgorithmId
);

Parameters

  • dwHashAlgorithmId
    Data type: DWORD

    Qualifiers: [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

Concepts

ISmsMessage4 Interface