public class org.bouncycastle.crypto.io.CipherInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.io.CipherInputStream
super_class: java.io.FilterInputStream
{
private static final int INPUT_BUF_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2048
private org.bouncycastle.crypto.SkippingCipher skippingCipher;
descriptor: Lorg/bouncycastle/crypto/SkippingCipher;
flags: (0x0002) ACC_PRIVATE
private byte[] inBuf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.BufferedBlockCipher bufferedBlockCipher;
descriptor: Lorg/bouncycastle/crypto/BufferedBlockCipher;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.StreamCipher streamCipher;
descriptor: Lorg/bouncycastle/crypto/StreamCipher;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.modes.AEADBlockCipher aeadBlockCipher;
descriptor: Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
flags: (0x0002) ACC_PRIVATE
private byte[] buf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] markBuf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int bufOff;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int maxBuf;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean finalized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long markPosition;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int markBufOff;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.InputStream, org.bouncycastle.crypto.BufferedBlockCipher);
descriptor: (Ljava/io/InputStream;Lorg/bouncycastle/crypto/BufferedBlockCipher;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
sipush 2048
invokespecial org.bouncycastle.crypto.io.CipherInputStream.<init>:(Ljava/io/InputStream;Lorg/bouncycastle/crypto/BufferedBlockCipher;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 2 1 is Ljava/io/InputStream;
0 2 2 cipher Lorg/bouncycastle/crypto/BufferedBlockCipher;
MethodParameters:
Name Flags
is
cipher
public void <init>(java.io.InputStream, org.bouncycastle.crypto.StreamCipher);
descriptor: (Ljava/io/InputStream;Lorg/bouncycastle/crypto/StreamCipher;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
sipush 2048
invokespecial org.bouncycastle.crypto.io.CipherInputStream.<init>:(Ljava/io/InputStream;Lorg/bouncycastle/crypto/StreamCipher;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 2 1 is Ljava/io/InputStream;
0 2 2 cipher Lorg/bouncycastle/crypto/StreamCipher;
MethodParameters:
Name Flags
is
cipher
public void <init>(java.io.InputStream, org.bouncycastle.crypto.modes.AEADBlockCipher);
descriptor: (Ljava/io/InputStream;Lorg/bouncycastle/crypto/modes/AEADBlockCipher;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
sipush 2048
invokespecial org.bouncycastle.crypto.io.CipherInputStream.<init>:(Ljava/io/InputStream;Lorg/bouncycastle/crypto/modes/AEADBlockCipher;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 2 1 is Ljava/io/InputStream;
0 2 2 cipher Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
MethodParameters:
Name Flags
is
cipher
public void <init>(java.io.InputStream, org.bouncycastle.crypto.BufferedBlockCipher, int);
descriptor: (Ljava/io/InputStream;Lorg/bouncycastle/crypto/BufferedBlockCipher;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
aload 2
putfield org.bouncycastle.crypto.io.CipherInputStream.bufferedBlockCipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
2: aload 0
iload 3
newarray 8
putfield org.bouncycastle.crypto.io.CipherInputStream.inBuf:[B
3: aload 0
aload 2
instanceof org.bouncycastle.crypto.SkippingCipher
ifeq 4
aload 2
checkcast org.bouncycastle.crypto.SkippingCipher
goto 5
StackMap locals: org.bouncycastle.crypto.io.CipherInputStream java.io.InputStream org.bouncycastle.crypto.BufferedBlockCipher int
StackMap stack: org.bouncycastle.crypto.io.CipherInputStream
4: aconst_null
StackMap locals: org.bouncycastle.crypto.io.CipherInputStream java.io.InputStream org.bouncycastle.crypto.BufferedBlockCipher int
StackMap stack: org.bouncycastle.crypto.io.CipherInputStream org.bouncycastle.crypto.SkippingCipher
5: putfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 7 1 is Ljava/io/InputStream;
0 7 2 cipher Lorg/bouncycastle/crypto/BufferedBlockCipher;
0 7 3 bufSize I
MethodParameters:
Name Flags
is
cipher
bufSize
public void <init>(java.io.InputStream, org.bouncycastle.crypto.StreamCipher, int);
descriptor: (Ljava/io/InputStream;Lorg/bouncycastle/crypto/StreamCipher;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
aload 2
putfield org.bouncycastle.crypto.io.CipherInputStream.streamCipher:Lorg/bouncycastle/crypto/StreamCipher;
2: aload 0
iload 3
newarray 8
putfield org.bouncycastle.crypto.io.CipherInputStream.inBuf:[B
3: aload 0
aload 2
instanceof org.bouncycastle.crypto.SkippingCipher
ifeq 4
aload 2
checkcast org.bouncycastle.crypto.SkippingCipher
goto 5
StackMap locals: org.bouncycastle.crypto.io.CipherInputStream java.io.InputStream org.bouncycastle.crypto.StreamCipher int
StackMap stack: org.bouncycastle.crypto.io.CipherInputStream
4: aconst_null
StackMap locals: org.bouncycastle.crypto.io.CipherInputStream java.io.InputStream org.bouncycastle.crypto.StreamCipher int
StackMap stack: org.bouncycastle.crypto.io.CipherInputStream org.bouncycastle.crypto.SkippingCipher
5: putfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 7 1 is Ljava/io/InputStream;
0 7 2 cipher Lorg/bouncycastle/crypto/StreamCipher;
0 7 3 bufSize I
MethodParameters:
Name Flags
is
cipher
bufSize
public void <init>(java.io.InputStream, org.bouncycastle.crypto.modes.AEADBlockCipher, int);
descriptor: (Ljava/io/InputStream;Lorg/bouncycastle/crypto/modes/AEADBlockCipher;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
aload 2
putfield org.bouncycastle.crypto.io.CipherInputStream.aeadBlockCipher:Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
2: aload 0
iload 3
newarray 8
putfield org.bouncycastle.crypto.io.CipherInputStream.inBuf:[B
3: aload 0
aload 2
instanceof org.bouncycastle.crypto.SkippingCipher
ifeq 4
aload 2
checkcast org.bouncycastle.crypto.SkippingCipher
goto 5
StackMap locals: org.bouncycastle.crypto.io.CipherInputStream java.io.InputStream org.bouncycastle.crypto.modes.AEADBlockCipher int
StackMap stack: org.bouncycastle.crypto.io.CipherInputStream
4: aconst_null
StackMap locals: org.bouncycastle.crypto.io.CipherInputStream java.io.InputStream org.bouncycastle.crypto.modes.AEADBlockCipher int
StackMap stack: org.bouncycastle.crypto.io.CipherInputStream org.bouncycastle.crypto.SkippingCipher
5: putfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 7 1 is Ljava/io/InputStream;
0 7 2 cipher Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
0 7 3 bufSize I
MethodParameters:
Name Flags
is
cipher
bufSize
private int nextChunk();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.finalized:Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
3: aload 0
iconst_0
putfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
4: goto 23
5: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.in:Ljava/io/InputStream;
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.inBuf:[B
invokevirtual java.io.InputStream.read:([B)I
istore 1
start local 1 6: iload 1
iconst_m1
if_icmpne 11
7: aload 0
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.finaliseCipher:()V
8: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
ifne 10
9: iconst_m1
ireturn
10: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
ireturn
11: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_0
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.ensureCapacity:(IZ)V
12: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufferedBlockCipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
ifnull 15
13: aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufferedBlockCipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.inBuf:[B
iconst_0
iload 1
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
iconst_0
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.processBytes:([BII[BI)I
putfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
14: goto 23
15: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.aeadBlockCipher:Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
ifnull 18
16: aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.aeadBlockCipher:Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.inBuf:[B
iconst_0
iload 1
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
iconst_0
invokeinterface org.bouncycastle.crypto.modes.AEADBlockCipher.processBytes:([BII[BI)I
putfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
17: goto 23
18: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.streamCipher:Lorg/bouncycastle/crypto/StreamCipher;
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.inBuf:[B
iconst_0
iload 1
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
iconst_0
invokeinterface org.bouncycastle.crypto.StreamCipher.processBytes:([BII[BI)I
pop
19: aload 0
iload 1
putfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
20: goto 23
21: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 22: new org.bouncycastle.crypto.io.CipherIOException
dup
ldc "Error processing stream "
aload 2
invokespecial org.bouncycastle.crypto.io.CipherIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 23: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
ifeq 5
24: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
6 23 1 read I
22 23 2 e Ljava/lang/Exception;
Exception table:
from to target type
11 20 21 Class java.lang.Exception
Exceptions:
throws java.io.IOException
private void finaliseCipher();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.bouncycastle.crypto.io.CipherInputStream.finalized:Z
1: aload 0
iconst_0
iconst_1
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.ensureCapacity:(IZ)V
2: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufferedBlockCipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
ifnull 5
3: aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufferedBlockCipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
iconst_0
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.doFinal:([BI)I
putfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
4: goto 14
5: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.aeadBlockCipher:Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
ifnull 8
6: aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.aeadBlockCipher:Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
iconst_0
invokeinterface org.bouncycastle.crypto.modes.AEADBlockCipher.doFinal:([BI)I
putfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
7: goto 14
8: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
9: goto 14
10: StackMap locals:
StackMap stack: org.bouncycastle.crypto.InvalidCipherTextException
astore 1
start local 1 11: new org.bouncycastle.crypto.io.InvalidCipherTextIOException
dup
ldc "Error finalising cipher"
aload 1
invokespecial org.bouncycastle.crypto.io.InvalidCipherTextIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 12: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 13: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Error finalising cipher "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
11 12 1 e Lorg/bouncycastle/crypto/InvalidCipherTextException;
13 14 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 9 10 Class org.bouncycastle.crypto.InvalidCipherTextException
0 9 12 Class java.lang.Exception
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
if_icmplt 3
1: aload 0
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.nextChunk:()I
ifge 3
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
aload 0
dup
getfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
if_icmplt 3
1: aload 0
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.nextChunk:()I
ifge 3
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.available:()I
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 4: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
dup
getfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
iload 4
iadd
putfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
6: iload 4
ireturn
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/crypto/io/CipherInputStream;
0 7 1 b [B
0 7 2 off I
0 7 3 len I
4 7 4 toSupply I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifgt 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
ifnull 13
3: aload 0
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.available:()I
istore 3
start local 3 4: lload 1
iload 3
i2l
lcmp
ifgt 7
5: aload 0
dup
getfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
i2l
lload 1
ladd
l2i
putfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
6: lload 1
lreturn
7: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
putfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
8: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.in:Ljava/io/InputStream;
lload 1
iload 3
i2l
lsub
invokevirtual java.io.InputStream.skip:(J)J
lstore 4
start local 4 9: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
lload 4
invokeinterface org.bouncycastle.crypto.SkippingCipher.skip:(J)J
lstore 6
start local 6 10: lload 4
lload 6
lcmp
ifeq 12
11: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to skip cipher "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 4
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: long long
StackMap stack:
lload 4
iload 3
i2l
ladd
lreturn
end local 6 end local 4 end local 3 13: StackMap locals:
StackMap stack:
lload 1
aload 0
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.available:()I
i2l
invokestatic java.lang.Math.min:(JJ)J
l2i
istore 3
start local 3 14: aload 0
dup
getfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
iload 3
iadd
putfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
15: iload 3
i2l
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 16 1 n J
4 13 3 avail I
9 13 4 skip J
10 13 6 cSkip J
14 16 3 skip I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
Exceptions:
throws java.io.IOException
private void ensureCapacity(int, boolean);
descriptor: (IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: iload 2
ifeq 8
2: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufferedBlockCipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
ifnull 5
3: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufferedBlockCipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
iload 1
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getOutputSize:(I)I
istore 3
4: goto 13
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.aeadBlockCipher:Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
ifnull 13
6: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.aeadBlockCipher:Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
iload 1
invokeinterface org.bouncycastle.crypto.modes.AEADBlockCipher.getOutputSize:(I)I
istore 3
7: goto 13
8: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufferedBlockCipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
ifnull 11
9: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufferedBlockCipher:Lorg/bouncycastle/crypto/BufferedBlockCipher;
iload 1
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getUpdateOutputSize:(I)I
istore 3
10: goto 13
11: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.aeadBlockCipher:Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
ifnull 13
12: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.aeadBlockCipher:Lorg/bouncycastle/crypto/modes/AEADBlockCipher;
iload 1
invokeinterface org.bouncycastle.crypto.modes.AEADBlockCipher.getUpdateOutputSize:(I)I
istore 3
13: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
ifnull 14
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
arraylength
iload 3
if_icmpge 15
14: StackMap locals:
StackMap stack:
aload 0
iload 3
newarray 8
putfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 16 1 updateSize I
0 16 2 finalOutput Z
1 16 3 bufLen I
MethodParameters:
Name Flags
updateSize
finalOutput
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: goto 6
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
3: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.finalized:Z
ifne 5
4: aload 0
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.finaliseCipher:()V
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.finalized:Z
ifne 8
7: aload 0
invokevirtual org.bouncycastle.crypto.io.CipherInputStream.finaliseCipher:()V
8: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_0
dup_x1
putfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
putfield org.bouncycastle.crypto.io.CipherInputStream.maxBuf:I
9: aload 0
iconst_0
putfield org.bouncycastle.crypto.io.CipherInputStream.markBufOff:I
10: aload 0
lconst_0
putfield org.bouncycastle.crypto.io.CipherInputStream.markPosition:J
11: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.markBuf:[B
ifnull 14
12: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.markBuf:[B
iconst_0
invokestatic org.bouncycastle.util.Arrays.fill:([BB)V
13: aload 0
aconst_null
putfield org.bouncycastle.crypto.io.CipherInputStream.markBuf:[B
14: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
ifnull 17
15: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
iconst_0
invokestatic org.bouncycastle.util.Arrays.fill:([BB)V
16: aload 0
aconst_null
putfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
17: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.inBuf:[B
iconst_0
invokestatic org.bouncycastle.util.Arrays.fill:([BB)V
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
Exception table:
from to target type
0 2 2 any
Exceptions:
throws java.io.IOException
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.in:Ljava/io/InputStream;
iload 1
invokevirtual java.io.InputStream.mark:(I)V
1: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
ifnull 3
2: aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
invokeinterface org.bouncycastle.crypto.SkippingCipher.getPosition:()J
putfield org.bouncycastle.crypto.io.CipherInputStream.markPosition:J
3: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
ifnull 6
4: aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
arraylength
newarray 8
putfield org.bouncycastle.crypto.io.CipherInputStream.markBuf:[B
5: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.markBuf:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
putfield org.bouncycastle.crypto.io.CipherInputStream.markBufOff:I
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
0 8 1 readlimit I
MethodParameters:
Name Flags
readlimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
ifnonnull 2
1: new java.io.IOException
dup
ldc "cipher must implement SkippingCipher to be used with reset()"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
3: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.markPosition:J
invokeinterface org.bouncycastle.crypto.SkippingCipher.seekTo:(J)J
pop2
4: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.markBuf:[B
ifnull 6
5: aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.markBuf:[B
putfield org.bouncycastle.crypto.io.CipherInputStream.buf:[B
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.markBufOff:I
putfield org.bouncycastle.crypto.io.CipherInputStream.bufOff:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.skippingCipher:Lorg/bouncycastle/crypto/SkippingCipher;
ifnull 2
1: aload 0
getfield org.bouncycastle.crypto.io.CipherInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/io/CipherInputStream;
}
SourceFile: "CipherInputStream.java"