Name

ExemptionMechanismSpi

Synopsis

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;  
}

Passed To

ExemptionMechanism.ExemptionMechanism( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.