IFPCCookieCryptoConfiguration::HashAlgorithmId property
Applies to: desktop apps only
The HashAlgorithmId property gets or sets the identifier of the algorithm used for cookie hashing.
This property is read/write.
Syntax
HRESULT put_HashAlgorithmId(
long lHashAlgorithmId
);
HRESULT get_HashAlgorithmId(
long *plHashAlgorithmId
);
' Data type: Long
Property HashAlgorithmId( _
ByVal lHashAlgorithmId As long, _
ByVal plHashAlgorithmId As long _
) As Long
Property value
A 32-bit integer that specifies the identifier of the algorithm used for cookie hashing.
Error codes
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Remarks
This property is read/write. The default value is the hexadecimal number 800C, which is the identifier of Secure Hash Algorithm 256 (SHA-256). This algorithm produces a 256-bit hash.
The ALG_ID data type specifies an algorithm identifier. Values of this data type are passed to most of the functions in the CryptoAPI. For the identifier values used for specific algorithms , see ALG_ID.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
IDL |
Msfpccom.idl |
DLL |
Msfpccom.dll |
See also
Build date: 7/12/2010