gnu.crypto.jce.cipher
Class ARCFourSpi
java.lang.Object
javax.crypto.CipherSpi
gnu.crypto.jce.cipher.ARCFourSpi
- public class ARCFourSpi
- extends CipherSpi
The Service Provider Interface (SPI) for the ARCFOUR
stream cipher.
- Version:
- $Revision: 1.2 $
Method Summary |
protected byte[] |
engineDoFinal(byte[] in,
int offset,
int length)
|
protected int |
engineDoFinal(byte[] in,
int inOffset,
int length,
byte[] out,
int outOffset)
|
protected int |
engineGetBlockSize()
|
protected byte[] |
engineGetIV()
|
protected int |
engineGetOutputSize(int in)
|
protected AlgorithmParameters |
engineGetParameters()
|
protected void |
engineInit(int mode,
Key key,
AlgorithmParameterSpec p,
SecureRandom r)
|
protected void |
engineInit(int mode,
Key key,
AlgorithmParameters p,
SecureRandom r)
|
protected void |
engineInit(int mode,
Key key,
SecureRandom r)
|
protected void |
engineSetMode(String s)
|
protected void |
engineSetPadding(String s)
|
protected byte[] |
engineUpdate(byte[] in,
int offset,
int length)
|
protected int |
engineUpdate(byte[] in,
int inOffset,
int length,
byte[] out,
int outOffset)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARCFourSpi
public ARCFourSpi()
engineGetBlockSize
protected int engineGetBlockSize()
engineSetMode
protected void engineSetMode(String s)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
engineSetPadding
protected void engineSetPadding(String s)
throws NoSuchPaddingException
- Throws:
NoSuchPaddingException
engineGetIV
protected byte[] engineGetIV()
engineGetOutputSize
protected int engineGetOutputSize(int in)
engineGetParameters
protected AlgorithmParameters engineGetParameters()
engineInit
protected void engineInit(int mode,
Key key,
SecureRandom r)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineInit
protected void engineInit(int mode,
Key key,
AlgorithmParameterSpec p,
SecureRandom r)
throws InvalidKeyException,
InvalidAlgorithmParameterException
- Throws:
InvalidKeyException
InvalidAlgorithmParameterException
engineInit
protected void engineInit(int mode,
Key key,
AlgorithmParameters p,
SecureRandom r)
throws InvalidKeyException,
InvalidAlgorithmParameterException
- Throws:
InvalidKeyException
InvalidAlgorithmParameterException
engineUpdate
protected byte[] engineUpdate(byte[] in,
int offset,
int length)
engineUpdate
protected int engineUpdate(byte[] in,
int inOffset,
int length,
byte[] out,
int outOffset)
throws ShortBufferException
- Throws:
ShortBufferException
engineDoFinal
protected byte[] engineDoFinal(byte[] in,
int offset,
int length)
throws IllegalBlockSizeException,
BadPaddingException
- Throws:
IllegalBlockSizeException
BadPaddingException
engineDoFinal
protected int engineDoFinal(byte[] in,
int inOffset,
int length,
byte[] out,
int outOffset)
throws ShortBufferException,
IllegalBlockSizeException,
BadPaddingException
- Throws:
ShortBufferException
IllegalBlockSizeException
BadPaddingException
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.