Phase1Encryption Property of the IFPCVpnNetworkIPSecSettings Interface

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.

[C++]
HRESULT put_Phase1Encryption(
	FpcVpnEncryptionAlgorithm Phase1Encryption
);
HRESULT get_Phase1Encryption(
	FpcVpnEncryptionAlgorithm* pPhase1Encryption
);

Parameters

pPhase1Encryption

Pointer to a value from the FpcVpnEncryptionAlgorithm enumerated type that is set on return to the value specifying the encryption algorithm to be used in Phase 1 of the IPsec negotiation process.

Phase1Encryption

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

Return Value

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

[Visual Basic]
Property Phase1Encryption As FpcVpnEncryptionAlgorithm

Property Value

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

Remarks

This property is read/write. Its default value is fpcVpn3DES, which specifies the 3DES algorithm.

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

FPCVpnNetworkIPSecSettings


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.