public class org.bouncycastle.jce.provider.BrokenJCEBlockCipher implements org.bouncycastle.jce.provider.BrokenPBE
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.BrokenJCEBlockCipher
super_class: java.lang.Object
{
private java.lang.Class[] availableSpecs;
descriptor: [Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.BufferedBlockCipher cipher;
descriptor: Lorg/bouncycastle/crypto/BufferedBlockCipher;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.params.ParametersWithIV ivParam;
descriptor: Lorg/bouncycastle/crypto/params/ParametersWithIV;
flags: (0x0002) ACC_PRIVATE
private int pbeType;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int pbeHash;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int pbeKeySize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int pbeIvSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ivLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.security.AlgorithmParameters engineParams;
descriptor: Ljava/security/AlgorithmParameters;
flags: (0x0002) ACC_PRIVATE
protected void <init>(org.bouncycastle.crypto.BlockCipher);
descriptor: (Lorg/bouncycastle/crypto/BlockCipher;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: iconst_4
anewarray java.lang.Class
dup
iconst_0
3: ldc Ljavax/crypto/spec/IvParameterSpec;
aastore
dup
iconst_1
4: ldc Ljavax/crypto/spec/PBEParameterSpec;
aastore
dup
iconst_2
5: ldc Ljavax/crypto/spec/RC2ParameterSpec;
aastore
dup
iconst_3
6: ldc Ljavax/crypto/spec/RC5ParameterSpec;
aastore
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.availableSpecs:[Ljava/lang/Class;
7: aload 0
iconst_2
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeType:I
8: aload 0
iconst_1
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeHash:I
9: aload 0
iconst_0
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
10: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineParams:Ljava/security/AlgorithmParameters;
11: aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
aload 1
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 13 1 engine Lorg/bouncycastle/crypto/BlockCipher;
MethodParameters:
Name Flags
engine
protected void <init>(org.bouncycastle.crypto.BlockCipher, int, int, int, int);
descriptor: (Lorg/bouncycastle/crypto/BlockCipher;IIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: iconst_4
anewarray java.lang.Class
dup
iconst_0
3: ldc Ljavax/crypto/spec/IvParameterSpec;
aastore
dup
iconst_1
4: ldc Ljavax/crypto/spec/PBEParameterSpec;
aastore
dup
iconst_2
5: ldc Ljavax/crypto/spec/RC2ParameterSpec;
aastore
dup
iconst_3
6: ldc Ljavax/crypto/spec/RC5ParameterSpec;
aastore
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.availableSpecs:[Ljava/lang/Class;
7: aload 0
iconst_2
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeType:I
8: aload 0
iconst_1
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeHash:I
9: aload 0
iconst_0
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
10: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineParams:Ljava/security/AlgorithmParameters;
11: aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
aload 1
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
12: aload 0
iload 2
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeType:I
13: aload 0
iload 3
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeHash:I
14: aload 0
iload 4
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeKeySize:I
15: aload 0
iload 5
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeIvSize:I
16: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 17 1 engine Lorg/bouncycastle/crypto/BlockCipher;
0 17 2 pbeType I
0 17 3 pbeHash I
0 17 4 pbeKeySize I
0 17 5 pbeIvSize I
MethodParameters:
Name Flags
engine
pbeType
pbeHash
pbeKeySize
pbeIvSize
protected int engineGetBlockSize();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getBlockSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
protected byte[] engineGetIV();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
ifnull 1
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getIV:()[B
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: byte[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
protected int engineGetKeySize(java.security.Key);
descriptor: (Ljava/security/Key;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.security.Key.getEncoded:()[B
arraylength
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 1 1 key Ljava/security/Key;
MethodParameters:
Name Flags
key
protected int engineGetOutputSize(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
iload 1
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getOutputSize:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 1 1 inputLen I
MethodParameters:
Name Flags
inputLen
protected java.security.AlgorithmParameters engineGetParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineParams:Ljava/security/AlgorithmParameters;
ifnonnull 10
1: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
ifnull 10
2: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokeinterface org.bouncycastle.crypto.BlockCipher.getAlgorithmName:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
iflt 5
4: aload 1
iconst_0
aload 1
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
getstatic org.bouncycastle.jce.provider.BouncyCastleProvider.PROVIDER_NAME:Ljava/lang/String;
invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/AlgorithmParameters;
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineParams:Ljava/security/AlgorithmParameters;
6: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineParams:Ljava/security/AlgorithmParameters;
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getIV:()[B
invokevirtual java.security.AlgorithmParameters.init:([B)V
7: goto 10
8: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 9: new java.lang.RuntimeException
dup
aload 2
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 10: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineParams:Ljava/security/AlgorithmParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
3 10 1 name Ljava/lang/String;
9 10 2 e Ljava/lang/Exception;
Exception table:
from to target type
5 7 8 Class java.lang.Exception
protected void engineSetMode(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.bouncycastle.util.Strings.toUpperCase:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "ECB"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
2: aload 0
iconst_0
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
3: aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
4: goto 36
5: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "CBC"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
6: aload 0
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
7: aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
8: new org.bouncycastle.crypto.modes.CBCBlockCipher
dup
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokespecial org.bouncycastle.crypto.modes.CBCBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
9: putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
10: goto 36
11: StackMap locals:
StackMap stack:
aload 2
ldc "OFB"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 23
12: aload 0
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
13: aload 2
invokevirtual java.lang.String.length:()I
iconst_3
if_icmpeq 19
14: aload 2
iconst_3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 15: aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
16: new org.bouncycastle.crypto.modes.OFBBlockCipher
dup
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
iload 3
invokespecial org.bouncycastle.crypto.modes.OFBBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;I)V
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
17: putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
end local 3 18: goto 36
19: StackMap locals:
StackMap stack:
aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
20: new org.bouncycastle.crypto.modes.OFBBlockCipher
dup
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
bipush 8
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getBlockSize:()I
imul
invokespecial org.bouncycastle.crypto.modes.OFBBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;I)V
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
21: putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
22: goto 36
23: StackMap locals:
StackMap stack:
aload 2
ldc "CFB"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 35
24: aload 0
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
25: aload 2
invokevirtual java.lang.String.length:()I
iconst_3
if_icmpeq 31
26: aload 2
iconst_3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 27: aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
28: new org.bouncycastle.crypto.modes.CFBBlockCipher
dup
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
iload 3
invokespecial org.bouncycastle.crypto.modes.CFBBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;I)V
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
29: putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
end local 3 30: goto 36
31: StackMap locals:
StackMap stack:
aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
32: new org.bouncycastle.crypto.modes.CFBBlockCipher
dup
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
bipush 8
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getBlockSize:()I
imul
invokespecial org.bouncycastle.crypto.modes.CFBBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;I)V
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
33: putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
34: goto 36
35: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "can't support mode "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 37 1 mode Ljava/lang/String;
1 37 2 modeName Ljava/lang/String;
15 18 3 wordSize I
27 30 3 wordSize I
MethodParameters:
Name Flags
mode
protected void engineSetPadding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.bouncycastle.util.Strings.toUpperCase:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "NOPADDING"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
new org.bouncycastle.crypto.BufferedBlockCipher
dup
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokespecial org.bouncycastle.crypto.BufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
3: goto 11
4: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "PKCS5PADDING"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
aload 2
ldc "PKCS7PADDING"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
aload 2
ldc "ISO10126PADDING"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: StackMap locals:
StackMap stack:
aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
6: goto 11
7: StackMap locals:
StackMap stack:
aload 2
ldc "WITHCTS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: aload 0
new org.bouncycastle.crypto.modes.CTSBlockCipher
dup
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokespecial org.bouncycastle.crypto.modes.CTSBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
9: goto 11
10: StackMap locals:
StackMap stack:
new javax.crypto.NoSuchPaddingException
dup
new java.lang.StringBuilder
dup
ldc "Padding "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " unknown."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.crypto.NoSuchPaddingException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 12 1 padding Ljava/lang/String;
1 12 2 paddingName Ljava/lang/String;
Exceptions:
throws javax.crypto.NoSuchPaddingException
MethodParameters:
Name Flags
padding
protected void engineInit(int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
instanceof org.bouncycastle.jce.provider.JCEPBEKey
ifeq 7
1: aload 2
checkcast org.bouncycastle.jce.provider.JCEPBEKey
aload 3
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeType:I
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeHash:I
2: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokeinterface org.bouncycastle.crypto.BlockCipher.getAlgorithmName:()Ljava/lang/String;
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeKeySize:I
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeIvSize:I
3: invokestatic org.bouncycastle.jce.provider.BrokenPBE$Util.makePBEParameters:(Lorg/bouncycastle/jce/provider/JCEPBEKey;Ljava/security/spec/AlgorithmParameterSpec;IILjava/lang/String;II)Lorg/bouncycastle/crypto/CipherParameters;
astore 5
start local 5 4: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.pbeIvSize:I
ifeq 34
5: aload 0
aload 5
checkcast org.bouncycastle.crypto.params.ParametersWithIV
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
6: goto 34
end local 5 7: StackMap locals:
StackMap stack:
aload 3
ifnonnull 10
8: new org.bouncycastle.crypto.params.KeyParameter
dup
aload 2
invokeinterface java.security.Key.getEncoded:()[B
invokespecial org.bouncycastle.crypto.params.KeyParameter.<init>:([B)V
astore 5
start local 5 9: goto 34
end local 5 10: StackMap locals:
StackMap stack:
aload 3
instanceof javax.crypto.spec.IvParameterSpec
ifeq 17
11: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
ifeq 15
12: new org.bouncycastle.crypto.params.ParametersWithIV
dup
new org.bouncycastle.crypto.params.KeyParameter
dup
aload 2
invokeinterface java.security.Key.getEncoded:()[B
invokespecial org.bouncycastle.crypto.params.KeyParameter.<init>:([B)V
aload 3
checkcast javax.crypto.spec.IvParameterSpec
invokevirtual javax.crypto.spec.IvParameterSpec.getIV:()[B
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
astore 5
start local 5 13: aload 0
aload 5
checkcast org.bouncycastle.crypto.params.ParametersWithIV
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
14: goto 34
end local 5 15: StackMap locals:
StackMap stack:
new org.bouncycastle.crypto.params.KeyParameter
dup
aload 2
invokeinterface java.security.Key.getEncoded:()[B
invokespecial org.bouncycastle.crypto.params.KeyParameter.<init>:([B)V
astore 5
start local 5 16: goto 34
end local 5 17: StackMap locals:
StackMap stack:
aload 3
instanceof javax.crypto.spec.RC2ParameterSpec
ifeq 24
18: aload 3
checkcast javax.crypto.spec.RC2ParameterSpec
astore 6
start local 6 19: new org.bouncycastle.crypto.params.RC2Parameters
dup
aload 2
invokeinterface java.security.Key.getEncoded:()[B
aload 3
checkcast javax.crypto.spec.RC2ParameterSpec
invokevirtual javax.crypto.spec.RC2ParameterSpec.getEffectiveKeyBits:()I
invokespecial org.bouncycastle.crypto.params.RC2Parameters.<init>:([BI)V
astore 5
start local 5 20: aload 6
invokevirtual javax.crypto.spec.RC2ParameterSpec.getIV:()[B
ifnull 34
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
ifeq 34
21: new org.bouncycastle.crypto.params.ParametersWithIV
dup
aload 5
aload 6
invokevirtual javax.crypto.spec.RC2ParameterSpec.getIV:()[B
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
astore 5
22: aload 0
aload 5
checkcast org.bouncycastle.crypto.params.ParametersWithIV
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
end local 6 23: goto 34
end local 5 24: StackMap locals:
StackMap stack:
aload 3
instanceof javax.crypto.spec.RC5ParameterSpec
ifeq 33
25: aload 3
checkcast javax.crypto.spec.RC5ParameterSpec
astore 6
start local 6 26: new org.bouncycastle.crypto.params.RC5Parameters
dup
aload 2
invokeinterface java.security.Key.getEncoded:()[B
aload 3
checkcast javax.crypto.spec.RC5ParameterSpec
invokevirtual javax.crypto.spec.RC5ParameterSpec.getRounds:()I
invokespecial org.bouncycastle.crypto.params.RC5Parameters.<init>:([BI)V
astore 5
start local 5 27: aload 6
invokevirtual javax.crypto.spec.RC5ParameterSpec.getWordSize:()I
bipush 32
if_icmpeq 29
28: new java.lang.IllegalArgumentException
dup
ldc "can only accept RC5 word size 32 (at the moment...)"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals: org.bouncycastle.crypto.CipherParameters javax.crypto.spec.RC5ParameterSpec
StackMap stack:
aload 6
invokevirtual javax.crypto.spec.RC5ParameterSpec.getIV:()[B
ifnull 34
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
ifeq 34
30: new org.bouncycastle.crypto.params.ParametersWithIV
dup
aload 5
aload 6
invokevirtual javax.crypto.spec.RC5ParameterSpec.getIV:()[B
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
astore 5
31: aload 0
aload 5
checkcast org.bouncycastle.crypto.params.ParametersWithIV
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
end local 6 32: goto 34
end local 5 33: StackMap locals:
StackMap stack:
new java.security.InvalidAlgorithmParameterException
dup
ldc "unknown parameter type."
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
start local 5 34: StackMap locals: org.bouncycastle.crypto.CipherParameters
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
ifeq 44
aload 5
instanceof org.bouncycastle.crypto.params.ParametersWithIV
ifne 44
35: aload 4
ifnonnull 37
36: new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
astore 4
37: StackMap locals:
StackMap stack:
iload 1
iconst_1
if_icmpeq 38
iload 1
iconst_3
if_icmpne 43
38: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivLength:I
newarray 8
astore 6
start local 6 39: aload 4
aload 6
invokevirtual java.security.SecureRandom.nextBytes:([B)V
40: new org.bouncycastle.crypto.params.ParametersWithIV
dup
aload 5
aload 6
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
astore 5
41: aload 0
aload 5
checkcast org.bouncycastle.crypto.params.ParametersWithIV
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
end local 6 42: goto 44
43: StackMap locals:
StackMap stack:
new java.security.InvalidAlgorithmParameterException
dup
ldc "no IV set when one expected"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
44: StackMap locals:
StackMap stack:
iload 1
tableswitch { // 1 - 4
1: 45
2: 47
3: 45
4: 47
default: 49
}
45: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
iconst_1
aload 5
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
46: goto 50
47: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
iconst_0
aload 5
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
48: goto 50
49: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "eeek!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
50: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 51 1 opmode I
0 51 2 key Ljava/security/Key;
0 51 3 params Ljava/security/spec/AlgorithmParameterSpec;
0 51 4 random Ljava/security/SecureRandom;
4 7 5 param Lorg/bouncycastle/crypto/CipherParameters;
9 10 5 param Lorg/bouncycastle/crypto/CipherParameters;
13 15 5 param Lorg/bouncycastle/crypto/CipherParameters;
16 17 5 param Lorg/bouncycastle/crypto/CipherParameters;
20 24 5 param Lorg/bouncycastle/crypto/CipherParameters;
27 33 5 param Lorg/bouncycastle/crypto/CipherParameters;
34 51 5 param Lorg/bouncycastle/crypto/CipherParameters;
19 23 6 rc2Param Ljavax/crypto/spec/RC2ParameterSpec;
26 32 6 rc5Param Ljavax/crypto/spec/RC5ParameterSpec;
39 42 6 iv [B
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
protected void engineInit(int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
start local 5 1: aload 3
ifnull 11
2: iconst_0
istore 6
start local 6 3: goto 8
4: StackMap locals: java.security.spec.AlgorithmParameterSpec int
StackMap stack:
aload 3
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.availableSpecs:[Ljava/lang/Class;
iload 6
aaload
invokevirtual java.security.AlgorithmParameters.getParameterSpec:(Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
astore 5
5: goto 9
6: StackMap locals:
StackMap stack: java.lang.Exception
pop
7: iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.availableSpecs:[Ljava/lang/Class;
arraylength
if_icmpne 4
end local 6 9: StackMap locals:
StackMap stack:
aload 5
ifnonnull 11
10: new java.security.InvalidAlgorithmParameterException
dup
new java.lang.StringBuilder
dup
ldc "can't handle parameter "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.security.AlgorithmParameters.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineParams:Ljava/security/AlgorithmParameters;
12: aload 0
iload 1
aload 2
aload 5
aload 4
invokevirtual org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineInit:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
13: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 14 1 opmode I
0 14 2 key Ljava/security/Key;
0 14 3 params Ljava/security/AlgorithmParameters;
0 14 4 random Ljava/security/SecureRandom;
1 14 5 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
3 9 6 i I
Exception table:
from to target type
4 5 6 Class java.lang.Exception
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
protected void engineInit(int, java.security.Key, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aconst_null
aload 3
invokevirtual org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineInit:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
1: goto 4
2: StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
astore 4
start local 4 3: new java.lang.IllegalArgumentException
dup
aload 4
invokevirtual java.security.InvalidAlgorithmParameterException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 5 1 opmode I
0 5 2 key Ljava/security/Key;
0 5 3 random Ljava/security/SecureRandom;
3 4 4 e Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
0 1 2 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
opmode
key
random
protected byte[] engineUpdate(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
iload 3
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUpdateOutputSize:(I)I
istore 4
start local 4 1: iload 4
ifle 5
2: iload 4
newarray 8
astore 5
start local 5 3: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
aload 1
iload 2
iload 3
aload 5
iconst_0
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.processBytes:([BII[BI)I
pop
4: aload 5
areturn
end local 5 5: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
aload 1
iload 2
iload 3
aconst_null
iconst_0
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.processBytes:([BII[BI)I
pop
6: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 7 1 input [B
0 7 2 inputOffset I
0 7 3 inputLen I
1 7 4 length I
3 5 5 out [B
MethodParameters:
Name Flags
input
inputOffset
inputLen
protected int engineUpdate(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
aload 1
iload 2
iload 3
aload 4
iload 5
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.processBytes:([BII[BI)I
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 1 1 input [B
0 1 2 inputOffset I
0 1 3 inputLen I
0 1 4 output [B
0 1 5 outputOffset I
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
protected byte[] engineDoFinal(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: aload 0
iload 3
invokevirtual org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineGetOutputSize:(I)I
newarray 8
astore 5
start local 5 2: iload 3
ifeq 4
3: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
aload 1
iload 2
iload 3
aload 5
iconst_0
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.processBytes:([BII[BI)I
istore 4
4: StackMap locals: int byte[]
StackMap stack:
iload 4
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
aload 5
iload 4
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.doFinal:([BI)I
iadd
istore 4
5: goto 10
6: StackMap locals:
StackMap stack: org.bouncycastle.crypto.DataLengthException
astore 6
start local 6 7: new javax.crypto.IllegalBlockSizeException
dup
aload 6
invokevirtual org.bouncycastle.crypto.DataLengthException.getMessage:()Ljava/lang/String;
invokespecial javax.crypto.IllegalBlockSizeException.<init>:(Ljava/lang/String;)V
athrow
end local 6 8: StackMap locals:
StackMap stack: org.bouncycastle.crypto.InvalidCipherTextException
astore 6
start local 6 9: new javax.crypto.BadPaddingException
dup
aload 6
invokevirtual org.bouncycastle.crypto.InvalidCipherTextException.getMessage:()Ljava/lang/String;
invokespecial javax.crypto.BadPaddingException.<init>:(Ljava/lang/String;)V
athrow
end local 6 10: StackMap locals:
StackMap stack:
iload 4
newarray 8
astore 6
start local 6 11: aload 5
iconst_0
aload 6
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 13 1 input [B
0 13 2 inputOffset I
0 13 3 inputLen I
1 13 4 len I
2 13 5 tmp [B
7 8 6 e Lorg/bouncycastle/crypto/DataLengthException;
9 10 6 e Lorg/bouncycastle/crypto/InvalidCipherTextException;
11 13 6 out [B
Exception table:
from to target type
4 5 6 Class org.bouncycastle.crypto.DataLengthException
4 5 8 Class org.bouncycastle.crypto.InvalidCipherTextException
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
inputOffset
inputLen
protected int engineDoFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iconst_0
istore 6
start local 6 1: iload 3
ifeq 3
2: aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
aload 1
iload 2
iload 3
aload 4
iload 5
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.processBytes:([BII[BI)I
istore 6
3: StackMap locals: int
StackMap stack:
iload 6
aload 0
getfield org.bouncycastle.jce.provider.BrokenJCEBlockCipher.cipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
aload 4
iload 5
iload 6
iadd
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.doFinal:([BI)I
iadd
4: ireturn
5: StackMap locals:
StackMap stack: org.bouncycastle.crypto.DataLengthException
astore 7
start local 7 6: new javax.crypto.IllegalBlockSizeException
dup
aload 7
invokevirtual org.bouncycastle.crypto.DataLengthException.getMessage:()Ljava/lang/String;
invokespecial javax.crypto.IllegalBlockSizeException.<init>:(Ljava/lang/String;)V
athrow
end local 7 7: StackMap locals:
StackMap stack: org.bouncycastle.crypto.InvalidCipherTextException
astore 7
start local 7 8: new javax.crypto.BadPaddingException
dup
aload 7
invokevirtual org.bouncycastle.crypto.InvalidCipherTextException.getMessage:()Ljava/lang/String;
invokespecial javax.crypto.BadPaddingException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 9 1 input [B
0 9 2 inputOffset I
0 9 3 inputLen I
0 9 4 output [B
0 9 5 outputOffset I
1 9 6 len I
6 7 7 e Lorg/bouncycastle/crypto/DataLengthException;
8 9 7 e Lorg/bouncycastle/crypto/InvalidCipherTextException;
Exception table:
from to target type
3 4 5 Class org.bouncycastle.crypto.DataLengthException
3 4 7 Class org.bouncycastle.crypto.InvalidCipherTextException
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
protected byte[] engineWrap(java.security.Key);
descriptor: (Ljava/security/Key;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.security.Key.getEncoded:()[B
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.security.InvalidKeyException
dup
ldc "Cannot wrap key, null encoding."
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: byte[]
StackMap stack:
aload 0
aload 2
iconst_0
aload 2
arraylength
invokevirtual org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineDoFinal:([BII)[B
4: areturn
5: StackMap locals:
StackMap stack: javax.crypto.BadPaddingException
astore 3
start local 3 6: new javax.crypto.IllegalBlockSizeException
dup
aload 3
invokevirtual javax.crypto.BadPaddingException.getMessage:()Ljava/lang/String;
invokespecial javax.crypto.IllegalBlockSizeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 7 1 key Ljava/security/Key;
1 7 2 encoded [B
6 7 3 e Ljavax/crypto/BadPaddingException;
Exception table:
from to target type
3 4 5 Class javax.crypto.BadPaddingException
Exceptions:
throws javax.crypto.IllegalBlockSizeException, java.security.InvalidKeyException
MethodParameters:
Name Flags
key
protected java.security.Key engineUnwrap(byte[], java.lang.String, int);
descriptor: ([BLjava/lang/String;I)Ljava/security/Key;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.bouncycastle.jce.provider.BrokenJCEBlockCipher.engineDoFinal:([BII)[B
astore 4
2: goto 7
3: StackMap locals: org.bouncycastle.jce.provider.BrokenJCEBlockCipher byte[] java.lang.String int byte[]
StackMap stack: javax.crypto.BadPaddingException
astore 5
start local 5 4: new java.security.InvalidKeyException
dup
aload 5
invokevirtual javax.crypto.BadPaddingException.getMessage:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 5 5: StackMap locals:
StackMap stack: javax.crypto.IllegalBlockSizeException
astore 5
start local 5 6: new java.security.InvalidKeyException
dup
aload 5
invokevirtual javax.crypto.IllegalBlockSizeException.getMessage:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 5 7: StackMap locals:
StackMap stack:
iload 3
iconst_3
if_icmpne 9
8: new javax.crypto.spec.SecretKeySpec
dup
aload 4
aload 2
invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
areturn
9: StackMap locals:
StackMap stack:
aload 2
getstatic org.bouncycastle.jce.provider.BouncyCastleProvider.PROVIDER_NAME:Ljava/lang/String;
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyFactory;
astore 5
start local 5 10: iload 3
iconst_1
if_icmpne 13
11: aload 5
new java.security.spec.X509EncodedKeySpec
dup
aload 4
invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
12: areturn
13: StackMap locals: java.security.KeyFactory
StackMap stack:
iload 3
iconst_2
if_icmpne 22
14: aload 5
new java.security.spec.PKCS8EncodedKeySpec
dup
aload 4
invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
15: areturn
end local 5 16: StackMap locals: org.bouncycastle.jce.provider.BrokenJCEBlockCipher byte[] java.lang.String int byte[]
StackMap stack: java.security.NoSuchProviderException
astore 5
start local 5 17: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Unknown key type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.security.NoSuchProviderException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 5 18: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 5
start local 5 19: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Unknown key type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.security.NoSuchAlgorithmException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 5 20: StackMap locals:
StackMap stack: java.security.spec.InvalidKeySpecException
astore 5
start local 5 21: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Unknown key type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.security.spec.InvalidKeySpecException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 5 22: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Unknown key type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/bouncycastle/jce/provider/BrokenJCEBlockCipher;
0 23 1 wrappedKey [B
0 23 2 wrappedKeyAlgorithm Ljava/lang/String;
0 23 3 wrappedKeyType I
1 23 4 encoded [B
4 5 5 e Ljavax/crypto/BadPaddingException;
6 7 5 e2 Ljavax/crypto/IllegalBlockSizeException;
10 16 5 kf Ljava/security/KeyFactory;
17 18 5 e Ljava/security/NoSuchProviderException;
19 20 5 e Ljava/security/NoSuchAlgorithmException;
21 22 5 e2 Ljava/security/spec/InvalidKeySpecException;
Exception table:
from to target type
1 2 3 Class javax.crypto.BadPaddingException
1 2 5 Class javax.crypto.IllegalBlockSizeException
9 12 16 Class java.security.NoSuchProviderException
13 15 16 Class java.security.NoSuchProviderException
9 12 18 Class java.security.NoSuchAlgorithmException
13 15 18 Class java.security.NoSuchAlgorithmException
9 12 20 Class java.security.spec.InvalidKeySpecException
13 15 20 Class java.security.spec.InvalidKeySpecException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
wrappedKey
wrappedKeyAlgorithm
wrappedKeyType
}
SourceFile: "BrokenJCEBlockCipher.java"
NestMembers:
org.bouncycastle.jce.provider.BrokenJCEBlockCipher$BrokePBEWithMD5AndDES org.bouncycastle.jce.provider.BrokenJCEBlockCipher$BrokePBEWithSHA1AndDES org.bouncycastle.jce.provider.BrokenJCEBlockCipher$BrokePBEWithSHAAndDES2Key org.bouncycastle.jce.provider.BrokenJCEBlockCipher$BrokePBEWithSHAAndDES3Key org.bouncycastle.jce.provider.BrokenJCEBlockCipher$OldPBEWithSHAAndDES3Key org.bouncycastle.jce.provider.BrokenJCEBlockCipher$OldPBEWithSHAAndTwofish
InnerClasses:
public BrokePBEWithMD5AndDES = org.bouncycastle.jce.provider.BrokenJCEBlockCipher$BrokePBEWithMD5AndDES of org.bouncycastle.jce.provider.BrokenJCEBlockCipher
public BrokePBEWithSHA1AndDES = org.bouncycastle.jce.provider.BrokenJCEBlockCipher$BrokePBEWithSHA1AndDES of org.bouncycastle.jce.provider.BrokenJCEBlockCipher
public BrokePBEWithSHAAndDES2Key = org.bouncycastle.jce.provider.BrokenJCEBlockCipher$BrokePBEWithSHAAndDES2Key of org.bouncycastle.jce.provider.BrokenJCEBlockCipher
public BrokePBEWithSHAAndDES3Key = org.bouncycastle.jce.provider.BrokenJCEBlockCipher$BrokePBEWithSHAAndDES3Key of org.bouncycastle.jce.provider.BrokenJCEBlockCipher
public OldPBEWithSHAAndDES3Key = org.bouncycastle.jce.provider.BrokenJCEBlockCipher$OldPBEWithSHAAndDES3Key of org.bouncycastle.jce.provider.BrokenJCEBlockCipher
public OldPBEWithSHAAndTwofish = org.bouncycastle.jce.provider.BrokenJCEBlockCipher$OldPBEWithSHAAndTwofish of org.bouncycastle.jce.provider.BrokenJCEBlockCipher
public Util = org.bouncycastle.jce.provider.BrokenPBE$Util of org.bouncycastle.jce.provider.BrokenPBE