public class

JCEStreamCipher

extends WrapCipherSpi
implements PBE
java.lang.Object
   ↳ javax.crypto.CipherSpi
     ↳ org.bouncycastle.jce.provider.WrapCipherSpi
       ↳ org.bouncycastle.jce.provider.JCEStreamCipher
Known Direct Subclasses

Summary

Nested Classes
class JCEStreamCipher.Blowfish_CFB8 Blowfish  
class JCEStreamCipher.Blowfish_OFB8 Blowfish  
class JCEStreamCipher.DES_CFB8 DES  
class JCEStreamCipher.DES_OFB8 DES  
class JCEStreamCipher.DESede_CFB8 DESede  
class JCEStreamCipher.DESede_OFB8 DESede  
class JCEStreamCipher.PBEWithSHAAnd128BitRC4 PBEWithSHAAnd128BitRC4  
class JCEStreamCipher.PBEWithSHAAnd40BitRC4 PBEWithSHAAnd40BitRC4  
class JCEStreamCipher.Skipjack_CFB8 SKIPJACK  
class JCEStreamCipher.Skipjack_OFB8 SKIPJACK  
class JCEStreamCipher.Twofish_CFB8 Twofish  
class JCEStreamCipher.Twofish_OFB8 Twofish  
[Expand]
Inherited Constants
From interface org.bouncycastle.jce.provider.PBE
[Expand]
Inherited Fields
From class org.bouncycastle.jce.provider.WrapCipherSpi
Protected Constructors
JCEStreamCipher(StreamCipher engine, int ivLength)
JCEStreamCipher(BlockCipher engine, int ivLength)
Protected Methods
byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
int engineGetBlockSize()
byte[] engineGetIV()
int engineGetKeySize(Key key)
int engineGetOutputSize(int inputLen)
AlgorithmParameters engineGetParameters()
void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
void engineInit(int opmode, Key key, SecureRandom random)
void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
void engineSetMode(String mode)
should never be called.
void engineSetPadding(String padding)
should never be called.
int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)
[Expand]
Inherited Methods
From class org.bouncycastle.jce.provider.WrapCipherSpi
From class javax.crypto.CipherSpi
From class java.lang.Object

Protected Constructors

protected JCEStreamCipher (StreamCipher engine, int ivLength)

protected JCEStreamCipher (BlockCipher engine, int ivLength)

Protected Methods

protected byte[] engineDoFinal (byte[] input, int inputOffset, int inputLen)

protected int engineDoFinal (byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)

protected int engineGetBlockSize ()

protected byte[] engineGetIV ()

protected int engineGetKeySize (Key key)

protected int engineGetOutputSize (int inputLen)

protected AlgorithmParameters engineGetParameters ()

protected void engineInit (int opmode, Key key, AlgorithmParameters params, SecureRandom random)

protected void engineInit (int opmode, Key key, SecureRandom random)

protected void engineInit (int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)

protected void engineSetMode (String mode)

should never be called.

protected void engineSetPadding (String padding)

should never be called.

protected int engineUpdate (byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)

protected byte[] engineUpdate (byte[] input, int inputOffset, int inputLen)