class org.bouncycastle.openssl.PEMParser$ECDSAKeyPairParser implements org.bouncycastle.openssl.PEMKeyPairParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.openssl.PEMParser$ECDSAKeyPairParser
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$ECDSAKeyPairParser this
0: .line 226
aload 0 /* this */
aload 1
putfield org.bouncycastle.openssl.PEMParser$ECDSAKeyPairParser.this$0:Lorg/bouncycastle/openssl/PEMParser;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.bouncycastle.openssl.PEMParser$ECDSAKeyPairParser this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/openssl/PEMParser$ECDSAKeyPairParser;
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=5, locals=7, args_size=2
start local 0 // org.bouncycastle.openssl.PEMParser$ECDSAKeyPairParser this
start local 1 // byte[] encoding
0: .line 234
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 236
aload 2 /* seq */
invokestatic org.bouncycastle.asn1.sec.ECPrivateKey.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/sec/ECPrivateKey;
astore 3 /* pKey */
start local 3 // org.bouncycastle.asn1.sec.ECPrivateKey pKey
2: .line 237
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.id_ecPublicKey:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 3 /* pKey */
invokevirtual org.bouncycastle.asn1.sec.ECPrivateKey.getParameters:()Lorg/bouncycastle/asn1/ASN1Primitive;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
astore 4 /* algId */
start local 4 // org.bouncycastle.asn1.x509.AlgorithmIdentifier algId
3: .line 238
new org.bouncycastle.asn1.pkcs.PrivateKeyInfo
dup
aload 4 /* algId */
aload 3 /* pKey */
invokespecial org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
astore 5 /* privInfo */
start local 5 // org.bouncycastle.asn1.pkcs.PrivateKeyInfo privInfo
4: .line 240
aload 3 /* pKey */
invokevirtual org.bouncycastle.asn1.sec.ECPrivateKey.getPublicKey:()Lorg/bouncycastle/asn1/DERBitString;
ifnull 8
5: .line 242
new org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
dup
aload 4 /* algId */
aload 3 /* pKey */
invokevirtual org.bouncycastle.asn1.sec.ECPrivateKey.getPublicKey:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
invokespecial org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)V
astore 6 /* pubInfo */
start local 6 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo pubInfo
6: .line 244
new org.bouncycastle.openssl.PEMKeyPair
dup
aload 6 /* pubInfo */
aload 5 /* privInfo */
invokespecial org.bouncycastle.openssl.PEMKeyPair.<init>:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)V
7: areturn
end local 6 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo pubInfo
8: .line 248
StackMap locals: org.bouncycastle.openssl.PEMParser$ECDSAKeyPairParser byte[] org.bouncycastle.asn1.ASN1Sequence org.bouncycastle.asn1.sec.ECPrivateKey org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.pkcs.PrivateKeyInfo
StackMap stack:
new org.bouncycastle.openssl.PEMKeyPair
dup
aconst_null
aload 5 /* privInfo */
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.pkcs.PrivateKeyInfo privInfo
end local 4 // org.bouncycastle.asn1.x509.AlgorithmIdentifier algId
end local 3 // org.bouncycastle.asn1.sec.ECPrivateKey pKey
end local 2 // org.bouncycastle.asn1.ASN1Sequence seq
10: .line 251
StackMap locals: org.bouncycastle.openssl.PEMParser$ECDSAKeyPairParser byte[]
StackMap stack: java.io.IOException
astore 2 /* e */
start local 2 // java.io.IOException e
11: .line 253
aload 2 /* e */
athrow
end local 2 // java.io.IOException e
12: .line 255
StackMap locals:
StackMap stack: java.lang.Exception
astore 2 /* e */
start local 2 // java.lang.Exception e
13: .line 257
new org.bouncycastle.openssl.PEMException
dup
14: .line 258
new java.lang.StringBuilder
dup
ldc "problem creating EC 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 257
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$ECDSAKeyPairParser this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/openssl/PEMParser$ECDSAKeyPairParser;
0 16 1 encoding [B
1 10 2 seq Lorg/bouncycastle/asn1/ASN1Sequence;
2 10 3 pKey Lorg/bouncycastle/asn1/sec/ECPrivateKey;
3 10 4 algId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
4 10 5 privInfo Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
6 8 6 pubInfo Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
11 12 2 e Ljava/io/IOException;
13 16 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 7 10 Class java.io.IOException
8 9 10 Class java.io.IOException
0 7 12 Class java.lang.Exception
8 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 ECDSAKeyPairParser = org.bouncycastle.openssl.PEMParser$ECDSAKeyPairParser of org.bouncycastle.openssl.PEMParser