Microsoft Internet Security and Acceleration Server 2004 SDK

Phase1Encryption Property of IFPCVpnNetworkIPSecSettings[C++]

FPCVpnNetworkIPSecSettings.Phase1Encryption [Visual Basic]

[C++]

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.

HRESULT get_Phase1Encryption(
  FpcVpnEncryptionAlgorithm* pPhase1Encryption
);

HRESULT put_Phase1Encryption(
  FpcVpnEncryptionAlgorithm Phase1Encryption
);

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 Values

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.

[Visual Basic]

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.

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

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCVpnNetworkIPSecSettings