Uses of Class
javax.crypto.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 intExemptionMechanismSpi. engineGenExemptionBlob(byte[] output, int outputOffset)Generates the result key blob for this exemption mechanism and stores it into theoutputbuffer at offsetoutputOffset.protected abstract voidExemptionMechanismSpi. engineInit(Key key)Initializes thisExemptionMechanisminstance with the specified key.protected abstract voidExemptionMechanismSpi. engineInit(Key key, AlgorithmParameters params)Initializes thisExemptionMechanisminstance with the specified key and algorithm parameters.protected abstract voidExemptionMechanismSpi. engineInit(Key key, AlgorithmParameterSpec params)Initializes thisExemptionMechanisminstance with the specified key and algorithm parameters.byte[]ExemptionMechanism. genExemptionBlob()Generates the result key blob for this exemption mechanism.intExemptionMechanism. genExemptionBlob(byte[] output)Generates the result key blob for this exemption mechanism and stores it into theoutputbuffer.intExemptionMechanism. genExemptionBlob(byte[] output, int outputOffset)Generates the result key blob for this exemption mechanism and stores it into theoutputbuffer at offsetoutputOffset.voidExemptionMechanism. init(Key key)Initializes thisExemptionMechanisminstance with the specified key.voidExemptionMechanism. init(Key key, AlgorithmParameters param)Initializes thisExemptionMechanisminstance with the specified key and algorithm parameters.voidExemptionMechanism. init(Key key, AlgorithmParameterSpec param)Initializes thisExemptionMechanisminstance with the specified key and algorithm parameters.booleanExemptionMechanism. isCryptoAllowed(Key key)Returns whether the result blob for thisExemptionMechanisminstance has been generated successfully and that the specified key is the same as the one that was used to initialize and generate.