MacSpi.EngineInit(IKey, IAlgorithmParameterSpec) メソッド

定義

指定された (シークレット) キーとアルゴリズム パラメーターを使用して MAC を初期化します。

[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

パラメーター

key
IKey

(シークレット) キー。

params
IAlgorithmParameterSpec

アルゴリズム パラメーター。

属性

例外

指定したキーを使用してこのアルゴリズムを初期化できない場合は 、または です null

指定したパラメーターを使用してこのアルゴリズムを初期化できない場合は 。

注釈

指定された (シークレット) キーとアルゴリズム パラメーターを使用して MAC を初期化します。

の Java ドキュメント javax.crypto.MacSpi.engineInit(java.security.Key, java.security.spec.AlgorithmParameterSpec)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象