class org.bouncycastle.est.CTEBase64InputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.est.CTEBase64InputStream
super_class: java.io.InputStream
{
protected final java.io.InputStream src;
descriptor: Ljava/io/InputStream;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final byte[] rawBuf;
descriptor: [B
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final byte[] data;
descriptor: [B
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.io.OutputStream dataOutputStream;
descriptor: Ljava/io/OutputStream;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.Long max;
descriptor: Ljava/lang/Long;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected int rp;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int wp;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean end;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected long read;
descriptor: J
flags: (0x0004) ACC_PROTECTED
public void <init>(java.io.InputStream, java.lang.Long);
descriptor: (Ljava/io/InputStream;Ljava/lang/Long;)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
invokespecial java.io.InputStream.<init>:()V
1: aload 0
sipush 1024
newarray 8
putfield org.bouncycastle.est.CTEBase64InputStream.rawBuf:[B
2: aload 0
sipush 768
newarray 8
putfield org.bouncycastle.est.CTEBase64InputStream.data:[B
3: aload 0
aload 1
putfield org.bouncycastle.est.CTEBase64InputStream.src:Ljava/io/InputStream;
4: aload 0
new org.bouncycastle.est.CTEBase64InputStream$1
dup
aload 0
invokespecial org.bouncycastle.est.CTEBase64InputStream$1.<init>:(Lorg/bouncycastle/est/CTEBase64InputStream;)V
putfield org.bouncycastle.est.CTEBase64InputStream.dataOutputStream:Ljava/io/OutputStream;
5: aload 0
aload 2
putfield org.bouncycastle.est.CTEBase64InputStream.max:Ljava/lang/Long;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/est/CTEBase64InputStream;
0 7 1 src Ljava/io/InputStream;
0 7 2 limit Ljava/lang/Long;
MethodParameters:
Name Flags
src
limit
protected int pullFromSrc();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.read:J
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.max:Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
lcmp
iflt 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 3: iconst_0
istore 2
start local 2 4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.src:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
5: iload 1
bipush 33
if_icmpge 6
iload 1
bipush 13
if_icmpeq 6
iload 1
bipush 10
if_icmpne 11
6: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.rawBuf:[B
arraylength
if_icmplt 8
7: new java.io.IOException
dup
ldc "Content Transfer Encoding, base64 line length > 1024"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.rawBuf:[B
iload 2
iinc 2 1
iload 1
i2b
bastore
9: aload 0
dup
getfield org.bouncycastle.est.CTEBase64InputStream.read:J
lconst_1
ladd
putfield org.bouncycastle.est.CTEBase64InputStream.read:J
10: goto 13
11: StackMap locals:
StackMap stack:
iload 1
iflt 13
12: aload 0
dup
getfield org.bouncycastle.est.CTEBase64InputStream.read:J
lconst_1
ladd
putfield org.bouncycastle.est.CTEBase64InputStream.read:J
13: StackMap locals:
StackMap stack:
iload 1
iconst_m1
if_icmple 15
iload 2
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.rawBuf:[B
arraylength
if_icmpge 15
iload 1
bipush 10
if_icmpeq 15
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.read:J
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.max:Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
14: lcmp
iflt 4
15: StackMap locals:
StackMap stack:
iload 2
ifle 20
16: aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.rawBuf:[B
iconst_0
iload 2
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.dataOutputStream:Ljava/io/OutputStream;
invokestatic org.bouncycastle.util.encoders.Base64.decode:([BIILjava/io/OutputStream;)I
pop
17: goto 22
18: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 19: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Decode Base64 Content-Transfer-Encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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 3 20: StackMap locals:
StackMap stack:
iload 1
iconst_m1
if_icmpne 22
21: iconst_m1
ireturn
22: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.wp:I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/bouncycastle/est/CTEBase64InputStream;
3 23 1 j I
4 23 2 c I
19 20 3 ex Ljava/lang/Exception;
Exception table:
from to target type
16 17 18 Class java.lang.Exception
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.rp:I
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.wp:I
if_icmpne 6
1: aload 0
iconst_0
putfield org.bouncycastle.est.CTEBase64InputStream.rp:I
2: aload 0
iconst_0
putfield org.bouncycastle.est.CTEBase64InputStream.wp:I
3: aload 0
invokevirtual org.bouncycastle.est.CTEBase64InputStream.pullFromSrc:()I
istore 1
start local 1 4: iload 1
iconst_m1
if_icmpne 6
5: iload 1
ireturn
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.data:[B
aload 0
dup
getfield org.bouncycastle.est.CTEBase64InputStream.rp:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.est.CTEBase64InputStream.rp:I
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/est/CTEBase64InputStream;
4 6 1 i I
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.est.CTEBase64InputStream.src:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/est/CTEBase64InputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "CTEBase64InputStream.java"
NestMembers:
org.bouncycastle.est.CTEBase64InputStream$1
InnerClasses:
org.bouncycastle.est.CTEBase64InputStream$1