IpSecTransform.Builder.SetAuthentication(IpSecAlgorithm) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置身份验证或完整性算法。
[Android.Runtime.Register("setAuthentication", "(Landroid/net/IpSecAlgorithm;)Landroid/net/IpSecTransform$Builder;", "GetSetAuthentication_Landroid_net_IpSecAlgorithm_Handler", ApiSince=28)]
public virtual Android.Net.IpSecTransform.Builder SetAuthentication(Android.Net.IpSecAlgorithm algo);
[<Android.Runtime.Register("setAuthentication", "(Landroid/net/IpSecAlgorithm;)Landroid/net/IpSecTransform$Builder;", "GetSetAuthentication_Landroid_net_IpSecAlgorithm_Handler", ApiSince=28)>]
abstract member SetAuthentication : Android.Net.IpSecAlgorithm -> Android.Net.IpSecTransform.Builder
override this.SetAuthentication : Android.Net.IpSecAlgorithm -> Android.Net.IpSecTransform.Builder
参数
- algo
- IpSecAlgorithm
身份验证算法。 身份验证与经过身份验证的加密互斥。
返回
此生成器。
- 特性
注解
Java文档android.net.IpSecTransform.Builder.setAuthentication(android.net.IpSecAlgorithm)。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。