ExemptionMechanismSpi.EngineInit ExemptionMechanismSpi.EngineInit Method

Definition

Overloads

EngineInit(IKey) EngineInit(IKey)

Initializes this ExemptionMechanism instance with the specified key.

EngineInit(IKey, AlgorithmParameters) EngineInit(IKey, AlgorithmParameters)

Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.

EngineInit(IKey, IAlgorithmParameterSpec) EngineInit(IKey, IAlgorithmParameterSpec)

Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.

EngineInit(IKey) EngineInit(IKey)

Initializes this ExemptionMechanism instance with the specified key.

[Android.Runtime.Register("engineInit", "(Ljava/security/Key;)V", "GetEngineInit_Ljava_security_Key_Handler")]
protected abstract void EngineInit (Java.Security.IKey key);
abstract member EngineInit : Java.Security.IKey -> unit

Parameters

key
IKey IKey

the key to initialize this instance with.

Exceptions

if the key cannot be used to initialize this mechanism.

if error(s) occur during initialization.

Remarks

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.

EngineInit(IKey, AlgorithmParameters) EngineInit(IKey, AlgorithmParameters)

Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.

[Android.Runtime.Register("engineInit", "(Ljava/security/Key;Ljava/security/AlgorithmParameters;)V", "GetEngineInit_Ljava_security_Key_Ljava_security_AlgorithmParameters_Handler")]
protected abstract void EngineInit (Java.Security.IKey key, Java.Security.AlgorithmParameters params);
abstract member EngineInit : Java.Security.IKey * Java.Security.AlgorithmParameters -> unit

Parameters

key
IKey IKey

the key to initialize this instance with.

params
AlgorithmParameters AlgorithmParameters

the parameters for this exemption mechanism algorithm.

Exceptions

if the key cannot be used to initialize this mechanism.

if the parameters cannot be used to initialize this mechanism.

if error(s) occur during initialization.

Remarks

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.

EngineInit(IKey, IAlgorithmParameterSpec) EngineInit(IKey, IAlgorithmParameterSpec)

Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.

[Android.Runtime.Register("engineInit", "(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V", "GetEngineInit_Ljava_security_Key_Ljava_security_spec_AlgorithmParameterSpec_Handler")]
protected abstract void EngineInit (Java.Security.IKey key, Java.Security.Spec.IAlgorithmParameterSpec params);
abstract member EngineInit : Java.Security.IKey * Java.Security.Spec.IAlgorithmParameterSpec -> unit

Parameters

key
IKey IKey

the key to initialize this instance with.

params
IAlgorithmParameterSpec IAlgorithmParameterSpec

the parameters for this exemption mechanism algorithm.

Exceptions

if the key cannot be used to initialize this mechanism.

the the parameters cannot be used to initialize this mechanism.

if error(s) occur during initialization.

Remarks

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