This abstract
class defines the Service Provider Interface for
ExemptionMechanism. Security providers may
implement this interface, but applications never need to use it. Note
that the default "SunJCE" provider
does not provide an implementation.
public abstract class
ExemptionMechanismSpi {
// Public Constructors
public
ExemptionMechanismSpi ( );
// Protected Instance Methods
protected abstract byte[ ]
engineGenExemptionBlob ( ) throws ExemptionMechanismException;
protected abstract int
engineGenExemptionBlob (byte[ ]
output , int
outputOffset )
throws ShortBufferException, ExemptionMechanismException;
protected abstract int
engineGetOutputSize (int
inputLen );
protected abstract void
engineInit (java.security.Key
key )
throws java.security.InvalidKeyException, ExemptionMechanismException;
protected abstract void
engineInit (java.security.Key
key ,
java.security.AlgorithmParameters
params )
throws java.security.InvalidKeyException,
java.security.InvalidAlgorithmParameterException,
ExemptionMechanismException;
protected abstract void
engineInit (java.security.Key
key ,
java.security.spec.AlgorithmParameterSpec
params )
throws java.security.InvalidKeyException,
java.security.InvalidAlgorithmParameterException,
ExemptionMechanismException;
}