語言

IpSecAlgorithm 建構函式

定義

多載

名稱 Description
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 位元的倍數。

屬性

備註

建立支援類型之一的 IpSecAlgorithm。 支援的演算法名稱在此類別中定義為常數。

對於產生完整性檢查值的演算法,截斷長度是必要的參數。 請參閱 #IpSecAlgorithm(String algorithm, byte[] key, int truncLenBits)

Java 文件 android.net.IpSecAlgorithm.IpSecAlgorithm(java.lang.String, byte[])。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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

輸出雜湊值的位元數。

屬性

備註

建立支援類型之一的 IpSecAlgorithm。 支援的演算法名稱在此類別中定義為常數。

此建構器僅支援使用截斷長度的演算法。 即認證與認證加密演算法。

Java 文件 android.net.IpSecAlgorithm.IpSecAlgorithm(java.lang.String, byte[], int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於