IFPCCookieCryptoConfiguration::EncryptionAlgorithmId property

Applies to: desktop apps only

The EncryptionAlgorithmId property gets or sets the identifier of the symmetric algorithm used for cookie encryption.

This property is read/write.

Syntax

HRESULT put_EncryptionAlgorithmId(
  long lEncryptionAlgorithmId
);

HRESULT get_EncryptionAlgorithmId(
  long *plEncryptionAlgorithmId
);
' Data type: Long

Property EncryptionAlgorithmId( _
  ByVal lEncryptionAlgorithmId As long, _
  ByVal plEncryptionAlgorithmId As long _
) As Long

Property value

A 32-bit integer that specifies the identifier of the symmetric algorithm 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 6610, which is the identifier of the Advanced Encryption Standard (AES) algorithm with the use of a 256-bit key.

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. For this property, use identifiers of encryption algorithms and not identifiers of hashing algorithms.

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