Phase1Integrity Property of the IFPCVpnNetworkIPSecSettings Interface

The Phase1Integrity property gets or sets a value from the FpcVpnIntegrityAlgorithm enumerated type that specifies the integrity algorithm to be used in Phase 1 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.

[C++]
HRESULT put_Phase1Integrity(
	FpcVpnIntegrityAlgorithm Phase1Integrity
);
HRESULT get_Phase1Integrity(
	FpcVpnIntegrityAlgorithm* pPhase1Integrity
);

Parameters

pPhase1Integrity

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

Phase1Integrity

Value from the FpcVpnIntegrityAlgorithm enumerated type that specifies the integrity 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 Phase1Integrity As FpcVpnIntegrityAlgorithm

Property Value

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

Remarks

This property is read/write. Its default value is fpcVpnSHA1, which specifies the SHA1 integrity 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.