|
For the latest news and information visit The GNU Crypto project |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.crypto.CipherSpi gnu.crypto.jce.cipher.CipherAdapter gnu.crypto.jce.cipher.BlowfishSpi
The implementation of the Blowfish Service Provider Interface (SPI) adapter.
Field Summary | |
protected java.util.Map |
attributes
Our attributes map. |
protected int |
blockLen
The length of blocks we are processing. |
protected IBlockCipher |
cipher
Our cipher instance. |
protected int |
keyLen
The current key size. |
protected IMode |
mode
Our mode instance. |
protected IPad |
pad
Our padding instance. |
protected byte[] |
partBlock
An incomplete block. |
protected int |
partLen
The number of bytes in CipherAdapter.partBlock . |
Constructor Summary | |
BlowfishSpi()
|
Method Summary | |
protected byte[] |
engineDoFinal(byte[] input,
int off,
int len)
|
protected int |
engineDoFinal(byte[] in,
int inOff,
int inLen,
byte[] out,
int outOff)
|
protected int |
engineGetBlockSize()
|
protected byte[] |
engineGetIV()
|
protected int |
engineGetOutputSize(int inputLen)
|
protected java.security.AlgorithmParameters |
engineGetParameters()
|
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.spec.AlgorithmParameterSpec params,
java.security.SecureRandom random)
|
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.AlgorithmParameters params,
java.security.SecureRandom random)
|
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.SecureRandom random)
|
protected void |
engineSetMode(java.lang.String modeName)
|
protected void |
engineSetPadding(java.lang.String padName)
|
protected byte[] |
engineUpdate(byte[] input,
int off,
int len)
|
protected int |
engineUpdate(byte[] in,
int inOff,
int inLen,
byte[] out,
int outOff)
|
Methods inherited from class javax.crypto.CipherSpi |
engineGetKeySize, engineUnwrap, engineWrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected IBlockCipher cipher
protected IMode mode
protected IPad pad
protected int keyLen
protected java.util.Map attributes
protected byte[] partBlock
protected int partLen
CipherAdapter.partBlock
.
protected int blockLen
Constructor Detail |
public BlowfishSpi()
Method Detail |
protected void engineSetMode(java.lang.String modeName) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
protected void engineSetPadding(java.lang.String padName) throws javax.crypto.NoSuchPaddingException
javax.crypto.NoSuchPaddingException
protected int engineGetBlockSize()
protected int engineGetOutputSize(int inputLen)
protected byte[] engineGetIV()
protected java.security.AlgorithmParameters engineGetParameters()
protected void engineInit(int opmode, java.security.Key key, java.security.SecureRandom random) throws java.security.InvalidKeyException
java.security.InvalidKeyException
protected void engineInit(int opmode, java.security.Key key, java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
java.security.InvalidKeyException
java.security.InvalidAlgorithmParameterException
protected void engineInit(int opmode, java.security.Key key, java.security.AlgorithmParameters params, java.security.SecureRandom random) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
java.security.InvalidKeyException
java.security.InvalidAlgorithmParameterException
protected byte[] engineUpdate(byte[] input, int off, int len)
protected int engineUpdate(byte[] in, int inOff, int inLen, byte[] out, int outOff) throws javax.crypto.ShortBufferException
javax.crypto.ShortBufferException
protected byte[] engineDoFinal(byte[] input, int off, int len) throws javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
protected int engineDoFinal(byte[] in, int inOff, int inLen, byte[] out, int outOff) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException
javax.crypto.BadPaddingException
javax.crypto.IllegalBlockSizeException
javax.crypto.ShortBufferException
|
For the latest news and information visit The GNU Crypto project |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |