org.bouncycastle.jce.provider
public class BrokenJCEBlockCipher extends Object implements BrokenPBE
Nested Class Summary | |
---|---|
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 |
Constructor Summary | |
---|---|
protected | BrokenJCEBlockCipher(BlockCipher engine) |
protected | BrokenJCEBlockCipher(BlockCipher engine, int pbeType, int pbeHash, int pbeKeySize, int pbeIvSize) |
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(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) |