class org.bouncycastle.openssl.PEMParser$DSAKeyPairParser implements org.bouncycastle.openssl.PEMKeyPairParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.openssl.PEMParser$DSAKeyPairParser
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$DSAKeyPairParser this
0: .line 188
aload 0 /* this */
aload 1
putfield org.bouncycastle.openssl.PEMParser$DSAKeyPairParser.this$0:Lorg/bouncycastle/openssl/PEMParser;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.bouncycastle.openssl.PEMParser$DSAKeyPairParser this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/openssl/PEMParser$DSAKeyPairParser;
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=13, locals=8, args_size=2
start local 0 // org.bouncycastle.openssl.PEMParser$DSAKeyPairParser this
start local 1 // byte[] encoding
0: .line 196
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 198
aload 2 /* seq */
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
bipush 6
if_icmpeq 3
2: .line 200
new org.bouncycastle.openssl.PEMException
dup
ldc "malformed sequence in DSA private key"
invokespecial org.bouncycastle.openssl.PEMException.<init>:(Ljava/lang/String;)V
athrow
3: .line 204
StackMap locals: org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
aload 2 /* seq */
iconst_1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
astore 3 /* p */
start local 3 // org.bouncycastle.asn1.ASN1Integer p
4: .line 205
aload 2 /* seq */
iconst_2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
astore 4 /* q */
start local 4 // org.bouncycastle.asn1.ASN1Integer q
5: .line 206
aload 2 /* seq */
iconst_3
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
astore 5 /* g */
start local 5 // org.bouncycastle.asn1.ASN1Integer g
6: .line 207
aload 2 /* seq */
iconst_4
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
astore 6 /* y */
start local 6 // org.bouncycastle.asn1.ASN1Integer y
7: .line 208
aload 2 /* seq */
iconst_5
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
astore 7 /* x */
start local 7 // org.bouncycastle.asn1.ASN1Integer x
8: .line 210
new org.bouncycastle.openssl.PEMKeyPair
dup
9: .line 211
new org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
dup
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.id_dsa:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.asn1.x509.DSAParameter
dup
aload 3 /* p */
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
aload 4 /* q */
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
aload 5 /* g */
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.x509.DSAParameter.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
aload 6 /* y */
invokespecial org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
10: .line 212
new org.bouncycastle.asn1.pkcs.PrivateKeyInfo
dup
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.id_dsa:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.asn1.x509.DSAParameter
dup
aload 3 /* p */
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
aload 4 /* q */
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
aload 5 /* g */
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.x509.DSAParameter.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
aload 7 /* x */
invokespecial org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
11: .line 210
invokespecial org.bouncycastle.openssl.PEMKeyPair.<init>:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)V
12: areturn
end local 7 // org.bouncycastle.asn1.ASN1Integer x
end local 6 // org.bouncycastle.asn1.ASN1Integer y
end local 5 // org.bouncycastle.asn1.ASN1Integer g
end local 4 // org.bouncycastle.asn1.ASN1Integer q
end local 3 // org.bouncycastle.asn1.ASN1Integer p
end local 2 // org.bouncycastle.asn1.ASN1Sequence seq
13: .line 214
StackMap locals: org.bouncycastle.openssl.PEMParser$DSAKeyPairParser byte[]
StackMap stack: java.io.IOException
astore 2 /* e */
start local 2 // java.io.IOException e
14: .line 216
aload 2 /* e */
athrow
end local 2 // java.io.IOException e
15: .line 218
StackMap locals:
StackMap stack: java.lang.Exception
astore 2 /* e */
start local 2 // java.lang.Exception e
16: .line 220
new org.bouncycastle.openssl.PEMException
dup
17: .line 221
new java.lang.StringBuilder
dup
ldc "problem creating DSA 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 */
18: .line 220
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$DSAKeyPairParser this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/bouncycastle/openssl/PEMParser$DSAKeyPairParser;
0 19 1 encoding [B
1 13 2 seq Lorg/bouncycastle/asn1/ASN1Sequence;
4 13 3 p Lorg/bouncycastle/asn1/ASN1Integer;
5 13 4 q Lorg/bouncycastle/asn1/ASN1Integer;
6 13 5 g Lorg/bouncycastle/asn1/ASN1Integer;
7 13 6 y Lorg/bouncycastle/asn1/ASN1Integer;
8 13 7 x Lorg/bouncycastle/asn1/ASN1Integer;
14 15 2 e Ljava/io/IOException;
16 19 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 12 13 Class java.io.IOException
0 12 15 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoding
}
SourceFile: "PEMParser.java"
NestHost: org.bouncycastle.openssl.PEMParser
InnerClasses:
private DSAKeyPairParser = org.bouncycastle.openssl.PEMParser$DSAKeyPairParser of org.bouncycastle.openssl.PEMParser