Partager via


IkeSessionParams.IkeOptionAcceptAnyRemoteId Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.IpSec.Ike.IkeSessionOption enum directly instead of this field.

If set, the IKE library will accept any remote (server) identity, even if it does not match the configured remote identity

[Android.Runtime.Register("IKE_OPTION_ACCEPT_ANY_REMOTE_ID", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.IpSec.Ike.IkeSessionOption enum directly instead of this field.", true)]
public const Android.Net.IpSec.Ike.IkeSessionOption IkeOptionAcceptAnyRemoteId = 0;
[<Android.Runtime.Register("IKE_OPTION_ACCEPT_ANY_REMOTE_ID", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.IpSec.Ike.IkeSessionOption enum directly instead of this field.", true)>]
val mutable IkeOptionAcceptAnyRemoteId : Android.Net.IpSec.Ike.IkeSessionOption

Field Value

Value = 0
Attributes

Remarks

If set, the IKE library will accept any remote (server) identity, even if it does not match the configured remote identity

See Builder#setRemoteIdentification(IkeIdentification)

Java documentation for android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_ACCEPT_ANY_REMOTE_ID.

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