# 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.
  `final byte[]`
  ExemptionMechanism.`genExemptionBlob()`
  Generates the exemption mechanism key blob.
  `final int`
  ExemptionMechanism.`genExemptionBlob(byte[] output)`
  Generates the exemption mechanism key blob, and stores the result in the `output` buffer.
  `final 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.
  `final void`
  ExemptionMechanism.`init(Key key)`
  Initializes this exemption mechanism with a key.
  `final void`
  ExemptionMechanism.`init(Key key, AlgorithmParameters params)`
  Initializes this exemption mechanism with a key and a set of algorithm parameters.
  `final void`
  ExemptionMechanism.`init(Key key, AlgorithmParameterSpec params)`
  Initializes this exemption mechanism with a key and a set of algorithm parameters.
  `final boolean`
  ExemptionMechanism.`isCryptoAllowed(Key key)`
  Returns whether the result blob has been generated successfully by this exemption mechanism.