AlgorithmParametersSpi.EngineInit Method

Definition

Overloads

EngineInit(IAlgorithmParameterSpec)

Initializes this parameters object using the parameters specified in paramSpec.

EngineInit(Byte[])

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

EngineInit(Byte[], String)

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

EngineInit(IAlgorithmParameterSpec)

Initializes this parameters object using the parameters specified in paramSpec.

[Android.Runtime.Register("engineInit", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "GetEngineInit_Ljava_security_spec_AlgorithmParameterSpec_Handler")]
protected abstract void EngineInit (Java.Security.Spec.IAlgorithmParameterSpec? paramSpec);
[<Android.Runtime.Register("engineInit", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "GetEngineInit_Ljava_security_spec_AlgorithmParameterSpec_Handler")>]
abstract member EngineInit : Java.Security.Spec.IAlgorithmParameterSpec -> unit

Parameters

paramSpec
IAlgorithmParameterSpec

the parameter specification.

Attributes

Exceptions

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

Remarks

Initializes this parameters object using the parameters specified in paramSpec.

Java documentation for java.security.AlgorithmParametersSpi.engineInit(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

EngineInit(Byte[])

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

[Android.Runtime.Register("engineInit", "([B)V", "GetEngineInit_arrayBHandler")]
protected abstract void EngineInit (byte[]? params);
[<Android.Runtime.Register("engineInit", "([B)V", "GetEngineInit_arrayBHandler")>]
abstract member EngineInit : byte[] -> unit

Parameters

params
Byte[]

the encoded parameters.

Attributes

Exceptions

if this AlgorithmParametersSpi 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.AlgorithmParametersSpi.engineInit(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

EngineInit(Byte[], String)

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

[Android.Runtime.Register("engineInit", "([BLjava/lang/String;)V", "GetEngineInit_arrayBLjava_lang_String_Handler")]
protected abstract void EngineInit (byte[]? params, string? format);
[<Android.Runtime.Register("engineInit", "([BLjava/lang/String;)V", "GetEngineInit_arrayBLjava_lang_String_Handler")>]
abstract member EngineInit : byte[] * string -> unit

Parameters

params
Byte[]

the encoded parameters.

format
String

the name of the decoding format.

Attributes

Exceptions

if this AlgorithmParametersSpi 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 format. 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.AlgorithmParametersSpi.engineInit(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