For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.cipher
Class AESSpi

java.lang.Object
  extended by javax.crypto.CipherSpi
      extended by gnu.crypto.jce.cipher.CipherAdapter
          extended by gnu.crypto.jce.cipher.AESSpi

public final class AESSpi
extends CipherAdapter

The implementation of the AES Service Provider Interface (SPI) adapter.

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class gnu.crypto.jce.cipher.CipherAdapter
attributes, blockLen, cipher, keyLen, mode, pad, partBlock, partLen
 
Constructor Summary
AESSpi()
           
 
Method Summary
protected  void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
           
protected  void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
           
 
Methods inherited from class gnu.crypto.jce.cipher.CipherAdapter
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetOutputSize, engineGetParameters, engineInit, engineSetMode, engineSetPadding, engineUpdate, engineUpdate
 
Methods inherited from class javax.crypto.CipherSpi
engineDoFinal, engineGetKeySize, engineUnwrap, engineUpdate, engineWrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AESSpi

public AESSpi()
Method Detail

engineInit

protected void engineInit(int opmode,
                          Key key,
                          AlgorithmParameterSpec params,
                          SecureRandom random)
                   throws InvalidKeyException,
                          InvalidAlgorithmParameterException
Overrides:
engineInit in class CipherAdapter
Throws:
InvalidKeyException
InvalidAlgorithmParameterException

engineInit

protected void engineInit(int opmode,
                          Key key,
                          AlgorithmParameters params,
                          SecureRandom random)
                   throws InvalidKeyException,
                          InvalidAlgorithmParameterException
Overrides:
engineInit in class CipherAdapter
Throws:
InvalidKeyException
InvalidAlgorithmParameterException

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.