class org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser implements org.bouncycastle.util.io.pem.PemObjectParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser
super_class: java.lang.Object
{
private java.lang.String provider;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
final org.bouncycastle.openssl.PEMReader this$0;
descriptor: Lorg/bouncycastle/openssl/PEMReader;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.bouncycastle.openssl.PEMReader, java.lang.String);
descriptor: (Lorg/bouncycastle/openssl/PEMReader;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 // org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser this
start local 2 // java.lang.String provider
0: .line 465
aload 0 /* this */
aload 1
putfield org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser.this$0:Lorg/bouncycastle/openssl/PEMReader;
1: .line 464
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
2: .line 466
aload 0 /* this */
aload 2 /* provider */
putfield org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser.provider:Ljava/lang/String;
3: .line 467
return
end local 2 // java.lang.String provider
end local 0 // org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/openssl/PEMReader$RSAPublicKeyParser;
0 4 2 provider Ljava/lang/String;
MethodParameters:
Name Flags
this$0 final
provider
public java.lang.Object parseObject(org.bouncycastle.util.io.pem.PemObject);
descriptor: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 // org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser this
start local 1 // org.bouncycastle.util.io.pem.PemObject obj
0: .line 474
new org.bouncycastle.asn1.ASN1InputStream
dup
aload 1 /* obj */
invokevirtual org.bouncycastle.util.io.pem.PemObject.getContent:()[B
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
astore 2 /* ais */
start local 2 // org.bouncycastle.asn1.ASN1InputStream ais
1: .line 475
aload 2 /* ais */
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
astore 3 /* asnObject */
start local 3 // java.lang.Object asnObject
2: .line 476
aload 3 /* asnObject */
checkcast org.bouncycastle.asn1.ASN1Sequence
astore 4 /* sequence */
start local 4 // org.bouncycastle.asn1.ASN1Sequence sequence
3: .line 477
new org.bouncycastle.asn1.x509.RSAPublicKeyStructure
dup
aload 4 /* sequence */
invokespecial org.bouncycastle.asn1.x509.RSAPublicKeyStructure.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 5 /* rsaPubStructure */
start local 5 // org.bouncycastle.asn1.x509.RSAPublicKeyStructure rsaPubStructure
4: .line 478
new java.security.spec.RSAPublicKeySpec
dup
5: .line 479
aload 5 /* rsaPubStructure */
invokevirtual org.bouncycastle.asn1.x509.RSAPublicKeyStructure.getModulus:()Ljava/math/BigInteger;
6: .line 480
aload 5 /* rsaPubStructure */
invokevirtual org.bouncycastle.asn1.x509.RSAPublicKeyStructure.getPublicExponent:()Ljava/math/BigInteger;
7: .line 478
invokespecial java.security.spec.RSAPublicKeySpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
astore 6 /* keySpec */
start local 6 // java.security.spec.RSAPublicKeySpec keySpec
8: .line 483
ldc "RSA"
aload 0 /* this */
getfield org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser.provider:Ljava/lang/String;
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyFactory;
astore 7 /* keyFact */
start local 7 // java.security.KeyFactory keyFact
9: .line 485
aload 7 /* keyFact */
aload 6 /* keySpec */
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
10: areturn
end local 7 // java.security.KeyFactory keyFact
end local 6 // java.security.spec.RSAPublicKeySpec keySpec
end local 5 // org.bouncycastle.asn1.x509.RSAPublicKeyStructure rsaPubStructure
end local 4 // org.bouncycastle.asn1.ASN1Sequence sequence
end local 3 // java.lang.Object asnObject
end local 2 // org.bouncycastle.asn1.ASN1InputStream ais
11: .line 487
StackMap locals:
StackMap stack: java.io.IOException
astore 2 /* e */
start local 2 // java.io.IOException e
12: .line 489
aload 2 /* e */
athrow
end local 2 // java.io.IOException e
13: .line 491
StackMap locals:
StackMap stack: java.security.NoSuchProviderException
pop
14: .line 493
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "can't find provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser.provider:Ljava/lang/String;
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
15: .line 495
StackMap locals:
StackMap stack: java.lang.Exception
astore 2 /* e */
start local 2 // java.lang.Exception e
16: .line 497
new org.bouncycastle.openssl.PEMException
dup
new java.lang.StringBuilder
dup
ldc "problem extracting key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* e */
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2 /* e */
invokespecial org.bouncycastle.openssl.PEMException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 // java.lang.Exception e
end local 1 // org.bouncycastle.util.io.pem.PemObject obj
end local 0 // org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bouncycastle/openssl/PEMReader$RSAPublicKeyParser;
0 17 1 obj Lorg/bouncycastle/util/io/pem/PemObject;
1 11 2 ais Lorg/bouncycastle/asn1/ASN1InputStream;
2 11 3 asnObject Ljava/lang/Object;
3 11 4 sequence Lorg/bouncycastle/asn1/ASN1Sequence;
4 11 5 rsaPubStructure Lorg/bouncycastle/asn1/x509/RSAPublicKeyStructure;
8 11 6 keySpec Ljava/security/spec/RSAPublicKeySpec;
9 11 7 keyFact Ljava/security/KeyFactory;
12 13 2 e Ljava/io/IOException;
16 17 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 10 11 Class java.io.IOException
0 10 13 Class java.security.NoSuchProviderException
0 10 15 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
}
SourceFile: "PEMReader.java"
NestHost: org.bouncycastle.openssl.PEMReader
InnerClasses:
private RSAPublicKeyParser = org.bouncycastle.openssl.PEMReader$RSAPublicKeyParser of org.bouncycastle.openssl.PEMReader