IFPCVpnNetworkIPSecSettings::Phase2Encryption property

Applies to: desktop apps only

The Phase2Encryption property gets or sets a value from the FpcVpnEncryptionAlgorithm enumerated type that specifies the encryption algorithm to be used in Phase 2 of the IPsec negotiation process. The possible algorithms are the Data Encryption Standard (DES) algorithm, which uses a 56-bit key, and the Triple Data Encryption Standard (3DES) algorithm, which uses three 56-bit keys.

This property is read/write.

Syntax

HRESULT put_Phase2Encryption(
  FpcVpnEncryptionAlgorithm Phase2Encryption
);

HRESULT get_Phase2Encryption(
  FpcVpnEncryptionAlgorithm *pPhase2Encryption
);
' Data type: FpcVpnEncryptionAlgorithm

Property Phase2Encryption( _
  ByVal Phase2Encryption As FpcVpnEncryptionAlgorithm, _
  ByVal pPhase2Encryption As FpcVpnEncryptionAlgorithm _
) As FpcVpnEncryptionAlgorithm

Property value

Value from the FpcVpnEncryptionAlgorithm enumerated type that specifies the encryption algorithm to be used in Phase 2 of the IPsec negotiation process.

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. Its default value is fpcVpn3DES, which specifies the 3DES algorithm.

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

FPCVpnNetworkIPSecSettings

 

 

Build date: 7/12/2010