public class javax.crypto.CipherInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.crypto.CipherInputStream
super_class: java.io.FilterInputStream
{
private javax.crypto.Cipher cipher;
descriptor: Ljavax/crypto/Cipher;
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream input;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private byte[] ibuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private boolean done;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private byte[] obuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int ostart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ofinish;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int getMoreData();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.crypto.CipherInputStream.done:Z
ifeq 1
iconst_m1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.CipherInputStream.input:Ljava/io/InputStream;
aload 0
getfield javax.crypto.CipherInputStream.ibuffer:[B
invokevirtual java.io.InputStream.read:([B)I
istore 1
start local 1 2: iload 1
iconst_m1
if_icmpne 14
3: aload 0
iconst_1
putfield javax.crypto.CipherInputStream.done:Z
4: aload 0
aload 0
getfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
invokevirtual javax.crypto.Cipher.doFinal:()[B
putfield javax.crypto.CipherInputStream.obuffer:[B
5: goto 9
StackMap locals: javax.crypto.CipherInputStream int
StackMap stack: java.security.GeneralSecurityException
6: astore 2
start local 2 7: aload 0
aconst_null
putfield javax.crypto.CipherInputStream.obuffer:[B
8: new java.io.IOException
dup
aload 2
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
ifnonnull 11
10: iconst_m1
ireturn
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ostart:I
12: aload 0
aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
arraylength
putfield javax.crypto.CipherInputStream.ofinish:I
13: aload 0
getfield javax.crypto.CipherInputStream.ofinish:I
ireturn
14: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
aload 0
getfield javax.crypto.CipherInputStream.ibuffer:[B
iconst_0
iload 1
invokevirtual javax.crypto.Cipher.update:([BII)[B
putfield javax.crypto.CipherInputStream.obuffer:[B
15: goto 19
StackMap locals:
StackMap stack: java.lang.IllegalStateException
16: astore 2
start local 2 17: aload 0
aconst_null
putfield javax.crypto.CipherInputStream.obuffer:[B
18: aload 2
athrow
end local 2 19: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ostart:I
20: aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
ifnonnull 22
21: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ofinish:I
goto 23
22: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
arraylength
putfield javax.crypto.CipherInputStream.ofinish:I
23: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.CipherInputStream.ofinish:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/crypto/CipherInputStream;
2 24 1 readin I
7 9 2 e Ljava/security/GeneralSecurityException;
17 19 2 e Ljava/lang/IllegalStateException;
Exception table:
from to target type
4 5 6 Class javax.crypto.IllegalBlockSizeException
4 5 6 Class javax.crypto.BadPaddingException
14 15 16 Class java.lang.IllegalStateException
Exceptions:
throws java.io.IOException
public void <init>(java.io.InputStream, javax.crypto.Cipher);
descriptor: (Ljava/io/InputStream;Ljavax/crypto/Cipher;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
sipush 512
newarray 8
putfield javax.crypto.CipherInputStream.ibuffer:[B
2: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.done:Z
3: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ostart:I
4: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ofinish:I
5: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.closed:Z
6: aload 0
aload 1
putfield javax.crypto.CipherInputStream.input:Ljava/io/InputStream;
7: aload 0
aload 2
putfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/crypto/CipherInputStream;
0 9 1 is Ljava/io/InputStream;
0 9 2 c Ljavax/crypto/Cipher;
MethodParameters:
Name Flags
is
c
protected void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
sipush 512
newarray 8
putfield javax.crypto.CipherInputStream.ibuffer:[B
2: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.done:Z
3: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ostart:I
4: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ofinish:I
5: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.closed:Z
6: aload 0
aload 1
putfield javax.crypto.CipherInputStream.input:Ljava/io/InputStream;
7: aload 0
new javax.crypto.NullCipher
dup
invokespecial javax.crypto.NullCipher.<init>:()V
putfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/crypto/CipherInputStream;
0 9 1 is Ljava/io/InputStream;
MethodParameters:
Name Flags
is
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.crypto.CipherInputStream.ostart:I
aload 0
getfield javax.crypto.CipherInputStream.ofinish:I
if_icmplt 6
1: iconst_0
istore 1
start local 1 2: goto 4
StackMap locals: int
StackMap stack:
3: aload 0
invokevirtual javax.crypto.CipherInputStream.getMoreData:()I
istore 1
StackMap locals:
StackMap stack:
4: iload 1
ifeq 3
5: iload 1
iconst_m1
if_icmpne 6
iconst_m1
ireturn
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
aload 0
dup
getfield javax.crypto.CipherInputStream.ostart:I
dup_x1
iconst_1
iadd
putfield javax.crypto.CipherInputStream.ostart:I
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/crypto/CipherInputStream;
2 6 1 i I
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 javax.crypto.CipherInputStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/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 javax.crypto.CipherInputStream.ostart:I
aload 0
getfield javax.crypto.CipherInputStream.ofinish:I
if_icmplt 6
1: iconst_0
istore 4
start local 4 2: goto 4
StackMap locals: int
StackMap stack:
3: aload 0
invokevirtual javax.crypto.CipherInputStream.getMoreData:()I
istore 4
StackMap locals:
StackMap stack:
4: iload 4
ifeq 3
5: iload 4
iconst_m1
if_icmpne 6
iconst_m1
ireturn
end local 4 6: StackMap locals:
StackMap stack:
iload 3
ifgt 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.CipherInputStream.ofinish:I
aload 0
getfield javax.crypto.CipherInputStream.ostart:I
isub
istore 4
start local 4 9: iload 3
iload 4
if_icmpge 10
iload 3
istore 4
10: StackMap locals: int
StackMap stack:
aload 1
ifnull 12
11: aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
aload 0
getfield javax.crypto.CipherInputStream.ostart:I
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: StackMap locals:
StackMap stack:
aload 0
dup
getfield javax.crypto.CipherInputStream.ostart:I
iload 4
iadd
putfield javax.crypto.CipherInputStream.ostart:I
13: 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 14 0 this Ljavax/crypto/CipherInputStream;
0 14 1 b [B
0 14 2 off I
0 14 3 len I
2 6 4 i I
9 14 4 available 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=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.crypto.CipherInputStream.ofinish:I
aload 0
getfield javax.crypto.CipherInputStream.ostart:I
isub
istore 3
start local 3 1: lload 1
iload 3
i2l
lcmp
ifle 3
2: iload 3
i2l
lstore 1
3: StackMap locals: int
StackMap stack:
lload 1
lconst_0
lcmp
ifge 5
4: lconst_0
lreturn
5: StackMap locals:
StackMap stack:
aload 0
dup
getfield javax.crypto.CipherInputStream.ostart:I
i2l
lload 1
ladd
l2i
putfield javax.crypto.CipherInputStream.ostart:I
6: lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/crypto/CipherInputStream;
0 7 1 n J
1 7 3 available 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 javax.crypto.CipherInputStream.ofinish:I
aload 0
getfield javax.crypto.CipherInputStream.ostart:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherInputStream;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.CipherInputStream.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.crypto.CipherInputStream.closed:Z
3: aload 0
getfield javax.crypto.CipherInputStream.input:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
4: aload 0
getfield javax.crypto.CipherInputStream.done:Z
ifne 8
5: aload 0
getfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
invokevirtual javax.crypto.Cipher.doFinal:()[B
pop
6: goto 8
7: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
pop
8: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ostart:I
9: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ofinish:I
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/crypto/CipherInputStream;
Exception table:
from to target type
5 6 7 Class javax.crypto.BadPaddingException
5 6 7 Class javax.crypto.IllegalBlockSizeException
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: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherInputStream;
}
SourceFile: "CipherInputStream.java"