ChildSaProposal.Builder.AddDhGroup(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a Diffie-Hellman Group to the SA proposal being built.
[Android.Runtime.Register("addDhGroup", "(I)Landroid/net/ipsec/ike/ChildSaProposal$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.ChildSaProposal.Builder AddDhGroup(int dhGroup);
[<Android.Runtime.Register("addDhGroup", "(I)Landroid/net/ipsec/ike/ChildSaProposal$Builder;", "", ApiSince=31)>]
member this.AddDhGroup : int -> Android.Net.IpSec.Ike.ChildSaProposal.Builder
Parameters
- dhGroup
- Int32
The Diffie-Hellman group to add. Convert a value of SaProposalDhGroup to Int32. Use SupportedDhGroups to check available groups.
Returns
Builder of ChildSaProposal. This value cannot be null.
- Attributes
Remarks
Adds a Diffie-Hellman Group to the SA proposal being built.
If this ChildSaProposal will be used for the first Child SA created as part of IKE AUTH exchange, DH groups configured here will only apply when the Child SA is later rekeyed. In this case, configuring different DH groups for IKE and Child SA may cause Rekey Child to fail.
If no DH groups are supplied here, but the server requests a DH exchange during rekey, the IKE SA's negotiated DH group will still be accepted.
Android reference for android.net.ipsec.ike.ChildSaProposal.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.