Language

IkeSaProposal.Builder.AddDhGroup(Int32) Method

Definition

Adds a Diffie-Hellman Group to the SA proposal being built.

[Android.Runtime.Register("addDhGroup", "(I)Landroid/net/ipsec/ike/IkeSaProposal$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.IkeSaProposal.Builder AddDhGroup(int dhGroup);
[<Android.Runtime.Register("addDhGroup", "(I)Landroid/net/ipsec/ike/IkeSaProposal$Builder;", "", ApiSince=31)>]
member this.AddDhGroup : int -> Android.Net.IpSec.Ike.IkeSaProposal.Builder

Parameters

dhGroup
Int32

The Diffie-Hellman group identifier to add. Select a supported group from SupportedDhGroups other than None. An IKE proposal cannot use the no-Diffie-Hellman value.

Returns

Builder of IkeSaProposal. This value cannot be null.

Attributes

Remarks

Adds a Diffie-Hellman Group to the SA proposal being built.

Android reference for android.net.ipsec.ike.IkeSaProposal.Builder.addDhGroup.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to