MacSpi.EngineInit(IKey, IAlgorithmParameterSpec) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the MAC with the given (secret) 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);
[<Android.Runtime.Register("engineInit", "(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V", "GetEngineInit_Ljava_security_Key_Ljava_security_spec_AlgorithmParameterSpec_Handler")>]
abstract member EngineInit : Java.Security.IKey * Java.Security.Spec.IAlgorithmParameterSpec -> unit
Parameters
- key
- IKey
the (secret) key.
- params
- IAlgorithmParameterSpec
the algorithm parameters.
- Attributes
Exceptions
if the specified key cannot be used to initialize this
algorithm, or it is null
.
if the specified parameters cannot be used to initialize this algorithm.
Remarks
Initializes the MAC with the given (secret) key and algorithm parameters.
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.