Share via


IFPCCookieCryptoConfiguration::KeyLengthMask property

Applies to: desktop apps only

The KeyLengthMask property gets or sets a bitmask corresponding to the session key size, in bits, used for cookie encryption.

This property is read/write.

Syntax

HRESULT put_KeyLengthMask(
  long lKeyLengthMask
);

HRESULT get_KeyLengthMask(
  long *plKeyLengthMask
);
' Data type: Long

Property KeyLengthMask( _
  ByVal lKeyLengthMask As long, _
  ByVal plKeyLengthMask As long _
) As Long

Property value

A 32-bith integer that specifies a bitmask corresponding to the session key size, in bits, used for cookie encryption.

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 1000000, which corresponds to a 256-bit session key.

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

FPCCookieCryptoConfiguration

 

 

Build date: 7/12/2010