Uses of Class
javax.crypto.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 intExemptionMechanismSpi. engineGenExemptionBlob(byte[] output, int outputOffset)Generates the exemption mechanism key blob, and stores the result in theoutputbuffer, starting atoutputOffsetinclusive.protected abstract voidExemptionMechanismSpi. engineInit(Key key)Initializes this exemption mechanism with a key.protected abstract voidExemptionMechanismSpi. engineInit(Key key, AlgorithmParameters params)Initializes this exemption mechanism with a key and a set of algorithm parameters.protected abstract voidExemptionMechanismSpi. 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.intExemptionMechanism. genExemptionBlob(byte[] output)Generates the exemption mechanism key blob, and stores the result in theoutputbuffer.intExemptionMechanism. genExemptionBlob(byte[] output, int outputOffset)Generates the exemption mechanism key blob, and stores the result in theoutputbuffer, starting atoutputOffsetinclusive.voidExemptionMechanism. init(Key key)Initializes this exemption mechanism with a key.voidExemptionMechanism. init(Key key, AlgorithmParameters params)Initializes this exemption mechanism with a key and a set of algorithm parameters.voidExemptionMechanism. init(Key key, AlgorithmParameterSpec params)Initializes this exemption mechanism with a key and a set of algorithm parameters.booleanExemptionMechanism. isCryptoAllowed(Key key)Returns whether the result blob has been generated successfully by this exemption mechanism.