Language

IkeSessionParams.Builder.SetLocalIdentification(IkeIdentification) Method

Definition

Sets local IKE identification for the IkeSessionParams being built.

[Android.Runtime.Register("setLocalIdentification", "(Landroid/net/ipsec/ike/IkeIdentification;)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.IkeSessionParams.Builder SetLocalIdentification(Android.Net.IpSec.Ike.IkeIdentification identification);
[<Android.Runtime.Register("setLocalIdentification", "(Landroid/net/ipsec/ike/IkeIdentification;)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)>]
member this.SetLocalIdentification : Android.Net.IpSec.Ike.IkeIdentification -> Android.Net.IpSec.Ike.IkeSessionParams.Builder

Parameters

identification
IkeIdentification

the local IKE identification. This value cannot be null.

Returns

Builder this, to facilitate chaining. This value cannot be null.

Attributes

Remarks

Sets local IKE identification for the IkeSessionParams being built.

It is not allowed to use KEY ID together with digital-signature-based authentication as per RFC 7296.

Android reference for android.net.ipsec.ike.IkeSessionParams.Builder.setLocalIdentification.

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