IFPCVpnNetworkIPSecSettings::Phase2DHGroup property
Applies to: desktop apps only
The Phase2DHGroup property gets or sets a value from the FpcVpnDiffieHellmanGroup enumerated type that specifies the Diffie-Hellman group to be used in Phase 2 of the IPsec negotiation process.
This property is read/write.
Syntax
HRESULT put_Phase2DHGroup(
FpcVpnDiffieHellmanGroup Phase2DHGroup
);
HRESULT get_Phase2DHGroup(
FpcVpnDiffieHellmanGroup *pPhase2DHGroup
);
' Data type: FpcVpnDiffieHellmanGroup
Property Phase2DHGroup( _
ByVal Phase2DHGroup As FpcVpnDiffieHellmanGroup, _
ByVal pPhase2DHGroup As FpcVpnDiffieHellmanGroup _
) As FpcVpnDiffieHellmanGroup
Property value
Value from the FpcVpnDiffieHellmanGroup enumerated type that specifies the Diffie-Hellman group 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 fpcVpnDHGroup2, which specifies Diffie-Hellman Group 2.
The Diffie-Hellman group sets the length of the base prime numbers used during the key exchange process. The cryptographic strength of any key derived depends, in part, on this length.
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