Condividi tramite


AlgorithmParameters.Init Method

Definition

Overloads

Init(IAlgorithmParameterSpec)

Initializes this parameter object using the parameters specified in paramSpec.

Init(Byte[])

Imports the specified parameters and decodes them according to the primary decoding format for parameters.

Init(Byte[], String)

Imports the parameters from params and decodes them according to the specified decoding scheme.

Init(IAlgorithmParameterSpec)

Initializes this parameter object using the parameters specified in 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

Parameters

paramSpec
IAlgorithmParameterSpec

the parameter specification.

Attributes

Exceptions

if this AlgorithmParameters has already been initialized or the given paramSpec is not appropriate for initializing this AlgorithmParameters.

Remarks

Initializes this parameter object using the parameters specified in paramSpec.

Java documentation for java.security.AlgorithmParameters.init(java.security.spec.AlgorithmParameterSpec).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Init(Byte[])

Imports the specified parameters and decodes them according to the primary decoding format for parameters.

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

Parameters

params
Byte[]

the encoded parameters.

Attributes

Exceptions

if this AlgorithmParameters has already been initialized, or the parameter could not be encoded.

Remarks

Imports the specified parameters and decodes them according to the primary decoding format for parameters. The primary decoding format for parameters is ASN.1, if an ASN.1 specification for this type of parameters exists.

Java documentation for java.security.AlgorithmParameters.init(byte[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Init(Byte[], String)

Imports the parameters from params and decodes them according to the specified decoding scheme.

[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

Parameters

params
Byte[]

the encoded parameters.

format
String

the name of the decoding scheme.

Attributes

Exceptions

if this AlgorithmParameters has already been initialized, or the parameter could not be encoded.

Remarks

Imports the parameters from params and decodes them according to the specified decoding scheme. If format is null, the primary decoding format for parameters is used. The primary decoding format is ASN.1, if an ASN.1 specification for these parameters exists.

Java documentation for java.security.AlgorithmParameters.init(byte[], java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to