## 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 and 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.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.