JML

javax.crypto
Class CipherSpi

java.lang.Object
  extended byjavax.crypto.CipherSpi

public abstract class CipherSpi
extends Object


Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Constructor Summary
CipherSpi()
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
protected abstract  byte[] engineDoFinal(byte[], int, int)
           
protected abstract  int engineDoFinal(byte[], int, int, byte[], int)
           
protected abstract  int engineGetBlockSize()
           
protected abstract  byte[] engineGetIV()
           
protected  int engineGetKeySize(Key)
           
protected abstract  int engineGetOutputSize(int)
           
protected abstract  AlgorithmParameters engineGetParameters()
           
protected abstract  void engineInit(int, Key, AlgorithmParameters, SecureRandom)
           
protected abstract  void engineInit(int, Key, SecureRandom)
           
protected abstract  void engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)
           
protected abstract  void engineSetMode(String)
           
protected abstract  void engineSetPadding(String)
           
protected  Key engineUnwrap(byte[], String, int)
           
protected abstract  byte[] engineUpdate(byte[], int, int)
           
protected abstract  int engineUpdate(byte[], int, int, byte[], int)
           
protected  byte[] engineWrap(Key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CipherSpi

public CipherSpi()
Method Detail

engineSetMode

protected abstract void engineSetMode(String)
                               throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

engineSetPadding

protected abstract void engineSetPadding(String)
                                  throws NoSuchPaddingException
Throws:
NoSuchPaddingException

engineGetBlockSize

protected abstract int engineGetBlockSize()

engineGetOutputSize

protected abstract int engineGetOutputSize(int)

engineGetIV

protected abstract byte[] engineGetIV()

engineGetParameters

protected abstract AlgorithmParameters engineGetParameters()

engineInit

protected abstract void engineInit(int,
                                   Key,
                                   SecureRandom)
                            throws InvalidKeyException
Throws:
InvalidKeyException

engineInit

protected abstract void engineInit(int,
                                   Key,
                                   AlgorithmParameterSpec,
                                   SecureRandom)
                            throws InvalidKeyException,
                                   InvalidAlgorithmParameterException
Throws:
InvalidKeyException
InvalidAlgorithmParameterException

engineInit

protected abstract void engineInit(int,
                                   Key,
                                   AlgorithmParameters,
                                   SecureRandom)
                            throws InvalidKeyException,
                                   InvalidAlgorithmParameterException
Throws:
InvalidKeyException
InvalidAlgorithmParameterException

engineUpdate

protected abstract byte[] engineUpdate(byte[],
                                       int,
                                       int)

engineUpdate

protected abstract int engineUpdate(byte[],
                                    int,
                                    int,
                                    byte[],
                                    int)
                             throws ShortBufferException
Throws:
ShortBufferException

engineDoFinal

protected abstract byte[] engineDoFinal(byte[],
                                        int,
                                        int)
                                 throws IllegalBlockSizeException,
                                        BadPaddingException
Throws:
IllegalBlockSizeException
BadPaddingException

engineDoFinal

protected abstract int engineDoFinal(byte[],
                                     int,
                                     int,
                                     byte[],
                                     int)
                              throws ShortBufferException,
                                     IllegalBlockSizeException,
                                     BadPaddingException
Throws:
ShortBufferException
IllegalBlockSizeException
BadPaddingException

engineWrap

protected byte[] engineWrap(Key)
                     throws IllegalBlockSizeException,
                            InvalidKeyException
Throws:
IllegalBlockSizeException
InvalidKeyException

engineUnwrap

protected Key engineUnwrap(byte[],
                           String,
                           int)
                    throws InvalidKeyException,
                           NoSuchAlgorithmException
Throws:
InvalidKeyException
NoSuchAlgorithmException

engineGetKeySize

protected int engineGetKeySize(Key)
                        throws InvalidKeyException
Throws:
InvalidKeyException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.