IpSecAlgorithm 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
IpSecAlgorithm(String, Byte[]) |
创建一个受支持的类型的 IpSecAlgorithm。 |
IpSecAlgorithm(String, Byte[], Int32) |
创建一个受支持的类型的 IpSecAlgorithm。 |
IpSecAlgorithm(String, Byte[])
创建一个受支持的类型的 IpSecAlgorithm。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;[B)V", "", ApiSince=28)]
public IpSecAlgorithm (string algorithm, byte[] key);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;[B)V", "", ApiSince=28)>]
new Android.Net.IpSecAlgorithm : string * byte[] -> Android.Net.IpSecAlgorithm
参数
- algorithm
- String
算法的名称。
- key
- Byte[]
键填充为 8 位的倍数。
- 属性
注解
适用于 . 的 android.net.IpSecAlgorithm.IpSecAlgorithm(java.lang.String, byte[])
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
IpSecAlgorithm(String, Byte[], Int32)
创建一个受支持的类型的 IpSecAlgorithm。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;[BI)V", "", ApiSince=28)]
public IpSecAlgorithm (string algorithm, byte[] key, int truncLenBits);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;[BI)V", "", ApiSince=28)>]
new Android.Net.IpSecAlgorithm : string * byte[] * int -> Android.Net.IpSecAlgorithm
参数
- algorithm
- String
算法的名称。
- key
- Byte[]
键填充为 8 位的倍数。
- truncLenBits
- Int32
要使用的输出哈希位数。
- 属性
注解
适用于 . 的 android.net.IpSecAlgorithm.IpSecAlgorithm(java.lang.String, byte[], int)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。