# Uses of Class
javax.crypto.ExemptionMechanismException

Packages that use ExemptionMechanismException
Package
Description
javax.crypto
Provides the classes and interfaces for cryptographic operations.

## Uses of ExemptionMechanismException in javax.crypto

Methods in javax.crypto that throw ExemptionMechanismException
Modifier and Type
Method
Description
`protected abstract byte[]`
ExemptionMechanismSpi.`engineGenExemptionBlob()`
Generates the exemption mechanism key blob.
`protected abstract int`
ExemptionMechanismSpi.`engineGenExemptionBlob​(byte[] output, int outputOffset)`
Generates the exemption mechanism key blob, and stores the result in the `output` buffer, starting at `outputOffset` inclusive.
`protected abstract void`
ExemptionMechanismSpi.`engineInit​(Key key)`
Initializes this exemption mechanism with a key.
`protected abstract void`
ExemptionMechanismSpi.`engineInit​(Key key, AlgorithmParameters params)`
Initializes this exemption mechanism with a key and a set of algorithm parameters.
`protected abstract void`
ExemptionMechanismSpi.`engineInit​(Key key, AlgorithmParameterSpec params)`
Initializes this exemption mechanism with a key and a set of algorithm parameters.
`byte[]`
ExemptionMechanism.`genExemptionBlob()`
Generates the exemption mechanism key blob.
`int`
ExemptionMechanism.`genExemptionBlob​(byte[] output)`
Generates the exemption mechanism key blob, and stores the result in the `output` buffer.
`int`
ExemptionMechanism.`genExemptionBlob​(byte[] output, int outputOffset)`
Generates the exemption mechanism key blob, and stores the result in the `output` buffer, starting at `outputOffset` inclusive.
`void`
ExemptionMechanism.`init​(Key key)`
Initializes this exemption mechanism with a key.
`void`
ExemptionMechanism.`init​(Key key, AlgorithmParameters params)`
Initializes this exemption mechanism with a key and a set of algorithm parameters.
`void`
ExemptionMechanism.`init​(Key key, AlgorithmParameterSpec params)`
Initializes this exemption mechanism with a key and a set of algorithm parameters.
`boolean`
ExemptionMechanism.`isCryptoAllowed​(Key key)`
Returns whether the result blob has been generated successfully by this exemption mechanism.