class org.bouncycastle.openssl.PEMReader$PrivateKeyParser implements org.bouncycastle.util.io.pem.PemObjectParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.openssl.PEMReader$PrivateKeyParser
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$PrivateKeyParser this
start local 2 // java.lang.String provider
0: .line 782
aload 0 /* this */
aload 1
putfield org.bouncycastle.openssl.PEMReader$PrivateKeyParser.this$0:Lorg/bouncycastle/openssl/PEMReader;
1: .line 781
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
2: .line 783
aload 0 /* this */
aload 2 /* provider */
putfield org.bouncycastle.openssl.PEMReader$PrivateKeyParser.provider:Ljava/lang/String;
3: .line 784
return
end local 2 // java.lang.String provider
end local 0 // org.bouncycastle.openssl.PEMReader$PrivateKeyParser this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/openssl/PEMReader$PrivateKeyParser;
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=5, args_size=2
start local 0 // org.bouncycastle.openssl.PEMReader$PrivateKeyParser this
start local 1 // org.bouncycastle.util.io.pem.PemObject obj
0: .line 791
aload 1 /* obj */
invokevirtual org.bouncycastle.util.io.pem.PemObject.getContent:()[B
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
invokestatic org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
astore 2 /* info */
start local 2 // org.bouncycastle.asn1.pkcs.PrivateKeyInfo info
1: .line 792
new java.security.spec.PKCS8EncodedKeySpec
dup
aload 1 /* obj */
invokevirtual org.bouncycastle.util.io.pem.PemObject.getContent:()[B
invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
astore 3 /* keySpec */
start local 3 // java.security.spec.PKCS8EncodedKeySpec keySpec
2: .line 794
aload 2 /* info */
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getAlgorithmId:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
aload 0 /* this */
getfield org.bouncycastle.openssl.PEMReader$PrivateKeyParser.provider:Ljava/lang/String;
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyFactory;
astore 4 /* keyFact */
start local 4 // java.security.KeyFactory keyFact
3: .line 796
aload 4 /* keyFact */
aload 3 /* keySpec */
invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
4: areturn
end local 4 // java.security.KeyFactory keyFact
end local 3 // java.security.spec.PKCS8EncodedKeySpec keySpec
end local 2 // org.bouncycastle.asn1.pkcs.PrivateKeyInfo info
5: .line 798
StackMap locals:
StackMap stack: java.lang.Exception
astore 2 /* e */
start local 2 // java.lang.Exception e
6: .line 800
new org.bouncycastle.openssl.PEMException
dup
new java.lang.StringBuilder
dup
ldc "problem parsing 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 */
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$PrivateKeyParser this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/openssl/PEMReader$PrivateKeyParser;
0 7 1 obj Lorg/bouncycastle/util/io/pem/PemObject;
1 5 2 info Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
2 5 3 keySpec Ljava/security/spec/PKCS8EncodedKeySpec;
3 5 4 keyFact Ljava/security/KeyFactory;
6 7 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
}
SourceFile: "PEMReader.java"
NestHost: org.bouncycastle.openssl.PEMReader
InnerClasses:
private PrivateKeyParser = org.bouncycastle.openssl.PEMReader$PrivateKeyParser of org.bouncycastle.openssl.PEMReader