EncryptionAlgorithmId Property of the IFPCCookieCryptoConfiguration Interface

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

[C++]
HRESULT put_EncryptionAlgorithmId(
	long lEncryptionAlgorithmId
);
HRESULT get_EncryptionAlgorithmId(
	long* plEncryptionAlgorithmId
);

Parameters

plEncryptionAlgorithmId

Pointer to a long value that on return contains the symmetric algorithm ID used for cookie encryption.

lEncryptionAlgorithmId

A long that specifies the symmetric algorithm ID 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 EncryptionAlgorithmId As Long

Property Value

A Long value that contains the symmetric algorithm ID used for cookie encryption.

Remarks

This property is read/write.

The ALG_ID parameter specifies an algorithm identifier. Parameters of this data type are passed to most of the functions in the CryptoAPI. The values can be found at http://go.microsoft.com/fwlink/?LinkId=178575. Use encryption algorithms and not hashing algorithms.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCCookieCryptoConfiguration


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.