public class org.bouncycastle.jce.provider.PEMUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.PEMUtil
super_class: java.lang.Object
{
private final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.StringBuilder
dup
ldc "-----BEGIN "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-----"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.bouncycastle.jce.provider.PEMUtil._header1:Ljava/lang/String;
2: aload 0
new java.lang.StringBuilder
dup
ldc "-----BEGIN X509 "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-----"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.bouncycastle.jce.provider.PEMUtil._header2:Ljava/lang/String;
3: aload 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;
ldc "-----"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.bouncycastle.jce.provider.PEMUtil._footer1:Ljava/lang/String;
4: aload 0
new java.lang.StringBuilder
dup
ldc "-----END X509 "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-----"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.bouncycastle.jce.provider.PEMUtil._footer2:Ljava/lang/String;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/PEMUtil;
0 6 1 type Ljava/lang/String;
MethodParameters:
Name Flags
type
private java.lang.String readLine(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3
start local 3 1: goto 5
start local 2 2: StackMap locals: int java.lang.StringBuffer
StackMap stack:
iload 2
bipush 13
if_icmpne 4
3: goto 5
4: StackMap locals:
StackMap stack:
aload 3
iload 2
i2c
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 2 5: StackMap locals: org.bouncycastle.jce.provider.PEMUtil java.io.InputStream top java.lang.StringBuffer
StackMap stack:
aload 1
invokevirtual java.io.InputStream.read:()I
dup
istore 2
start local 2 6: bipush 13
if_icmpeq 7
iload 2
bipush 10
if_icmpeq 7
iload 2
ifge 2
7: StackMap locals: org.bouncycastle.jce.provider.PEMUtil java.io.InputStream int java.lang.StringBuffer
StackMap stack:
iload 2
iflt 8
aload 3
invokevirtual java.lang.StringBuffer.length:()I
ifeq 5
8: StackMap locals:
StackMap stack:
iload 2
ifge 10
9: aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/jce/provider/PEMUtil;
0 11 1 in Ljava/io/InputStream;
2 5 2 c I
6 11 2 c I
1 11 3 l Ljava/lang/StringBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
org.bouncycastle.asn1.ASN1Sequence readPEMObject(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lorg/bouncycastle/asn1/ASN1Sequence;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3
start local 3 1: goto 4
start local 2 2: StackMap locals: java.lang.String java.lang.StringBuffer
StackMap stack:
aload 2
aload 0
getfield org.bouncycastle.jce.provider.PEMUtil._header1:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 10
aload 2
aload 0
getfield org.bouncycastle.jce.provider.PEMUtil._header2:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: goto 10
end local 2 4: StackMap locals: org.bouncycastle.jce.provider.PEMUtil java.io.InputStream top java.lang.StringBuffer
StackMap stack:
aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.PEMUtil.readLine:(Ljava/io/InputStream;)Ljava/lang/String;
dup
astore 2
start local 2 5: ifnonnull 2
6: goto 10
7: StackMap locals: org.bouncycastle.jce.provider.PEMUtil java.io.InputStream java.lang.String java.lang.StringBuffer
StackMap stack:
aload 2
aload 0
getfield org.bouncycastle.jce.provider.PEMUtil._footer1:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 11
aload 2
aload 0
getfield org.bouncycastle.jce.provider.PEMUtil._footer2:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
8: goto 11
9: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.PEMUtil.readLine:(Ljava/io/InputStream;)Ljava/lang/String;
dup
astore 2
ifnonnull 7
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuffer.length:()I
ifeq 16
12: new org.bouncycastle.asn1.ASN1InputStream
dup
aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokestatic org.bouncycastle.util.encoders.Base64.decode:(Ljava/lang/String;)[B
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
astore 4
start local 4 13: aload 4
instanceof org.bouncycastle.asn1.ASN1Sequence
ifne 15
14: new java.io.IOException
dup
ldc "malformed PEM data encountered"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: org.bouncycastle.asn1.DERObject
StackMap stack:
aload 4
checkcast org.bouncycastle.asn1.ASN1Sequence
areturn
end local 4 16: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bouncycastle/jce/provider/PEMUtil;
0 17 1 in Ljava/io/InputStream;
2 4 2 line Ljava/lang/String;
5 17 2 line Ljava/lang/String;
1 17 3 pemBuf Ljava/lang/StringBuffer;
13 16 4 o Lorg/bouncycastle/asn1/DERObject;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
}
SourceFile: "PEMUtil.java"