|
Bouncy Castle Cryptography Library 1.49 | ||||||||
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.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.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 interface org.bouncycastle.jcajce.provider.symmetric.util.PBE |
---|
org.bouncycastle.jcajce.provider.symmetric.util.PBE.Util |
Field Summary |
---|
Fields inherited from interface org.bouncycastle.jcajce.provider.symmetric.util.PBE |
---|
GOST3411, MD2, MD5, OPENSSL, PKCS12, PKCS5S1, PKCS5S1_UTF8, PKCS5S2, PKCS5S2_UTF8, 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 java.security.Key |
engineUnwrap(byte[] wrappedKey,
java.lang.String wrappedKeyAlgorithm,
int wrappedKeyType)
|
protected byte[] |
engineUpdate(byte[] input,
int inputOffset,
int inputLen)
|
protected int |
engineUpdate(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
|
protected byte[] |
engineWrap(java.security.Key key)
|
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 javax.crypto.CipherSpi
protected byte[] engineGetIV()
engineGetIV
in class javax.crypto.CipherSpi
protected int engineGetKeySize(java.security.Key key)
engineGetKeySize
in class javax.crypto.CipherSpi
protected int engineGetOutputSize(int inputLen)
engineGetOutputSize
in class javax.crypto.CipherSpi
protected java.security.AlgorithmParameters engineGetParameters()
engineGetParameters
in class javax.crypto.CipherSpi
protected void engineSetMode(java.lang.String mode)
engineSetMode
in class javax.crypto.CipherSpi
protected void engineSetPadding(java.lang.String padding) throws javax.crypto.NoSuchPaddingException
engineSetPadding
in class javax.crypto.CipherSpi
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 javax.crypto.CipherSpi
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 javax.crypto.CipherSpi
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 javax.crypto.CipherSpi
java.security.InvalidKeyException
protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)
engineUpdate
in class javax.crypto.CipherSpi
protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.crypto.ShortBufferException
engineUpdate
in class javax.crypto.CipherSpi
javax.crypto.ShortBufferException
protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException
engineDoFinal
in class javax.crypto.CipherSpi
javax.crypto.BadPaddingException
javax.crypto.IllegalBlockSizeException
protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.crypto.BadPaddingException
engineDoFinal
in class javax.crypto.CipherSpi
javax.crypto.BadPaddingException
protected byte[] engineWrap(java.security.Key key) throws javax.crypto.IllegalBlockSizeException, java.security.InvalidKeyException
engineWrap
in class javax.crypto.CipherSpi
javax.crypto.IllegalBlockSizeException
java.security.InvalidKeyException
protected java.security.Key engineUnwrap(byte[] wrappedKey, java.lang.String wrappedKeyAlgorithm, int wrappedKeyType) throws java.security.InvalidKeyException
engineUnwrap
in class javax.crypto.CipherSpi
java.security.InvalidKeyException
|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |