語言

AlgorithmParameters.Init 方法

定義

多載

名稱 Description
Init(IAlgorithmParameterSpec)

使用 中 paramSpec指定的參數初始化此參數物件。

Init(Byte[])

匯入指定參數,並依據參數的主要解碼格式解碼。

Init(Byte[], String)

從中 params 匯入參數,並依照指定的解碼方案解碼。

Init(IAlgorithmParameterSpec)

使用 中 paramSpec指定的參數初始化此參數物件。

[Android.Runtime.Register("init", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "")]
public void Init(Java.Security.Spec.IAlgorithmParameterSpec? paramSpec);
[<Android.Runtime.Register("init", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "")>]
member this.Init : Java.Security.Spec.IAlgorithmParameterSpec -> unit

參數

paramSpec
IAlgorithmParameterSpec

參數規格。

屬性

例外狀況

如果此已 AlgorithmParameters 初始化,或給定 paramSpec 不適合初始化此 AlgorithmParameters

備註

使用 中 paramSpec指定的參數初始化此參數物件。

Java 文件 java.security.AlgorithmParameters.init(java.security.spec.AlgorithmParameterSpec)

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

適用於

Init(Byte[])

匯入指定參數,並依據參數的主要解碼格式解碼。

[Android.Runtime.Register("init", "([B)V", "")]
public void Init(byte[]? params);
[<Android.Runtime.Register("init", "([B)V", "")>]
member this.Init : byte[] -> unit

參數

params
Byte[]

編碼參數。

屬性

例外狀況

如果這個 AlgorithmParameters 參數已經被初始化,或是無法編碼。

備註

匯入指定參數,並依據參數的主要解碼格式解碼。 參數的主要解碼格式為 ASN.1,若有此類參數的 ASN.1 規範。

Java 文件 java.security.AlgorithmParameters.init(byte[])

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

適用於

Init(Byte[], String)

從中 params 匯入參數,並依照指定的解碼方案解碼。

[Android.Runtime.Register("init", "([BLjava/lang/String;)V", "")]
public void Init(byte[]? params, string? format);
[<Android.Runtime.Register("init", "([BLjava/lang/String;)V", "")>]
member this.Init : byte[] * string -> unit

參數

params
Byte[]

編碼參數。

format
String

解碼方案的名稱。

屬性

例外狀況

如果這個 AlgorithmParameters 參數已經被初始化,或是無法編碼。

備註

從中 params 匯入參數,並依照指定的解碼方案解碼。 若 format 為空,則使用參數的主要解碼格式。 主要解碼格式為 ASN.1,若有相關參數的 ASN.1 規範。

Java 文件 java.security.AlgorithmParameters.init(byte[], java.lang.String)

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

適用於