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 void ensureCapacity(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
iload 1
invokevirtual javax.crypto.Cipher.getOutputSize:(I)I
istore 2
start local 2 1: aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
ifnull 2
aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
arraylength
iload 2
if_icmpge 3
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
newarray 8
putfield javax.crypto.CipherInputStream.obuffer:[B
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ostart:I
4: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ofinish:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/CipherInputStream;
0 6 1 inLen I
1 6 2 minLen I
MethodParameters:
Name Flags
inLen
private int getMoreData();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, 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 12
3: aload 0
iconst_1
putfield javax.crypto.CipherInputStream.done:Z
4: aload 0
iconst_0
invokevirtual javax.crypto.CipherInputStream.ensureCapacity:(I)V
5: aload 0
aload 0
getfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
iconst_0
invokevirtual javax.crypto.Cipher.doFinal:([BI)I
putfield javax.crypto.CipherInputStream.ofinish:I
6: goto 9
7: StackMap locals: javax.crypto.CipherInputStream int
StackMap stack: java.security.GeneralSecurityException
astore 2
start local 2 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.ofinish:I
ifne 11
10: iconst_m1
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.CipherInputStream.ofinish:I
ireturn
12: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual javax.crypto.CipherInputStream.ensureCapacity:(I)V
13: aload 0
aload 0
getfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
aload 0
getfield javax.crypto.CipherInputStream.ibuffer:[B
iconst_0
iload 1
aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
aload 0
getfield javax.crypto.CipherInputStream.ostart:I
invokevirtual javax.crypto.Cipher.update:([BII[BI)I
putfield javax.crypto.CipherInputStream.ofinish:I
14: goto 19
StackMap locals:
StackMap stack: java.lang.IllegalStateException
15: astore 2
start local 2 16: aload 2
athrow
end local 2 17: StackMap locals:
StackMap stack: javax.crypto.ShortBufferException
astore 2
start local 2 18: new java.io.IOException
dup
aload 2
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 19: 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 20 0 this Ljavax/crypto/CipherInputStream;
2 20 1 readin I
8 9 2 e Ljava/security/GeneralSecurityException;
16 17 2 e Ljava/lang/IllegalStateException;
18 19 2 e Ljavax/crypto/ShortBufferException;
Exception table:
from to target type
5 6 7 Class javax.crypto.IllegalBlockSizeException
5 6 7 Class javax.crypto.BadPaddingException
5 6 7 Class javax.crypto.ShortBufferException
13 14 15 Class java.lang.IllegalStateException
13 14 17 Class javax.crypto.ShortBufferException
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
aconst_null
putfield javax.crypto.CipherInputStream.obuffer:[B
4: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ostart:I
5: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ofinish:I
6: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.closed:Z
7: aload 0
aload 1
putfield javax.crypto.CipherInputStream.input:Ljava/io/InputStream;
8: aload 0
aload 2
putfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/crypto/CipherInputStream;
0 10 1 is Ljava/io/InputStream;
0 10 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
aconst_null
putfield javax.crypto.CipherInputStream.obuffer:[B
4: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ostart:I
5: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.ofinish:I
6: aload 0
iconst_0
putfield javax.crypto.CipherInputStream.closed:Z
7: aload 0
aload 1
putfield javax.crypto.CipherInputStream.input:Ljava/io/InputStream;
8: aload 0
new javax.crypto.NullCipher
dup
invokespecial javax.crypto.NullCipher.<init>:()V
putfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/crypto/CipherInputStream;
0 10 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=3, 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 9
5: aload 0
iconst_0
invokevirtual javax.crypto.CipherInputStream.ensureCapacity:(I)V
6: aload 0
getfield javax.crypto.CipherInputStream.cipher:Ljavax/crypto/Cipher;
aload 0
getfield javax.crypto.CipherInputStream.obuffer:[B
iconst_0
invokevirtual javax.crypto.Cipher.doFinal:([BI)I
pop
7: goto 9
8: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
pop
9: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.crypto.CipherInputStream.obuffer:[B
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/crypto/CipherInputStream;
Exception table:
from to target type
6 7 8 Class javax.crypto.BadPaddingException
6 7 8 Class javax.crypto.IllegalBlockSizeException
6 7 8 Class javax.crypto.ShortBufferException
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"