public class org.bouncycastle.jce.provider.JCEStreamCipher extends org.bouncycastle.jce.provider.WrapCipherSpi implements org.bouncycastle.jce.provider.PBE
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.JCEStreamCipher
super_class: org.bouncycastle.jce.provider.WrapCipherSpi
{
private java.lang.Class[] availableSpecs;
descriptor: [Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.StreamCipher cipher;
descriptor: Lorg/bouncycastle/crypto/StreamCipher;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.params.ParametersWithIV ivParam;
descriptor: Lorg/bouncycastle/crypto/params/ParametersWithIV;
flags: (0x0002) ACC_PRIVATE
private int ivLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.crypto.spec.PBEParameterSpec pbeSpec;
descriptor: Ljavax/crypto/spec/PBEParameterSpec;
flags: (0x0002) ACC_PRIVATE
private java.lang.String pbeAlgorithm;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected void <init>(org.bouncycastle.crypto.StreamCipher, int);
descriptor: (Lorg/bouncycastle/crypto/StreamCipher;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.jce.provider.WrapCipherSpi.<init>:()V
1: aload 0
2: iconst_4
anewarray java.lang.Class
dup
iconst_0
3: ldc Ljavax/crypto/spec/RC2ParameterSpec;
aastore
dup
iconst_1
4: ldc Ljavax/crypto/spec/RC5ParameterSpec;
aastore
dup
iconst_2
5: ldc Ljavax/crypto/spec/IvParameterSpec;
aastore
dup
iconst_3
6: ldc Ljavax/crypto/spec/PBEParameterSpec;
aastore
putfield org.bouncycastle.jce.provider.JCEStreamCipher.availableSpecs:[Ljava/lang/Class;
7: aload 0
iconst_0
putfield org.bouncycastle.jce.provider.JCEStreamCipher.ivLength:I
8: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeSpec:Ljavax/crypto/spec/PBEParameterSpec;
9: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeAlgorithm:Ljava/lang/String;
10: aload 0
aload 1
putfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
11: aload 0
iload 2
putfield org.bouncycastle.jce.provider.JCEStreamCipher.ivLength:I
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 13 1 engine Lorg/bouncycastle/crypto/StreamCipher;
0 13 2 ivLength I
MethodParameters:
Name Flags
engine
ivLength
protected void <init>(org.bouncycastle.crypto.BlockCipher, int);
descriptor: (Lorg/bouncycastle/crypto/BlockCipher;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.jce.provider.WrapCipherSpi.<init>:()V
1: aload 0
2: iconst_4
anewarray java.lang.Class
dup
iconst_0
3: ldc Ljavax/crypto/spec/RC2ParameterSpec;
aastore
dup
iconst_1
4: ldc Ljavax/crypto/spec/RC5ParameterSpec;
aastore
dup
iconst_2
5: ldc Ljavax/crypto/spec/IvParameterSpec;
aastore
dup
iconst_3
6: ldc Ljavax/crypto/spec/PBEParameterSpec;
aastore
putfield org.bouncycastle.jce.provider.JCEStreamCipher.availableSpecs:[Ljava/lang/Class;
7: aload 0
iconst_0
putfield org.bouncycastle.jce.provider.JCEStreamCipher.ivLength:I
8: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeSpec:Ljavax/crypto/spec/PBEParameterSpec;
9: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeAlgorithm:Ljava/lang/String;
10: aload 0
iload 2
putfield org.bouncycastle.jce.provider.JCEStreamCipher.ivLength:I
11: aload 0
new org.bouncycastle.crypto.StreamBlockCipher
dup
aload 1
invokespecial org.bouncycastle.crypto.StreamBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 13 1 engine Lorg/bouncycastle/crypto/BlockCipher;
0 13 2 ivLength I
MethodParameters:
Name Flags
engine
ivLength
protected int engineGetBlockSize();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
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.JCEStreamCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
ifnull 1
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.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/JCEStreamCipher;
protected int engineGetKeySize(java.security.Key);
descriptor: (Ljava/security/Key;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.security.Key.getEncoded:()[B
arraylength
bipush 8
imul
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 1 1 key Ljava/security/Key;
MethodParameters:
Name Flags
key
protected int engineGetOutputSize(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 1 1 inputLen I
MethodParameters:
Name Flags
inputLen
protected java.security.AlgorithmParameters engineGetParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.engineParams:Ljava/security/AlgorithmParameters;
ifnonnull 8
1: aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeSpec:Ljavax/crypto/spec/PBEParameterSpec;
ifnull 8
2: aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeAlgorithm:Ljava/lang/String;
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;
astore 1
start local 1 3: aload 1
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeSpec:Ljavax/crypto/spec/PBEParameterSpec;
invokevirtual java.security.AlgorithmParameters.init:(Ljava/security/spec/AlgorithmParameterSpec;)V
4: aload 1
5: areturn
end local 1 6: StackMap locals:
StackMap stack: java.lang.Exception
pop
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.engineParams:Ljava/security/AlgorithmParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
3 6 1 engineParams Ljava/security/AlgorithmParameters;
Exception table:
from to target type
2 5 6 Class java.lang.Exception
protected void engineSetMode(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "ECB"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 2
1: 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
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 3 1 mode Ljava/lang/String;
MethodParameters:
Name Flags
mode
protected void engineSetPadding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "NoPadding"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 2
1: 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
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 3 1 padding 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=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeSpec:Ljavax/crypto/spec/PBEParameterSpec;
1: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeAlgorithm:Ljava/lang/String;
2: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEStreamCipher.engineParams:Ljava/security/AlgorithmParameters;
3: aload 2
instanceof javax.crypto.SecretKey
ifne 5
4: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Key for algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface java.security.Key.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not suitable for symmetric enryption."
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
5: StackMap locals:
StackMap stack:
aload 2
instanceof org.bouncycastle.jce.provider.JCEPBEKey
ifeq 23
6: aload 2
checkcast org.bouncycastle.jce.provider.JCEPBEKey
astore 6
start local 6 7: aload 6
invokevirtual org.bouncycastle.jce.provider.JCEPBEKey.getOID:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
ifnull 10
8: aload 0
aload 6
invokevirtual org.bouncycastle.jce.provider.JCEPBEKey.getOID:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeAlgorithm:Ljava/lang/String;
9: goto 11
10: StackMap locals: org.bouncycastle.jce.provider.JCEStreamCipher int java.security.Key java.security.spec.AlgorithmParameterSpec java.security.SecureRandom top org.bouncycastle.jce.provider.JCEPBEKey
StackMap stack:
aload 0
aload 6
invokevirtual org.bouncycastle.jce.provider.JCEPBEKey.getAlgorithm:()Ljava/lang/String;
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeAlgorithm:Ljava/lang/String;
11: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.bouncycastle.jce.provider.JCEPBEKey.getParam:()Lorg/bouncycastle/crypto/CipherParameters;
ifnull 15
12: aload 6
invokevirtual org.bouncycastle.jce.provider.JCEPBEKey.getParam:()Lorg/bouncycastle/crypto/CipherParameters;
astore 5
start local 5 13: aload 0
new javax.crypto.spec.PBEParameterSpec
dup
aload 6
invokevirtual org.bouncycastle.jce.provider.JCEPBEKey.getSalt:()[B
aload 6
invokevirtual org.bouncycastle.jce.provider.JCEPBEKey.getIterationCount:()I
invokespecial javax.crypto.spec.PBEParameterSpec.<init>:([BI)V
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeSpec:Ljavax/crypto/spec/PBEParameterSpec;
14: goto 20
end local 5 15: StackMap locals:
StackMap stack:
aload 3
instanceof javax.crypto.spec.PBEParameterSpec
ifeq 19
16: aload 6
aload 3
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
invokeinterface org.bouncycastle.crypto.StreamCipher.getAlgorithmName:()Ljava/lang/String;
invokestatic org.bouncycastle.jce.provider.PBE$Util.makePBEParameters:(Lorg/bouncycastle/jce/provider/JCEPBEKey;Ljava/security/spec/AlgorithmParameterSpec;Ljava/lang/String;)Lorg/bouncycastle/crypto/CipherParameters;
astore 5
start local 5 17: aload 0
aload 3
checkcast javax.crypto.spec.PBEParameterSpec
putfield org.bouncycastle.jce.provider.JCEStreamCipher.pbeSpec:Ljavax/crypto/spec/PBEParameterSpec;
18: goto 20
end local 5 19: StackMap locals:
StackMap stack:
new java.security.InvalidAlgorithmParameterException
dup
ldc "PBE requires PBE parameters to be set."
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
start local 5 20: StackMap locals: org.bouncycastle.jce.provider.JCEStreamCipher int java.security.Key java.security.spec.AlgorithmParameterSpec java.security.SecureRandom org.bouncycastle.crypto.CipherParameters org.bouncycastle.jce.provider.JCEPBEKey
StackMap stack:
aload 6
invokevirtual org.bouncycastle.jce.provider.JCEPBEKey.getIvSize:()I
ifeq 31
21: aload 0
aload 5
checkcast org.bouncycastle.crypto.params.ParametersWithIV
putfield org.bouncycastle.jce.provider.JCEStreamCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
end local 6 22: goto 31
end local 5 23: StackMap locals:
StackMap stack:
aload 3
ifnonnull 26
24: 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 25: goto 31
end local 5 26: StackMap locals:
StackMap stack:
aload 3
instanceof javax.crypto.spec.IvParameterSpec
ifeq 30
27: 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 28: aload 0
aload 5
checkcast org.bouncycastle.crypto.params.ParametersWithIV
putfield org.bouncycastle.jce.provider.JCEStreamCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
29: goto 31
end local 5 30: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "unknown parameter type."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 5 31: StackMap locals: org.bouncycastle.crypto.CipherParameters
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.ivLength:I
ifeq 42
aload 5
instanceof org.bouncycastle.crypto.params.ParametersWithIV
ifne 42
32: aload 4
astore 6
start local 6 33: aload 6
ifnonnull 35
34: new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
astore 6
35: StackMap locals: java.security.SecureRandom
StackMap stack:
iload 1
iconst_1
if_icmpeq 36
iload 1
iconst_3
if_icmpne 41
36: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.ivLength:I
newarray 8
astore 7
start local 7 37: aload 6
aload 7
invokevirtual java.security.SecureRandom.nextBytes:([B)V
38: new org.bouncycastle.crypto.params.ParametersWithIV
dup
aload 5
aload 7
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
astore 5
39: aload 0
aload 5
checkcast org.bouncycastle.crypto.params.ParametersWithIV
putfield org.bouncycastle.jce.provider.JCEStreamCipher.ivParam:Lorg/bouncycastle/crypto/params/ParametersWithIV;
end local 7 40: goto 42
41: 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
end local 6 42: StackMap locals:
StackMap stack:
iload 1
tableswitch { // 1 - 4
1: 43
2: 45
3: 43
4: 45
default: 47
}
43: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
iconst_1
aload 5
invokeinterface org.bouncycastle.crypto.StreamCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
44: goto 48
45: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
iconst_0
aload 5
invokeinterface org.bouncycastle.crypto.StreamCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
46: goto 48
47: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "eeek!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
48: 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 49 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 49 1 opmode I
0 49 2 key Ljava/security/Key;
0 49 3 params Ljava/security/spec/AlgorithmParameterSpec;
0 49 4 random Ljava/security/SecureRandom;
13 15 5 param Lorg/bouncycastle/crypto/CipherParameters;
17 19 5 param Lorg/bouncycastle/crypto/CipherParameters;
20 23 5 param Lorg/bouncycastle/crypto/CipherParameters;
25 26 5 param Lorg/bouncycastle/crypto/CipherParameters;
28 30 5 param Lorg/bouncycastle/crypto/CipherParameters;
31 49 5 param Lorg/bouncycastle/crypto/CipherParameters;
7 22 6 k Lorg/bouncycastle/jce/provider/JCEPBEKey;
33 42 6 ivRandom Ljava/security/SecureRandom;
37 40 7 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.JCEStreamCipher.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.JCEStreamCipher.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
iload 1
aload 2
aload 5
aload 4
invokevirtual org.bouncycastle.jce.provider.JCEStreamCipher.engineInit:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
12: aload 0
aload 3
putfield org.bouncycastle.jce.provider.JCEStreamCipher.engineParams:Ljava/security/AlgorithmParameters;
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/JCEStreamCipher;
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.JCEStreamCipher.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.security.InvalidKeyException
dup
aload 4
invokevirtual java.security.InvalidAlgorithmParameterException.getMessage:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<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/JCEStreamCipher;
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=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
newarray 8
astore 4
start local 4 1: aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
aload 1
iload 2
iload 3
aload 4
iconst_0
invokeinterface org.bouncycastle.crypto.StreamCipher.processBytes:([BII[BI)V
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 3 1 input [B
0 3 2 inputOffset I
0 3 3 inputLen I
1 3 4 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=7, 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.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
aload 1
iload 2
iload 3
aload 4
iload 5
invokeinterface org.bouncycastle.crypto.StreamCipher.processBytes:([BII[BI)V
1: iload 3
2: ireturn
3: StackMap locals:
StackMap stack: org.bouncycastle.crypto.DataLengthException
astore 6
start local 6 4: new javax.crypto.ShortBufferException
dup
aload 6
invokevirtual org.bouncycastle.crypto.DataLengthException.getMessage:()Ljava/lang/String;
invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
athrow
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 5 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 5 1 input [B
0 5 2 inputOffset I
0 5 3 inputLen I
0 5 4 output [B
0 5 5 outputOffset I
4 5 6 e Lorg/bouncycastle/crypto/DataLengthException;
Exception table:
from to target type
0 2 3 Class org.bouncycastle.crypto.DataLengthException
Exceptions:
throws javax.crypto.ShortBufferException
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
protected byte[] engineDoFinal(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 4
1: aload 0
aload 1
iload 2
iload 3
invokevirtual org.bouncycastle.jce.provider.JCEStreamCipher.engineUpdate:([BII)[B
astore 4
start local 4 2: aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
invokeinterface org.bouncycastle.crypto.StreamCipher.reset:()V
3: aload 4
areturn
end local 4 4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
invokeinterface org.bouncycastle.crypto.StreamCipher.reset:()V
5: iconst_0
newarray 8
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 6 1 input [B
0 6 2 inputOffset I
0 6 3 inputLen I
2 4 4 out [B
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=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
ifeq 2
1: aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
aload 1
iload 2
iload 3
aload 4
iload 5
invokeinterface org.bouncycastle.crypto.StreamCipher.processBytes:([BII[BI)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEStreamCipher.cipher:Lorg/bouncycastle/crypto/StreamCipher;
invokeinterface org.bouncycastle.crypto.StreamCipher.reset:()V
3: iload 3
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 4 0 this Lorg/bouncycastle/jce/provider/JCEStreamCipher;
0 4 1 input [B
0 4 2 inputOffset I
0 4 3 inputLen I
0 4 4 output [B
0 4 5 outputOffset I
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
}
SourceFile: "JCEStreamCipher.java"
NestMembers:
org.bouncycastle.jce.provider.JCEStreamCipher$Blowfish_CFB8 org.bouncycastle.jce.provider.JCEStreamCipher$Blowfish_OFB8 org.bouncycastle.jce.provider.JCEStreamCipher$DES_CFB8 org.bouncycastle.jce.provider.JCEStreamCipher$DES_OFB8 org.bouncycastle.jce.provider.JCEStreamCipher$DESede_CFB8 org.bouncycastle.jce.provider.JCEStreamCipher$DESede_OFB8 org.bouncycastle.jce.provider.JCEStreamCipher$PBEWithSHAAnd128BitRC4 org.bouncycastle.jce.provider.JCEStreamCipher$PBEWithSHAAnd40BitRC4 org.bouncycastle.jce.provider.JCEStreamCipher$Skipjack_CFB8 org.bouncycastle.jce.provider.JCEStreamCipher$Skipjack_OFB8 org.bouncycastle.jce.provider.JCEStreamCipher$Twofish_CFB8 org.bouncycastle.jce.provider.JCEStreamCipher$Twofish_OFB8
InnerClasses:
public Blowfish_CFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$Blowfish_CFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public Blowfish_OFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$Blowfish_OFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public DES_CFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$DES_CFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public DES_OFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$DES_OFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public DESede_CFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$DESede_CFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public DESede_OFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$DESede_OFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public PBEWithSHAAnd128BitRC4 = org.bouncycastle.jce.provider.JCEStreamCipher$PBEWithSHAAnd128BitRC4 of org.bouncycastle.jce.provider.JCEStreamCipher
public PBEWithSHAAnd40BitRC4 = org.bouncycastle.jce.provider.JCEStreamCipher$PBEWithSHAAnd40BitRC4 of org.bouncycastle.jce.provider.JCEStreamCipher
public Skipjack_CFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$Skipjack_CFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public Skipjack_OFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$Skipjack_OFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public Twofish_CFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$Twofish_CFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public Twofish_OFB8 = org.bouncycastle.jce.provider.JCEStreamCipher$Twofish_OFB8 of org.bouncycastle.jce.provider.JCEStreamCipher
public Util = org.bouncycastle.jce.provider.PBE$Util of org.bouncycastle.jce.provider.PBE