class org.bouncycastle.openssl.PEMParser$RSAKeyPairParser implements org.bouncycastle.openssl.PEMKeyPairParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.openssl.PEMParser$RSAKeyPairParser
super_class: java.lang.Object
{
final org.bouncycastle.openssl.PEMParser this$0;
descriptor: Lorg/bouncycastle/openssl/PEMParser;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.bouncycastle.openssl.PEMParser);
descriptor: (Lorg/bouncycastle/openssl/PEMParser;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.openssl.PEMParser$RSAKeyPairParser this
0: .line 263
aload 0 /* this */
aload 1
putfield org.bouncycastle.openssl.PEMParser$RSAKeyPairParser.this$0:Lorg/bouncycastle/openssl/PEMParser;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.bouncycastle.openssl.PEMParser$RSAKeyPairParser this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/openssl/PEMParser$RSAKeyPairParser;
MethodParameters:
Name Flags
this$0 final
public org.bouncycastle.openssl.PEMKeyPair parse(byte[]);
descriptor: ([B)Lorg/bouncycastle/openssl/PEMKeyPair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 // org.bouncycastle.openssl.PEMParser$RSAKeyPairParser this
start local 1 // byte[] encoding
0: .line 271
aload 1 /* encoding */
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
astore 2 /* seq */
start local 2 // org.bouncycastle.asn1.ASN1Sequence seq
1: .line 273
aload 2 /* seq */
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
bipush 9
if_icmpeq 3
2: .line 275
new org.bouncycastle.openssl.PEMException
dup
ldc "malformed sequence in RSA private key"
invokespecial org.bouncycastle.openssl.PEMException.<init>:(Ljava/lang/String;)V
athrow
3: .line 278
StackMap locals: org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
aload 2 /* seq */
invokestatic org.bouncycastle.asn1.pkcs.RSAPrivateKey.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
astore 3 /* keyStruct */
start local 3 // org.bouncycastle.asn1.pkcs.RSAPrivateKey keyStruct
4: .line 280
new org.bouncycastle.asn1.pkcs.RSAPublicKey
dup
5: .line 281
aload 3 /* keyStruct */
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getModulus:()Ljava/math/BigInteger;
aload 3 /* keyStruct */
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getPublicExponent:()Ljava/math/BigInteger;
6: .line 280
invokespecial org.bouncycastle.asn1.pkcs.RSAPublicKey.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
astore 4 /* pubSpec */
start local 4 // org.bouncycastle.asn1.pkcs.RSAPublicKey pubSpec
7: .line 283
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.rsaEncryption:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
getstatic org.bouncycastle.asn1.DERNull.INSTANCE:Lorg/bouncycastle/asn1/DERNull;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
astore 5 /* algId */
start local 5 // org.bouncycastle.asn1.x509.AlgorithmIdentifier algId
8: .line 285
new org.bouncycastle.openssl.PEMKeyPair
dup
new org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
dup
aload 5 /* algId */
aload 4 /* pubSpec */
invokespecial org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
new org.bouncycastle.asn1.pkcs.PrivateKeyInfo
dup
aload 5 /* algId */
aload 3 /* keyStruct */
invokespecial org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
invokespecial org.bouncycastle.openssl.PEMKeyPair.<init>:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)V
9: areturn
end local 5 // org.bouncycastle.asn1.x509.AlgorithmIdentifier algId
end local 4 // org.bouncycastle.asn1.pkcs.RSAPublicKey pubSpec
end local 3 // org.bouncycastle.asn1.pkcs.RSAPrivateKey keyStruct
end local 2 // org.bouncycastle.asn1.ASN1Sequence seq
10: .line 287
StackMap locals: org.bouncycastle.openssl.PEMParser$RSAKeyPairParser byte[]
StackMap stack: java.io.IOException
astore 2 /* e */
start local 2 // java.io.IOException e
11: .line 289
aload 2 /* e */
athrow
end local 2 // java.io.IOException e
12: .line 291
StackMap locals:
StackMap stack: java.lang.Exception
astore 2 /* e */
start local 2 // java.lang.Exception e
13: .line 293
new org.bouncycastle.openssl.PEMException
dup
14: .line 294
new java.lang.StringBuilder
dup
ldc "problem creating RSA private 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 */
15: .line 293
invokespecial org.bouncycastle.openssl.PEMException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 // java.lang.Exception e
end local 1 // byte[] encoding
end local 0 // org.bouncycastle.openssl.PEMParser$RSAKeyPairParser this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/openssl/PEMParser$RSAKeyPairParser;
0 16 1 encoding [B
1 10 2 seq Lorg/bouncycastle/asn1/ASN1Sequence;
4 10 3 keyStruct Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
7 10 4 pubSpec Lorg/bouncycastle/asn1/pkcs/RSAPublicKey;
8 10 5 algId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
11 12 2 e Ljava/io/IOException;
13 16 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 9 10 Class java.io.IOException
0 9 12 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoding
}
SourceFile: "PEMParser.java"
NestHost: org.bouncycastle.openssl.PEMParser
InnerClasses:
private RSAKeyPairParser = org.bouncycastle.openssl.PEMParser$RSAKeyPairParser of org.bouncycastle.openssl.PEMParser