语言

IkeSessionParams.Builder.SetLocalIdentification(IkeIdentification) 方法

定义

为要生成的 IkeSessionParams 设置本地 IKE 标识。

[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

参数

identification
IkeIdentification

本地 IKE 标识。 此值不能为 null。

返回

构建此生成器,以促进链接。 此值不能为 null。

特性

注解

为要生成的 IkeSessionParams 设置本地 IKE 标识。

根据 RFC 7296,不允许将 KEY ID 与基于数字签名的身份验证一起使用。

Android 参考。android.net.ipsec.ike.IkeSessionParams.Builder.setLocalIdentification

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于