IFPCVpnNetworkIPSecSettings::Phase1Encryption property

Applies to: desktop apps only

The Phase1Encryption property gets or sets a value from the FpcVpnEncryptionAlgorithm enumerated type that specifies the encryption algorithm to be used in Phase 1 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_Phase1Encryption(
  FpcVpnEncryptionAlgorithm Phase1Encryption
);

HRESULT get_Phase1Encryption(
  FpcVpnEncryptionAlgorithm *pPhase1Encryption
);

Property value

Value from the FpcVpnEncryptionAlgorithm enumerated type that specifies the encryption algorithm to be used in Phase 1 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

Show: