Package javax.crypto

Class ExemptionMechanismSpi

java.lang.Object
javax.crypto.ExemptionMechanismSpi

public abstract class ExemptionMechanismSpi
extends Object
The Service Provider Interface (SPI) definition for the ExemptionMechanism class.
  • Constructor Summary

    Constructors
    Constructor Description
    ExemptionMechanismSpi()
    Creates a new ExemptionMechanismSpi instance.
  • Method Summary

    Modifier and Type Method Description
    protected abstract byte[] engineGenExemptionBlob()
    Generates the result key blob for this exemption mechanism.
    protected abstract int 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 int engineGetOutputSize​(int inputLen)
    Returns the size in bytes for the output buffer needed to hold the output of the next engineGenExemptionBlob() call, given the specified inputLen (in bytes).
    protected abstract void engineInit​(Key key)
    Initializes this ExemptionMechanism instance with the specified key.
    protected abstract void engineInit​(Key key, AlgorithmParameters params)
    Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.
    protected abstract void engineInit​(Key key, AlgorithmParameterSpec params)
    Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait