IFPCVpnNetworkIPSecSettings::Phase2Integrity property

Applies to: desktop apps only

The Phase2Integrity property gets or sets a value from the FpcVpnIntegrityAlgorithm enumerated type that specifies the integrity algorithm to be used in Phase 2 of the IPsec negotiation process. The possible algorithms are the Message Digest 5 (MD5) integrity algorithm, which uses a 128-bit key, and the Secure Hash Algorithm 1 (SHA1) integrity algorithm, which uses a 160-bit key.

This property is read/write.

Syntax

HRESULT put_Phase2Integrity(
  FpcVpnIntegrityAlgorithm Phase2Integrity
);

HRESULT get_Phase2Integrity(
  FpcVpnIntegrityAlgorithm *pPhase2Integrity
);
' Data type: FpcVpnIntegrityAlgorithm

Property Phase2Integrity( _
  ByVal Phase2Integrity As FpcVpnIntegrityAlgorithm, _
  ByVal pPhase2Integrity As FpcVpnIntegrityAlgorithm _
) As FpcVpnIntegrityAlgorithm

Property value

Value from the FpcVpnIntegrityAlgorithm enumerated type that specifies the integrity algorithm 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 fpcVpnSHA1, which specifies the SHA1 integrity 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