ExemptionMechanismSpi

public abstract class ExemptionMechanismSpi extends Object

This class defines the Service Provider Interface (SPI) for the ExemptionMechanism class. All the abstract methods in this class must be implemented by each cryptographic service provider who wishes to supply the implementation of a particular exemption mechanism.

Public Constructor Summary

Protected Method Summary

abstract byte[]
engineGenExemptionBlob()
Generates the exemption mechanism key blob.
abstract int
engineGenExemptionBlob(byte[] output, int outputOffset)
Generates the exemption mechanism key blob, and stores the result in the output buffer, starting at outputOffset inclusive.
abstract int
engineGetOutputSize(int inputLen)
Returns the length in bytes that an output buffer would need to be in order to hold the result of the next engineGenExemptionBlob operation, given the input length inputLen (in bytes).
abstract void
engineInit(Key key)
Initializes this exemption mechanism with a key.
abstract void
engineInit(Key key, AlgorithmParameterSpec params)
Initializes this exemption mechanism with a key and a set of algorithm parameters.
abstract void
engineInit(Key key, AlgorithmParameters params)
Initializes this exemption mechanism with a key and a set of algorithm parameters.

Inherited Method Summary