public class org.bouncycastle.crypto.engines.DESedeWrapEngine implements org.bouncycastle.crypto.Wrapper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.engines.DESedeWrapEngine
super_class: java.lang.Object
{
private org.bouncycastle.crypto.modes.CBCBlockCipher engine;
descriptor: Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.params.KeyParameter param;
descriptor: Lorg/bouncycastle/crypto/params/KeyParameter;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.params.ParametersWithIV paramPlusIV;
descriptor: Lorg/bouncycastle/crypto/params/ParametersWithIV;
flags: (0x0002) ACC_PRIVATE
private byte[] iv;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private boolean forWrapping;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final byte[] IV2;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
org.bouncycastle.crypto.Digest sha1;
descriptor: Lorg/bouncycastle/crypto/Digest;
flags: (0x0000)
byte[] digest;
descriptor: [B
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 8
newarray 8
dup
iconst_0
bipush 74
bastore
dup
iconst_1
bipush -35
bastore
dup
iconst_2
bipush -94
bastore
dup
iconst_3
1: bipush 44
bastore
dup
iconst_4
bipush 121
bastore
dup
iconst_5
bipush -24
bastore
dup
bipush 6
2: bipush 33
bastore
dup
bipush 7
iconst_5
bastore
3: putstatic org.bouncycastle.crypto.engines.DESedeWrapEngine.IV2:[B
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.crypto.digests.SHA1Digest
dup
invokespecial org.bouncycastle.crypto.digests.SHA1Digest.<init>:()V
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.sha1:Lorg/bouncycastle/crypto/Digest;
2: aload 0
bipush 20
newarray 8
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.digest:[B
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/engines/DESedeWrapEngine;
public void init(boolean, org.bouncycastle.crypto.CipherParameters);
descriptor: (ZLorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.forWrapping:Z
1: aload 0
new org.bouncycastle.crypto.modes.CBCBlockCipher
dup
new org.bouncycastle.crypto.engines.DESedeEngine
dup
invokespecial org.bouncycastle.crypto.engines.DESedeEngine.<init>:()V
invokespecial org.bouncycastle.crypto.modes.CBCBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
2: aload 2
instanceof org.bouncycastle.crypto.params.ParametersWithRandom
ifeq 7
3: aload 2
checkcast org.bouncycastle.crypto.params.ParametersWithRandom
astore 4
start local 4 4: aload 4
invokevirtual org.bouncycastle.crypto.params.ParametersWithRandom.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
astore 2
5: aload 4
invokevirtual org.bouncycastle.crypto.params.ParametersWithRandom.getRandom:()Ljava/security/SecureRandom;
astore 3
end local 4 start local 3 6: goto 8
end local 3 7: StackMap locals:
StackMap stack:
new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
astore 3
start local 3 8: StackMap locals: java.security.SecureRandom
StackMap stack:
aload 2
instanceof org.bouncycastle.crypto.params.KeyParameter
ifeq 15
9: aload 0
aload 2
checkcast org.bouncycastle.crypto.params.KeyParameter
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.param:Lorg/bouncycastle/crypto/params/KeyParameter;
10: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.forWrapping:Z
ifeq 25
11: aload 0
bipush 8
newarray 8
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
12: aload 3
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
invokevirtual java.security.SecureRandom.nextBytes:([B)V
13: aload 0
new org.bouncycastle.crypto.params.ParametersWithIV
dup
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.param:Lorg/bouncycastle/crypto/params/KeyParameter;
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.paramPlusIV:Lorg/bouncycastle/crypto/params/ParametersWithIV;
14: goto 25
15: StackMap locals:
StackMap stack:
aload 2
instanceof org.bouncycastle.crypto.params.ParametersWithIV
ifeq 25
16: aload 0
aload 2
checkcast org.bouncycastle.crypto.params.ParametersWithIV
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.paramPlusIV:Lorg/bouncycastle/crypto/params/ParametersWithIV;
17: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.paramPlusIV:Lorg/bouncycastle/crypto/params/ParametersWithIV;
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getIV:()[B
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
18: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.paramPlusIV:Lorg/bouncycastle/crypto/params/ParametersWithIV;
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
checkcast org.bouncycastle.crypto.params.KeyParameter
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.param:Lorg/bouncycastle/crypto/params/KeyParameter;
19: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.forWrapping:Z
ifeq 22
20: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
ifnull 21
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
arraylength
bipush 8
if_icmpeq 25
21: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "IV is not 8 octets"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
23: ldc "You should not supply an IV for unwrapping"
24: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/bouncycastle/crypto/engines/DESedeWrapEngine;
0 26 1 forWrapping Z
0 26 2 param Lorg/bouncycastle/crypto/CipherParameters;
6 7 3 sr Ljava/security/SecureRandom;
8 26 3 sr Ljava/security/SecureRandom;
4 6 4 pr Lorg/bouncycastle/crypto/params/ParametersWithRandom;
MethodParameters:
Name Flags
forWrapping
param
public java.lang.String getAlgorithmName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "DESede"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/engines/DESedeWrapEngine;
public byte[] wrap(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.forWrapping:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Not initialized for wrapping"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 3
newarray 8
astore 4
start local 4 3: aload 1
iload 2
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
aload 4
invokevirtual org.bouncycastle.crypto.engines.DESedeWrapEngine.calculateCMSKeyChecksum:([B)[B
astore 5
start local 5 5: aload 4
arraylength
aload 5
arraylength
iadd
newarray 8
astore 6
start local 6 6: aload 4
iconst_0
aload 6
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 5
iconst_0
aload 6
aload 4
arraylength
aload 5
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.getBlockSize:()I
istore 7
start local 7 9: aload 6
arraylength
iload 7
irem
ifeq 11
10: new java.lang.IllegalStateException
dup
ldc "Not multiple of block length"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.bouncycastle.crypto.engines.DESedeWrapEngine byte[] int int byte[] byte[] byte[] int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
iconst_1
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.paramPlusIV:Lorg/bouncycastle/crypto/params/ParametersWithIV;
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
12: aload 6
arraylength
newarray 8
astore 8
start local 8 13: iconst_0
istore 9
start local 9 14: goto 17
15: StackMap locals: byte[] int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
aload 6
iload 9
aload 8
iload 9
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.processBlock:([BI[BI)I
pop
16: iload 9
iload 7
iadd
istore 9
StackMap locals:
StackMap stack:
17: iload 9
aload 6
arraylength
if_icmpne 15
end local 9 18: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
arraylength
aload 8
arraylength
iadd
newarray 8
astore 9
start local 9 19: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
iconst_0
aload 9
iconst_0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: aload 8
iconst_0
aload 9
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
arraylength
aload 8
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
21: aload 9
invokestatic org.bouncycastle.crypto.engines.DESedeWrapEngine.reverse:([B)[B
astore 10
start local 10 22: new org.bouncycastle.crypto.params.ParametersWithIV
dup
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.param:Lorg/bouncycastle/crypto/params/KeyParameter;
getstatic org.bouncycastle.crypto.engines.DESedeWrapEngine.IV2:[B
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
astore 11
start local 11 23: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
iconst_1
aload 11
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
24: iconst_0
istore 12
start local 12 25: goto 28
26: StackMap locals: org.bouncycastle.crypto.engines.DESedeWrapEngine byte[] int int byte[] byte[] byte[] int byte[] byte[] byte[] org.bouncycastle.crypto.params.ParametersWithIV int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
aload 10
iload 12
aload 10
iload 12
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.processBlock:([BI[BI)I
pop
27: iload 12
iload 7
iadd
istore 12
StackMap locals:
StackMap stack:
28: iload 12
aload 10
arraylength
if_icmpne 26
end local 12 29: aload 10
areturn
end local 11 end local 10 end local 9 end local 8 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 30 0 this Lorg/bouncycastle/crypto/engines/DESedeWrapEngine;
0 30 1 in [B
0 30 2 inOff I
0 30 3 inLen I
3 30 4 keyToBeWrapped [B
5 30 5 CKS [B
6 30 6 WKCKS [B
9 30 7 blockSize I
13 30 8 TEMP1 [B
14 18 9 currentBytePos I
19 30 9 TEMP2 [B
22 30 10 TEMP3 [B
23 30 11 param2 Lorg/bouncycastle/crypto/params/ParametersWithIV;
25 29 12 currentBytePos I
MethodParameters:
Name Flags
in
inOff
inLen
public byte[] unwrap(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.forWrapping:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Not set for unwrapping"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new org.bouncycastle.crypto.InvalidCipherTextException
dup
ldc "Null pointer as ciphertext"
invokespecial org.bouncycastle.crypto.InvalidCipherTextException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.getBlockSize:()I
istore 4
start local 4 5: iload 3
iload 4
irem
ifeq 7
6: new org.bouncycastle.crypto.InvalidCipherTextException
dup
new java.lang.StringBuilder
dup
ldc "Ciphertext not multiple of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.bouncycastle.crypto.InvalidCipherTextException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int
StackMap stack:
new org.bouncycastle.crypto.params.ParametersWithIV
dup
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.param:Lorg/bouncycastle/crypto/params/KeyParameter;
getstatic org.bouncycastle.crypto.engines.DESedeWrapEngine.IV2:[B
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
astore 5
start local 5 8: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
iconst_0
aload 5
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
9: iload 3
newarray 8
astore 6
start local 6 10: iconst_0
istore 7
start local 7 11: goto 14
12: StackMap locals: org.bouncycastle.crypto.params.ParametersWithIV byte[] int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
aload 1
iload 2
iload 7
iadd
aload 6
iload 7
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.processBlock:([BI[BI)I
pop
13: iload 7
iload 4
iadd
istore 7
StackMap locals:
StackMap stack:
14: iload 7
iload 3
if_icmpne 12
end local 7 15: aload 6
invokestatic org.bouncycastle.crypto.engines.DESedeWrapEngine.reverse:([B)[B
astore 7
start local 7 16: aload 0
bipush 8
newarray 8
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
17: aload 7
arraylength
bipush 8
isub
newarray 8
astore 8
start local 8 18: aload 7
iconst_0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
iconst_0
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: aload 7
bipush 8
aload 8
iconst_0
aload 7
arraylength
bipush 8
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: aload 0
new org.bouncycastle.crypto.params.ParametersWithIV
dup
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.param:Lorg/bouncycastle/crypto/params/KeyParameter;
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.iv:[B
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
putfield org.bouncycastle.crypto.engines.DESedeWrapEngine.paramPlusIV:Lorg/bouncycastle/crypto/params/ParametersWithIV;
21: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
iconst_0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.paramPlusIV:Lorg/bouncycastle/crypto/params/ParametersWithIV;
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
22: aload 8
arraylength
newarray 8
astore 9
start local 9 23: iconst_0
istore 10
start local 10 24: goto 27
25: StackMap locals: org.bouncycastle.crypto.engines.DESedeWrapEngine byte[] int int int org.bouncycastle.crypto.params.ParametersWithIV byte[] byte[] byte[] byte[] int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.engine:Lorg/bouncycastle/crypto/modes/CBCBlockCipher;
aload 8
iload 10
aload 9
iload 10
invokevirtual org.bouncycastle.crypto.modes.CBCBlockCipher.processBlock:([BI[BI)I
pop
26: iload 10
iload 4
iadd
istore 10
StackMap locals:
StackMap stack:
27: iload 10
aload 9
arraylength
if_icmpne 25
end local 10 28: aload 9
arraylength
bipush 8
isub
newarray 8
astore 10
start local 10 29: bipush 8
newarray 8
astore 11
start local 11 30: aload 9
iconst_0
aload 10
iconst_0
aload 9
arraylength
bipush 8
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
31: aload 9
aload 9
arraylength
bipush 8
isub
aload 11
iconst_0
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
32: aload 0
aload 10
aload 11
invokevirtual org.bouncycastle.crypto.engines.DESedeWrapEngine.checkCMSKeyChecksum:([B[B)Z
ifne 36
33: new org.bouncycastle.crypto.InvalidCipherTextException
dup
34: ldc "Checksum inside ciphertext is corrupted"
35: invokespecial org.bouncycastle.crypto.InvalidCipherTextException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals: org.bouncycastle.crypto.engines.DESedeWrapEngine byte[] int int int org.bouncycastle.crypto.params.ParametersWithIV byte[] byte[] byte[] byte[] byte[] byte[]
StackMap stack:
aload 10
areturn
end local 11 end local 10 end local 9 end local 8 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 37 0 this Lorg/bouncycastle/crypto/engines/DESedeWrapEngine;
0 37 1 in [B
0 37 2 inOff I
0 37 3 inLen I
5 37 4 blockSize I
8 37 5 param2 Lorg/bouncycastle/crypto/params/ParametersWithIV;
10 37 6 TEMP3 [B
11 15 7 currentBytePos I
16 37 7 TEMP2 [B
18 37 8 TEMP1 [B
23 37 9 WKCKS [B
24 28 10 currentBytePos I
29 37 10 result [B
30 37 11 CKStoBeVerified [B
Exceptions:
throws org.bouncycastle.crypto.InvalidCipherTextException
MethodParameters:
Name Flags
in
inOff
inLen
private byte[] calculateCMSKeyChecksum(byte[]);
descriptor: ([B)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: bipush 8
newarray 8
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.sha1:Lorg/bouncycastle/crypto/Digest;
aload 1
iconst_0
aload 1
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
2: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.sha1:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.digest:[B
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
3: aload 0
getfield org.bouncycastle.crypto.engines.DESedeWrapEngine.digest:[B
iconst_0
aload 2
iconst_0
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/engines/DESedeWrapEngine;
0 5 1 key [B
1 5 2 result [B
MethodParameters:
Name Flags
key
private boolean checkCMSKeyChecksum(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.bouncycastle.crypto.engines.DESedeWrapEngine.calculateCMSKeyChecksum:([B)[B
aload 2
invokestatic org.bouncycastle.util.Arrays.constantTimeAreEqual:([B[B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/engines/DESedeWrapEngine;
0 1 1 key [B
0 1 2 checksum [B
MethodParameters:
Name Flags
key
checksum
private static byte[] reverse(byte[]);
descriptor: ([B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
arraylength
newarray 8
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 2
aload 0
aload 0
arraylength
iload 2
iconst_1
iadd
isub
baload
bastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 bs [B
1 7 1 result [B
2 6 2 i I
MethodParameters:
Name Flags
bs
}
SourceFile: "DESedeWrapEngine.java"