public class BrokenJCEBlockCipher extends Object implements BrokenPBE
Modifier and Type | Class and Description |
---|---|
static class |
BrokenJCEBlockCipher.BrokePBEWithMD5AndDES
PBEWithMD5AndDES
|
static class |
BrokenJCEBlockCipher.BrokePBEWithSHA1AndDES
PBEWithSHA1AndDES
|
static class |
BrokenJCEBlockCipher.BrokePBEWithSHAAndDES2Key
PBEWithSHAAnd2-KeyTripleDES-CBC
|
static class |
BrokenJCEBlockCipher.BrokePBEWithSHAAndDES3Key
PBEWithSHAAnd3-KeyTripleDES-CBC
|
static class |
BrokenJCEBlockCipher.OldPBEWithSHAAndDES3Key
OldPBEWithSHAAnd3-KeyTripleDES-CBC
|
static class |
BrokenJCEBlockCipher.OldPBEWithSHAAndTwofish
OldPBEWithSHAAndTwofish-CBC
|
BrokenPBE.Util
Modifier | Constructor and Description |
---|---|
protected |
BrokenJCEBlockCipher(BlockCipher engine) |
protected |
BrokenJCEBlockCipher(BlockCipher engine,
int pbeType,
int pbeHash,
int pbeKeySize,
int pbeIvSize) |
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) |
protected void |
engineSetPadding(String padding) |
protected Key |
engineUnwrap(byte[] wrappedKey,
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(Key key) |
protected BrokenJCEBlockCipher(BlockCipher engine)
protected BrokenJCEBlockCipher(BlockCipher engine, int pbeType, int pbeHash, int pbeKeySize, int pbeIvSize)
protected int engineGetBlockSize()
protected byte[] engineGetIV()
protected int engineGetKeySize(Key key)
protected int engineGetOutputSize(int inputLen)
protected AlgorithmParameters engineGetParameters()
protected void engineSetMode(String mode)
protected void engineSetPadding(String padding) throws NoSuchPaddingException
NoSuchPaddingException
protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException
InvalidKeyException
protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)
protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) throws IllegalBlockSizeException, BadPaddingException
protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws IllegalBlockSizeException, BadPaddingException
protected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException
protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException
InvalidKeyException
Copyright © 2015. All rights reserved.