public class JCEStreamCipher extends WrapCipherSpi implements PBE
| Modifier and Type | Class and Description |
|---|---|
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.PBEWithSHAAnd128BitRC4
PBEWithSHAAnd128BitRC4
|
static class |
JCEStreamCipher.PBEWithSHAAnd40BitRC4
PBEWithSHAAnd40BitRC4
|
static class |
JCEStreamCipher.Skipjack_CFB8
SKIPJACK
|
static class |
JCEStreamCipher.Skipjack_OFB8
SKIPJACK
|
static class |
JCEStreamCipher.Twofish_CFB8
Twofish
|
static class |
JCEStreamCipher.Twofish_OFB8
Twofish
|
WrapCipherSpi.RC2WrapengineParams, pbeHash, pbeIvSize, pbeKeySize, pbeType, wrapEngine| Modifier | Constructor and Description |
|---|---|
protected |
JCEStreamCipher(BlockCipher engine,
int ivLength) |
protected |
JCEStreamCipher(StreamCipher engine,
int ivLength) |
| Modifier and Type | Method and Description |
|---|---|
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,
AlgorithmParameterSpec params,
SecureRandom random) |
protected void |
engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random) |
protected void |
engineInit(int opmode,
Key key,
SecureRandom random) |
protected void |
engineSetMode(String mode)
should never be called.
|
protected void |
engineSetPadding(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) |
engineUnwrap, engineWrapengineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAADprotected JCEStreamCipher(StreamCipher engine, int ivLength)
protected JCEStreamCipher(BlockCipher engine, int ivLength)
protected int engineGetBlockSize()
engineGetBlockSize in class WrapCipherSpiprotected byte[] engineGetIV()
engineGetIV in class WrapCipherSpiprotected int engineGetKeySize(Key key)
engineGetKeySize in class WrapCipherSpiprotected int engineGetOutputSize(int inputLen)
engineGetOutputSize in class WrapCipherSpiprotected AlgorithmParameters engineGetParameters()
engineGetParameters in class WrapCipherSpiprotected void engineSetMode(String mode)
engineSetMode in class WrapCipherSpiprotected void engineSetPadding(String padding) throws NoSuchPaddingException
engineSetPadding in class WrapCipherSpiNoSuchPaddingExceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class WrapCipherSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class WrapCipherSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
Key key,
SecureRandom random)
throws InvalidKeyException
engineInit in class WrapCipherSpiInvalidKeyExceptionprotected byte[] engineUpdate(byte[] input,
int inputOffset,
int inputLen)
engineUpdate in class WrapCipherSpiprotected int engineUpdate(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
throws ShortBufferException
engineUpdate in class WrapCipherSpiShortBufferExceptionprotected byte[] engineDoFinal(byte[] input,
int inputOffset,
int inputLen)
engineDoFinal in class WrapCipherSpiprotected int engineDoFinal(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
engineDoFinal in class WrapCipherSpiCopyright © 2015. All rights reserved.