|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.crypto.CipherSpi
org.bouncycastle.jce.provider.WrapCipherSpi
org.bouncycastle.jce.provider.JCEStreamCipher
public class JCEStreamCipher
Nested Class Summary | |
---|---|
static class |
JCEStreamCipher.Blowfish_CFB8
Blowfish |
static class |
JCEStreamCipher.Blowfish_OFB8
Blowfish |
static class |
JCEStreamCipher.DES_CFB8
DES |
static class |
JCEStreamCipher.DES_OFB8
DES |
static class |
JCEStreamCipher.DESede_CFB8
DESede |
static class |
JCEStreamCipher.DESede_OFB8
DESede |
static class |
JCEStreamCipher.HC128
HC-128 |
static class |
JCEStreamCipher.HC256
HC-256 |
static class |
JCEStreamCipher.IDEA_CFB8
IDEA |
static class |
JCEStreamCipher.IDEA_OFB8
IDEA |
static class |
JCEStreamCipher.PBEWithSHAAnd128BitRC4
PBEWithSHAAnd128BitRC4 |
static class |
JCEStreamCipher.PBEWithSHAAnd40BitRC4
PBEWithSHAAnd40BitRC4 |
static class |
JCEStreamCipher.RC4
RC4 |
static class |
JCEStreamCipher.Salsa20
Salsa20 |
static class |
JCEStreamCipher.Skipjack_CFB8
SKIPJACK |
static class |
JCEStreamCipher.Skipjack_OFB8
SKIPJACK |
static class |
JCEStreamCipher.Twofish_CFB8
Twofish |
static class |
JCEStreamCipher.Twofish_OFB8
Twofish |
Nested classes/interfaces inherited from class org.bouncycastle.jce.provider.WrapCipherSpi |
---|
WrapCipherSpi.DESEDEWrap, WrapCipherSpi.RC2Wrap, WrapCipherSpi.RFC3211DESedeWrap |
Nested classes/interfaces inherited from interface org.bouncycastle.jce.provider.PBE |
---|
PBE.Util |
Field Summary |
---|
Fields inherited from class org.bouncycastle.jce.provider.WrapCipherSpi |
---|
engineParams, pbeHash, pbeIvSize, pbeKeySize, pbeType, wrapEngine |
Fields inherited from interface org.bouncycastle.jce.provider.PBE |
---|
MD5, OPENSSL, PKCS12, PKCS5S1, PKCS5S2, RIPEMD160, SHA1, SHA256, TIGER |
Constructor Summary | |
---|---|
protected |
JCEStreamCipher(BlockCipher engine,
int ivLength)
|
protected |
JCEStreamCipher(StreamCipher engine,
int ivLength)
|
Method Summary | |
---|---|
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(java.security.Key key)
|
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 mode)
should never be called. |
protected void |
engineSetPadding(java.lang.String padding)
should never be called. |
protected byte[] |
engineUpdate(byte[] input,
int inputOffset,
int inputLen)
|
protected int |
engineUpdate(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
|
Methods inherited from class org.bouncycastle.jce.provider.WrapCipherSpi |
---|
engineUnwrap, engineWrap |
Methods inherited from class javax.crypto.CipherSpi |
---|
engineDoFinal, engineUpdate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected JCEStreamCipher(StreamCipher engine, int ivLength)
protected JCEStreamCipher(BlockCipher engine, int ivLength)
Method Detail |
---|
protected int engineGetBlockSize()
engineGetBlockSize
in class WrapCipherSpi
protected byte[] engineGetIV()
engineGetIV
in class WrapCipherSpi
protected int engineGetKeySize(java.security.Key key)
engineGetKeySize
in class WrapCipherSpi
protected int engineGetOutputSize(int inputLen)
engineGetOutputSize
in class WrapCipherSpi
protected java.security.AlgorithmParameters engineGetParameters()
engineGetParameters
in class WrapCipherSpi
protected void engineSetMode(java.lang.String mode)
engineSetMode
in class WrapCipherSpi
protected void engineSetPadding(java.lang.String padding) throws javax.crypto.NoSuchPaddingException
engineSetPadding
in class WrapCipherSpi
javax.crypto.NoSuchPaddingException
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
engineInit
in class WrapCipherSpi
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
engineInit
in class WrapCipherSpi
java.security.InvalidKeyException
java.security.InvalidAlgorithmParameterException
protected void engineInit(int opmode, java.security.Key key, java.security.SecureRandom random) throws java.security.InvalidKeyException
engineInit
in class WrapCipherSpi
java.security.InvalidKeyException
protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)
engineUpdate
in class WrapCipherSpi
protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.crypto.ShortBufferException
engineUpdate
in class WrapCipherSpi
javax.crypto.ShortBufferException
protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
engineDoFinal
in class WrapCipherSpi
protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
engineDoFinal
in class WrapCipherSpi
|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |