de.flexiprovider.core.rijndael
Class Rijndael.AES

java.lang.Object
  |
  +--javax.crypto.CipherSpi
        |
        +--de.flexiprovider.api.Cipher
              |
              +--de.flexiprovider.api.BlockCipher
                    |
                    +--de.flexiprovider.core.rijndael.Rijndael
                          |
                          +--de.flexiprovider.core.rijndael.Rijndael.AES
Direct Known Subclasses:
Rijndael.AES.AES128_CBC, Rijndael.AES.AES128_CFB, Rijndael.AES.AES128_ECB, Rijndael.AES.AES128_OFB, Rijndael.AES.AES192_CBC, Rijndael.AES.AES192_CFB, Rijndael.AES.AES192_ECB, Rijndael.AES.AES192_OFB, Rijndael.AES.AES256_CBC, Rijndael.AES.AES256_CFB, Rijndael.AES.AES256_ECB, Rijndael.AES.AES256_OFB
Enclosing class:
Rijndael

public static class Rijndael.AES
extends Rijndael


Inner Class Summary
static class Rijndael.AES.AES128_CBC
          AES128_CBC
static class Rijndael.AES.AES128_CFB
          AES128_CFB
static class Rijndael.AES.AES128_ECB
          AES128_ECB
static class Rijndael.AES.AES128_OFB
          AES128_OFB
static class Rijndael.AES.AES192_CBC
          AES192_CBC
static class Rijndael.AES.AES192_CFB
          AES192_CFB
static class Rijndael.AES.AES192_ECB
          AES192_ECB
static class Rijndael.AES.AES192_OFB
          AES192_OFB
static class Rijndael.AES.AES256_CBC
          AES256_CBC
static class Rijndael.AES.AES256_CFB
          AES256_CFB
static class Rijndael.AES.AES256_ECB
          AES256_ECB
static class Rijndael.AES.AES256_OFB
          AES256_OFB
 
Inner classes inherited from class de.flexiprovider.core.rijndael.Rijndael
Rijndael.AES
 
Field Summary
static java.lang.String ALG_NAME
          The algorithm name.
static java.lang.String OID
          The OID of AES (defined by NIST, see http://csrc.nist.gov/groups/ST/crypto_apps_infra/csor/algorithms.
 
Fields inherited from class de.flexiprovider.core.rijndael.Rijndael
algName, blockSize, blockSizeIsMutable, keySize, keySizeIsMutable
 
Fields inherited from class de.flexiprovider.api.BlockCipher
random
 
Fields inherited from class de.flexiprovider.api.Cipher
DECRYPT_MODE, ENCRYPT_MODE, opMode
 
Constructor Summary
  Rijndael.AES()
          Constructor.
protected Rijndael.AES(java.lang.String algName, java.lang.String modeName, int keySize)
          Constructor.
 
Methods inherited from class de.flexiprovider.core.rijndael.Rijndael
getCipherBlockSize, getKeySize, getName, initCipherDecrypt, initCipherEncrypt, singleBlockDecrypt, singleBlockEncrypt
 
Methods inherited from class de.flexiprovider.api.BlockCipher
doFinal, doFinal, engineInit, getBlockSize, getIV, getOutputSize, getParameters, initDecrypt, initDecrypt, initDecrypt, initEncrypt, initEncrypt, initEncrypt, initEncrypt, setMode, setPadding, update, update
 
Methods inherited from class de.flexiprovider.api.Cipher
doFinal, doFinal, engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetParameters, engineInit, engineInit, engineSetMode, engineSetPadding, engineUpdate, engineUpdate, update
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALG_NAME

public static final java.lang.String ALG_NAME
The algorithm name.

OID

public static final java.lang.String OID
The OID of AES (defined by NIST, see http://csrc.nist.gov/groups/ST/crypto_apps_infra/csor/algorithms. html).
Constructor Detail

Rijndael.AES

protected Rijndael.AES(java.lang.String algName,
                       java.lang.String modeName,
                       int keySize)
Constructor.
Parameters:
algName - the algorithm name
modeName - the mode to use
keySize - the key size in words

Rijndael.AES

public Rijndael.AES()
Constructor. Only set the block size and do not chose a mode or padding.