- key
- the key to initialize this algorithm.
- params
- the parameters for this algorithm.
Type Reason Java.Security.InvalidKeyException if the specified key cannot be used to initialize this algorithm, or it is null. Java.Security.InvalidAlgorithmParameterException if the specified parameters cannot be used to initialize this algorithm.
Initializes this MacSpi instance with the specified key and algorithm parameters.