Uses of Class
javax.crypto.ExemptionMechanismException

Packages that use ExemptionMechanismException
Package Description
javax.crypto
This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or key agreement.
  • 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 result key blob for this exemption mechanism.
    protected abstract int ExemptionMechanismSpi.engineGenExemptionBlob​(byte[] output, int outputOffset)
    Generates the result key blob for this exemption mechanism and stores it into the output buffer at offset outputOffset.
    protected abstract void ExemptionMechanismSpi.engineInit​(Key key)
    Initializes this ExemptionMechanism instance with the specified key.
    protected abstract void ExemptionMechanismSpi.engineInit​(Key key, AlgorithmParameters params)
    Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.
    protected abstract void ExemptionMechanismSpi.engineInit​(Key key, AlgorithmParameterSpec params)
    Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.
    byte[] ExemptionMechanism.genExemptionBlob()
    Generates the result key blob for this exemption mechanism.
    int ExemptionMechanism.genExemptionBlob​(byte[] output)
    Generates the result key blob for this exemption mechanism and stores it into the output buffer.
    int ExemptionMechanism.genExemptionBlob​(byte[] output, int outputOffset)
    Generates the result key blob for this exemption mechanism and stores it into the output buffer at offset outputOffset.
    void ExemptionMechanism.init​(Key key)
    Initializes this ExemptionMechanism instance with the specified key.
    void ExemptionMechanism.init​(Key key, AlgorithmParameters param)
    Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.
    void ExemptionMechanism.init​(Key key, AlgorithmParameterSpec param)
    Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.
    boolean ExemptionMechanism.isCryptoAllowed​(Key key)
    Returns whether the result blob for this ExemptionMechanism instance has been generated successfully and that the specified key is the same as the one that was used to initialize and generate.