public class org.bouncycastle.util.io.pem.PemReader extends java.io.BufferedReader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.util.io.pem.PemReader
super_class: java.io.BufferedReader
{
private static final java.lang.String BEGIN;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "-----BEGIN "
private static final java.lang.String END;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "-----END "
public void <init>(java.io.Reader);
descriptor: (Ljava/io/Reader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/util/io/pem/PemReader;
0 2 1 reader Ljava/io/Reader;
MethodParameters:
Name Flags
reader
public org.bouncycastle.util.io.pem.PemObject readPemObject();
descriptor: ()Lorg/bouncycastle/util/io/pem/PemObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.util.io.pem.PemReader.readLine:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 7
aload 1
ldc "-----BEGIN "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
2: aload 1
ldc "-----BEGIN "
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
3: aload 1
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 4: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 5: iload 2
ifle 7
6: aload 0
aload 3
invokevirtual org.bouncycastle.util.io.pem.PemReader.loadObject:(Ljava/lang/String;)Lorg/bouncycastle/util/io/pem/PemObject;
areturn
end local 3 end local 2 7: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/util/io/pem/PemReader;
1 8 1 line Ljava/lang/String;
4 7 2 index I
5 7 3 type Ljava/lang/String;
Exceptions:
throws java.io.IOException
private org.bouncycastle.util.io.pem.PemObject loadObject(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/util/io/pem/PemObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "-----END "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 1: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 4
start local 4 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 3: goto 13
start local 2 4: StackMap locals: org.bouncycastle.util.io.pem.PemReader java.lang.String java.lang.String java.lang.String java.lang.StringBuffer java.util.List
StackMap stack:
aload 2
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 10
5: aload 2
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 6: aload 2
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 7: aload 2
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 8
start local 8 8: aload 5
new org.bouncycastle.util.io.pem.PemHeader
dup
aload 7
aload 8
invokespecial org.bouncycastle.util.io.pem.PemHeader.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: goto 13
end local 8 end local 7 end local 6 10: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 12
11: goto 15
12: StackMap locals:
StackMap stack:
aload 4
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 2 13: StackMap locals: org.bouncycastle.util.io.pem.PemReader java.lang.String top java.lang.String java.lang.StringBuffer java.util.List
StackMap stack:
aload 0
invokevirtual org.bouncycastle.util.io.pem.PemReader.readLine:()Ljava/lang/String;
dup
astore 2
start local 2 14: ifnonnull 4
15: StackMap locals: org.bouncycastle.util.io.pem.PemReader java.lang.String java.lang.String java.lang.String java.lang.StringBuffer java.util.List
StackMap stack:
aload 2
ifnonnull 17
16: new java.io.IOException
dup
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not found"
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
17: StackMap locals:
StackMap stack:
new org.bouncycastle.util.io.pem.PemObject
dup
aload 1
aload 5
aload 4
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokestatic org.bouncycastle.util.encoders.Base64.decode:(Ljava/lang/String;)[B
invokespecial org.bouncycastle.util.io.pem.PemObject.<init>:(Ljava/lang/String;Ljava/util/List;[B)V
areturn
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 18 0 this Lorg/bouncycastle/util/io/pem/PemReader;
0 18 1 type Ljava/lang/String;
4 13 2 line Ljava/lang/String;
14 18 2 line Ljava/lang/String;
1 18 3 endMarker Ljava/lang/String;
2 18 4 buf Ljava/lang/StringBuffer;
3 18 5 headers Ljava/util/List;
6 10 6 index I
7 10 7 hdr Ljava/lang/String;
8 10 8 value Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
type
}
SourceFile: "PemReader.java"