Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
);
' Data type: FpcVpnEncryptionAlgorithm
Property Phase1Encryption( _
  ByVal Phase1Encryption As FpcVpnEncryptionAlgorithm, _
  ByVal pPhase1Encryption As FpcVpnEncryptionAlgorithm _
) 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.
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
Build date: 7/12/2010