abstract class org.bouncycastle.openssl.PEMReader$KeyPairParser implements org.bouncycastle.util.io.pem.PemObjectParser
  minor version: 0
  major version: 59
  flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
  this_class: org.bouncycastle.openssl.PEMReader$KeyPairParser
  super_class: java.lang.Object
{
  protected java.lang.String provider;
    descriptor: Ljava/lang/String;
    flags: (0x0004) ACC_PROTECTED

  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$KeyPairParser this
        start local 2 // java.lang.String provider
         0: .line 180
            aload 0 /* this */
            aload 1
            putfield org.bouncycastle.openssl.PEMReader$KeyPairParser.this$0:Lorg/bouncycastle/openssl/PEMReader;
         1: .line 179
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         2: .line 181
            aload 0 /* this */
            aload 2 /* provider */
            putfield org.bouncycastle.openssl.PEMReader$KeyPairParser.provider:Ljava/lang/String;
         3: .line 182
            return
        end local 2 // java.lang.String provider
        end local 0 // org.bouncycastle.openssl.PEMReader$KeyPairParser this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lorg/bouncycastle/openssl/PEMReader$KeyPairParser;
            0    4     2  provider  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      this$0    final
      provider  

  protected org.bouncycastle.asn1.ASN1Sequence readKeyPair(org.bouncycastle.util.io.pem.PemObject);
    descriptor: (Lorg/bouncycastle/util/io/pem/PemObject;)Lorg/bouncycastle/asn1/ASN1Sequence;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=10, args_size=2
        start local 0 // org.bouncycastle.openssl.PEMReader$KeyPairParser this
        start local 1 // org.bouncycastle.util.io.pem.PemObject obj
         0: .line 191
            iconst_0
            istore 2 /* isEncrypted */
        start local 2 // boolean isEncrypted
         1: .line 192
            aconst_null
            astore 3 /* dekInfo */
        start local 3 // java.lang.String dekInfo
         2: .line 193
            aload 1 /* obj */
            invokevirtual org.bouncycastle.util.io.pem.PemObject.getHeaders:()Ljava/util/List;
            astore 4 /* headers */
        start local 4 // java.util.List headers
         3: .line 195
            aload 4 /* headers */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5 /* it */
        start local 5 // java.util.Iterator it
         4: goto 11
         5: .line 197
      StackMap locals: org.bouncycastle.openssl.PEMReader$KeyPairParser org.bouncycastle.util.io.pem.PemObject int java.lang.String java.util.List java.util.Iterator
      StackMap stack:
            aload 5 /* it */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.bouncycastle.util.io.pem.PemHeader
            astore 6 /* hdr */
        start local 6 // org.bouncycastle.util.io.pem.PemHeader hdr
         6: .line 199
            aload 6 /* hdr */
            invokevirtual org.bouncycastle.util.io.pem.PemHeader.getName:()Ljava/lang/String;
            ldc "Proc-Type"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 9
            aload 6 /* hdr */
            invokevirtual org.bouncycastle.util.io.pem.PemHeader.getValue:()Ljava/lang/String;
            ldc "4,ENCRYPTED"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 9
         7: .line 201
            iconst_1
            istore 2 /* isEncrypted */
         8: .line 202
            goto 11
         9: .line 203
      StackMap locals: org.bouncycastle.util.io.pem.PemHeader
      StackMap stack:
            aload 6 /* hdr */
            invokevirtual org.bouncycastle.util.io.pem.PemHeader.getName:()Ljava/lang/String;
            ldc "DEK-Info"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 11
        10: .line 205
            aload 6 /* hdr */
            invokevirtual org.bouncycastle.util.io.pem.PemHeader.getValue:()Ljava/lang/String;
            astore 3 /* dekInfo */
        end local 6 // org.bouncycastle.util.io.pem.PemHeader hdr
        11: .line 195
      StackMap locals:
      StackMap stack:
            aload 5 /* it */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        end local 5 // java.util.Iterator it
        12: .line 212
            aload 1 /* obj */
            invokevirtual org.bouncycastle.util.io.pem.PemObject.getContent:()[B
            astore 5 /* keyBytes */
        start local 5 // byte[] keyBytes
        13: .line 214
            iload 2 /* isEncrypted */
            ifeq 23
        14: .line 216
            aload 0 /* this */
            getfield org.bouncycastle.openssl.PEMReader$KeyPairParser.this$0:Lorg/bouncycastle/openssl/PEMReader;
            getfield org.bouncycastle.openssl.PEMReader.pFinder:Lorg/bouncycastle/openssl/PasswordFinder;
            ifnonnull 16
        15: .line 218
            new org.bouncycastle.openssl.PasswordException
            dup
            ldc "No password finder specified, but a password is required"
            invokespecial org.bouncycastle.openssl.PasswordException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 221
      StackMap locals: org.bouncycastle.openssl.PEMReader$KeyPairParser org.bouncycastle.util.io.pem.PemObject int java.lang.String java.util.List byte[]
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.openssl.PEMReader$KeyPairParser.this$0:Lorg/bouncycastle/openssl/PEMReader;
            getfield org.bouncycastle.openssl.PEMReader.pFinder:Lorg/bouncycastle/openssl/PasswordFinder;
            invokeinterface org.bouncycastle.openssl.PasswordFinder.getPassword:()[C
            astore 6 /* password */
        start local 6 // char[] password
        17: .line 223
            aload 6 /* password */
            ifnonnull 19
        18: .line 225
            new org.bouncycastle.openssl.PasswordException
            dup
            ldc "Password is null, but a password is required"
            invokespecial org.bouncycastle.openssl.PasswordException.<init>:(Ljava/lang/String;)V
            athrow
        19: .line 228
      StackMap locals: char[]
      StackMap stack:
            new java.util.StringTokenizer
            dup
            aload 3 /* dekInfo */
            ldc ","
            invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            astore 7 /* tknz */
        start local 7 // java.util.StringTokenizer tknz
        20: .line 229
            aload 7 /* tknz */
            invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
            astore 8 /* dekAlgName */
        start local 8 // java.lang.String dekAlgName
        21: .line 230
            aload 7 /* tknz */
            invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
            invokestatic org.bouncycastle.util.encoders.Hex.decode:(Ljava/lang/String;)[B
            astore 9 /* iv */
        start local 9 // byte[] iv
        22: .line 232
            iconst_0
            aload 0 /* this */
            getfield org.bouncycastle.openssl.PEMReader$KeyPairParser.provider:Ljava/lang/String;
            aload 5 /* keyBytes */
            aload 6 /* password */
            aload 8 /* dekAlgName */
            aload 9 /* iv */
            invokestatic org.bouncycastle.openssl.PEMUtilities.crypt:(ZLjava/lang/String;[B[CLjava/lang/String;[B)[B
            astore 5 /* keyBytes */
        end local 9 // byte[] iv
        end local 8 // java.lang.String dekAlgName
        end local 7 // java.util.StringTokenizer tknz
        end local 6 // char[] password
        23: .line 237
      StackMap locals:
      StackMap stack:
            aload 5 /* keyBytes */
            invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
            checkcast org.bouncycastle.asn1.ASN1Sequence
        24: areturn
        25: .line 239
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 6 /* e */
        start local 6 // java.io.IOException e
        26: .line 241
            iload 2 /* isEncrypted */
            ifeq 28
        27: .line 243
            new org.bouncycastle.openssl.PEMException
            dup
            ldc "exception decoding - please check password and data."
            aload 6 /* e */
            invokespecial org.bouncycastle.openssl.PEMException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
            athrow
        28: .line 247
      StackMap locals: java.io.IOException
      StackMap stack:
            new org.bouncycastle.openssl.PEMException
            dup
            aload 6 /* e */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            aload 6 /* e */
            invokespecial org.bouncycastle.openssl.PEMException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
            athrow
        end local 6 // java.io.IOException e
        29: .line 250
      StackMap locals: org.bouncycastle.openssl.PEMReader$KeyPairParser org.bouncycastle.util.io.pem.PemObject int java.lang.String java.util.List byte[]
      StackMap stack: java.lang.ClassCastException
            astore 6 /* e */
        start local 6 // java.lang.ClassCastException e
        30: .line 252
            iload 2 /* isEncrypted */
            ifeq 32
        31: .line 254
            new org.bouncycastle.openssl.PEMException
            dup
            ldc "exception decoding - please check password and data."
            aload 6 /* e */
            invokespecial org.bouncycastle.openssl.PEMException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
            athrow
        32: .line 258
      StackMap locals: java.lang.ClassCastException
      StackMap stack:
            new org.bouncycastle.openssl.PEMException
            dup
            aload 6 /* e */
            invokevirtual java.lang.ClassCastException.getMessage:()Ljava/lang/String;
            aload 6 /* e */
            invokespecial org.bouncycastle.openssl.PEMException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
            athrow
        end local 6 // java.lang.ClassCastException e
        end local 5 // byte[] keyBytes
        end local 4 // java.util.List headers
        end local 3 // java.lang.String dekInfo
        end local 2 // boolean isEncrypted
        end local 1 // org.bouncycastle.util.io.pem.PemObject obj
        end local 0 // org.bouncycastle.openssl.PEMReader$KeyPairParser this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   33     0         this  Lorg/bouncycastle/openssl/PEMReader$KeyPairParser;
            0   33     1          obj  Lorg/bouncycastle/util/io/pem/PemObject;
            1   33     2  isEncrypted  Z
            2   33     3      dekInfo  Ljava/lang/String;
            3   33     4      headers  Ljava/util/List;
            4   12     5           it  Ljava/util/Iterator;
            6   11     6          hdr  Lorg/bouncycastle/util/io/pem/PemHeader;
           13   33     5     keyBytes  [B
           17   23     6     password  [C
           20   23     7         tknz  Ljava/util/StringTokenizer;
           21   23     8   dekAlgName  Ljava/lang/String;
           22   23     9           iv  [B
           26   29     6            e  Ljava/io/IOException;
           30   33     6            e  Ljava/lang/ClassCastException;
      Exception table:
        from    to  target  type
          23    24      25  Class java.io.IOException
          23    24      29  Class java.lang.ClassCastException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      obj   
}
SourceFile: "PEMReader.java"
NestHost: org.bouncycastle.openssl.PEMReader
InnerClasses:
  private abstract KeyPairParser = org.bouncycastle.openssl.PEMReader$KeyPairParser of org.bouncycastle.openssl.PEMReader