Share via


KeyLengthMask Property of the IFPCCookieCryptoConfiguration Interface

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

C++

HRESULT put_KeyLengthMask(
    long lKeyLengthMask
);
HRESULT get_KeyLengthMask(
    long* plKeyLengthMask
);

Parameters

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

  • plKeyLengthMask
    Pointer to a 32-bit integer that is set on return to a bitmask corresponding to the session key size, in bits, used for cookie encryption.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property KeyLengthMask As Long

Property Value

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

Remarks

This property is read/write. The default value is the hexadecimal number 1000000, which corresponds to a 256-bit session key.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCCookieCryptoConfiguration

Send comments about this topic to Microsoft

Build date: 6/30/2010