javax.crypto
Class ExemptionMechanismSpi

java.lang.Object
  |
  +--javax.crypto.ExemptionMechanismSpi

public abstract class ExemptionMechanismSpi
extends Object

ExemptionMechanismSpi class from JCE 1.2.1. NOTE that the IAIK re-implementation does not handle JCE 1.2.1 crypto policies nor exemption in any way at this moment. This class was implemented for API compatibility only.


Attention:  This is not a SUN implementation!

This class has been developed by IAIK according to the documentation publically available.
For SUNīs documentation of this class see http://java.sun.com/security/JCE1.2/spec/apidoc/index.html


Version:
File Revision 8

Constructor Summary
ExemptionMechanismSpi()
           
 
Method Summary
protected abstract  byte[] engineGenExemptionBlob()
           
protected abstract  int engineGenExemptionBlob(byte[] output, int outputOffset)
           
protected abstract  int engineGetOutputSize(int inputLen)
           
protected abstract  void engineInit(Key key)
           
protected abstract  void engineInit(Key key, AlgorithmParameters params)
           
protected abstract  void engineInit(Key key, AlgorithmParameterSpec params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExemptionMechanismSpi

public ExemptionMechanismSpi()
Method Detail

engineGetOutputSize

protected abstract int engineGetOutputSize(int inputLen)

engineInit

protected abstract void engineInit(Key key)
                            throws InvalidKeyException,
                                   ExemptionMechanismException

engineInit

protected abstract void engineInit(Key key,
                                   AlgorithmParameterSpec params)
                            throws InvalidKeyException,
                                   InvalidAlgorithmParameterException,
                                   ExemptionMechanismException

engineInit

protected abstract void engineInit(Key key,
                                   AlgorithmParameters params)
                            throws InvalidKeyException,
                                   InvalidAlgorithmParameterException,
                                   ExemptionMechanismException

engineGenExemptionBlob

protected abstract byte[] engineGenExemptionBlob()
                                          throws ExemptionMechanismException

engineGenExemptionBlob

protected abstract int engineGenExemptionBlob(byte[] output,
                                              int outputOffset)
                                       throws ShortBufferException,
                                              ExemptionMechanismException

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK