- key
- the key to initialize this instance with.
- params
- the parameters for this exemption mechanism algorithm.
Type Reason Java.Security.InvalidKeyException if the key cannot be used to initialize this mechanism. Java.Security.InvalidAlgorithmParameterException if the parameters cannot be used to initialize this mechanism. Javax.Crypto.ExemptionMechanismException if error(s) occur during initialization.
Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.