public class org.apache.tomcat.util.net.jsse.PEMFile
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.tomcat.util.net.jsse.PEMFile
  super_class: java.lang.Object
{
  private static final org.apache.tomcat.util.res.StringManager sm;
    descriptor: Lorg/apache/tomcat/util/res/StringManager;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final byte[] OID_EC_PUBLIC_KEY;
    descriptor: [B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private java.lang.String filename;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.util.List<java.security.cert.X509Certificate> certificates;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Ljava/security/cert/X509Certificate;>;

  private java.security.PrivateKey privateKey;
    descriptor: Ljava/security/PrivateKey;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 58
            ldc Lorg/apache/tomcat/util/net/jsse/PEMFile;
            invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
            putstatic org.apache.tomcat.util.net.jsse.PEMFile.sm:Lorg/apache/tomcat/util/res/StringManager;
         1: .line 61
            bipush 9
            newarray 8
            dup
            iconst_0
            bipush 6
            bastore
            dup
            iconst_1
            bipush 7
            bastore
            dup
            iconst_2
            bipush 42
            bastore
            dup
            iconst_3
            bipush -122
            bastore
            dup
            iconst_4
            bipush 72
            bastore
            dup
            iconst_5
            bipush -50
            bastore
            dup
            bipush 6
            bipush 61
            bastore
            dup
            bipush 7
            iconst_2
            bastore
            dup
            bipush 8
            iconst_1
            bastore
         2: .line 60
            putstatic org.apache.tomcat.util.net.jsse.PEMFile.OID_EC_PUBLIC_KEY:[B
         3: .line 61
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static java.lang.String toPEM(java.security.cert.X509Certificate);
    descriptor: (Ljava/security/cert/X509Certificate;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.security.cert.X509Certificate certificate
         0: .line 64
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* result */
        start local 1 // java.lang.StringBuilder result
         1: .line 65
            aload 1 /* result */
            ldc "-----BEGIN CERTIFICATE-----"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         2: .line 66
            aload 1 /* result */
            invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         3: .line 67
            new org.apache.tomcat.util.codec.binary.Base64
            dup
            bipush 64
            invokespecial org.apache.tomcat.util.codec.binary.Base64.<init>:(I)V
            astore 2 /* b64 */
        start local 2 // org.apache.tomcat.util.codec.binary.Base64 b64
         4: .line 68
            aload 1 /* result */
            aload 2 /* b64 */
            aload 0 /* certificate */
            invokevirtual java.security.cert.X509Certificate.getEncoded:()[B
            invokevirtual org.apache.tomcat.util.codec.binary.Base64.encodeAsString:([B)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         5: .line 69
            aload 1 /* result */
            ldc "-----END CERTIFICATE-----"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 70
            aload 1 /* result */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // org.apache.tomcat.util.codec.binary.Base64 b64
        end local 1 // java.lang.StringBuilder result
        end local 0 // java.security.cert.X509Certificate certificate
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    7     0  certificate  Ljava/security/cert/X509Certificate;
            1    7     1       result  Ljava/lang/StringBuilder;
            4    7     2          b64  Lorg/apache/tomcat/util/codec/binary/Base64;
    Exceptions:
      throws java.security.cert.CertificateEncodingException
    MethodParameters:
             Name  Flags
      certificate  

  public java.util.List<java.security.cert.X509Certificate> getCertificates();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
         0: .line 78
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.jsse.PEMFile.certificates:Ljava/util/List;
            areturn
        end local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/tomcat/util/net/jsse/PEMFile;
    Signature: ()Ljava/util/List<Ljava/security/cert/X509Certificate;>;

  public java.security.PrivateKey getPrivateKey();
    descriptor: ()Ljava/security/PrivateKey;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
         0: .line 82
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.jsse.PEMFile.privateKey:Ljava/security/PrivateKey;
            areturn
        end local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/tomcat/util/net/jsse/PEMFile;

  public void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
        start local 1 // java.lang.String filename
         0: .line 86
            aload 0 /* this */
            aload 1 /* filename */
            aconst_null
            invokespecial org.apache.tomcat.util.net.jsse.PEMFile.<init>:(Ljava/lang/String;Ljava/lang/String;)V
         1: .line 87
            return
        end local 1 // java.lang.String filename
        end local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lorg/apache/tomcat/util/net/jsse/PEMFile;
            0    2     1  filename  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException, java.security.GeneralSecurityException
    MethodParameters:
          Name  Flags
      filename  

  public void <init>(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
        start local 1 // java.lang.String filename
        start local 2 // java.lang.String password
         0: .line 90
            aload 0 /* this */
            aload 1 /* filename */
            aload 2 /* password */
            aconst_null
            invokespecial org.apache.tomcat.util.net.jsse.PEMFile.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
         1: .line 91
            return
        end local 2 // java.lang.String password
        end local 1 // java.lang.String filename
        end local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lorg/apache/tomcat/util/net/jsse/PEMFile;
            0    2     1  filename  Ljava/lang/String;
            0    2     2  password  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException, java.security.GeneralSecurityException
    MethodParameters:
          Name  Flags
      filename  
      password  

  public void <init>(java.lang.String, java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=11, args_size=4
        start local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
        start local 1 // java.lang.String filename
        start local 2 // java.lang.String password
        start local 3 // java.lang.String keyAlgorithm
         0: .line 93
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 74
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield org.apache.tomcat.util.net.jsse.PEMFile.certificates:Ljava/util/List;
         2: .line 95
            aload 0 /* this */
            aload 1 /* filename */
            putfield org.apache.tomcat.util.net.jsse.PEMFile.filename:Ljava/lang/String;
         3: .line 97
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* parts */
        start local 4 // java.util.List parts
         4: .line 98
            aconst_null
            astore 5
            aconst_null
            astore 6
         5: invokestatic org.apache.tomcat.util.file.ConfigFileLoader.getSource:()Lorg/apache/tomcat/util/file/ConfigurationSource;
            aload 1 /* filename */
            invokeinterface org.apache.tomcat.util.file.ConfigurationSource.getResource:(Ljava/lang/String;)Lorg/apache/tomcat/util/file/ConfigurationSource$Resource;
            invokevirtual org.apache.tomcat.util.file.ConfigurationSource$Resource.getInputStream:()Ljava/io/InputStream;
            astore 7 /* inputStream */
        start local 7 // java.io.InputStream inputStream
         6: .line 100
            new java.io.BufferedReader
            dup
            new java.io.InputStreamReader
            dup
            aload 7 /* inputStream */
            getstatic java.nio.charset.StandardCharsets.US_ASCII:Ljava/nio/charset/Charset;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
         7: .line 99
            astore 8 /* reader */
        start local 8 // java.io.BufferedReader reader
         8: .line 101
            aconst_null
            astore 9 /* part */
        start local 9 // org.apache.tomcat.util.net.jsse.PEMFile$Part part
         9: .line 103
            goto 24
        start local 10 // java.lang.String line
        10: .line 104
      StackMap locals: org.apache.tomcat.util.net.jsse.PEMFile java.lang.String java.lang.String java.lang.String java.util.List java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.BufferedReader org.apache.tomcat.util.net.jsse.PEMFile$Part java.lang.String
      StackMap stack:
            aload 10 /* line */
            ldc "-----BEGIN "
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 18
        11: .line 105
            new org.apache.tomcat.util.net.jsse.PEMFile$Part
            dup
            aload 0 /* this */
            invokespecial org.apache.tomcat.util.net.jsse.PEMFile$Part.<init>:(Lorg/apache/tomcat/util/net/jsse/PEMFile;)V
            astore 9 /* part */
        12: .line 106
            aload 9 /* part */
            aload 10 /* line */
            ldc "-----BEGIN "
            invokevirtual java.lang.String.length:()I
        13: .line 107
            aload 10 /* line */
            invokevirtual java.lang.String.length:()I
            ldc "-----"
            invokevirtual java.lang.String.length:()I
            isub
        14: .line 106
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
        15: .line 107
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
        16: .line 106
            putfield org.apache.tomcat.util.net.jsse.PEMFile$Part.type:Ljava/lang/String;
        17: .line 108
            goto 24
      StackMap locals:
      StackMap stack:
        18: aload 10 /* line */
            ldc "-----END "
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 22
        19: .line 109
            aload 4 /* parts */
            aload 9 /* part */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        20: .line 110
            aconst_null
            astore 9 /* part */
        21: .line 111
            goto 24
      StackMap locals:
      StackMap stack:
        22: aload 9 /* part */
            ifnull 24
            aload 10 /* line */
            ldc ":"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifne 24
            aload 10 /* line */
            ldc " "
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 24
        23: .line 112
            aload 9 /* part */
            dup
            getfield org.apache.tomcat.util.net.jsse.PEMFile$Part.content:Ljava/lang/String;
            new java.lang.StringBuilder
            dup_x1
            swap
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 10 /* line */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            putfield org.apache.tomcat.util.net.jsse.PEMFile$Part.content:Ljava/lang/String;
        end local 10 // java.lang.String line
        24: .line 103
      StackMap locals:
      StackMap stack:
            aload 8 /* reader */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            dup
            astore 10 /* line */
        start local 10 // java.lang.String line
        25: ifnonnull 10
        end local 10 // java.lang.String line
        end local 9 // org.apache.tomcat.util.net.jsse.PEMFile$Part part
        end local 8 // java.io.BufferedReader reader
        26: .line 115
            aload 7 /* inputStream */
            ifnull 32
            aload 7 /* inputStream */
            invokevirtual java.io.InputStream.close:()V
            goto 32
      StackMap locals: org.apache.tomcat.util.net.jsse.PEMFile java.lang.String java.lang.String java.lang.String java.util.List java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
        27: astore 5
            aload 7 /* inputStream */
            ifnull 28
            aload 7 /* inputStream */
            invokevirtual java.io.InputStream.close:()V
        end local 7 // java.io.InputStream inputStream
      StackMap locals:
      StackMap stack:
        28: aload 5
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        29: astore 6
            aload 5
            ifnonnull 30
            aload 6
            astore 5
            goto 31
      StackMap locals:
      StackMap stack:
        30: aload 5
            aload 6
            if_acmpeq 31
            aload 5
            aload 6
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        31: aload 5
            athrow
        32: .line 117
      StackMap locals:
      StackMap stack:
            aload 4 /* parts */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 50
      StackMap locals: org.apache.tomcat.util.net.jsse.PEMFile java.lang.String java.lang.String java.lang.String java.util.List top java.util.Iterator
      StackMap stack:
        33: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.tomcat.util.net.jsse.PEMFile$Part
            astore 5 /* part */
        start local 5 // org.apache.tomcat.util.net.jsse.PEMFile$Part part
        34: .line 118
            aload 5 /* part */
            getfield org.apache.tomcat.util.net.jsse.PEMFile$Part.type:Ljava/lang/String;
            dup
            astore 7
            invokevirtual java.lang.String.hashCode:()I
            lookupswitch { // 6
          -2076506627: 35
           -283732602: 36
           -189606537: 37
           -170985982: 38
            957721984: 39
           2121838594: 40
              default: 50
          }
      StackMap locals: org.apache.tomcat.util.net.jsse.PEMFile java.lang.String java.lang.String java.lang.String java.util.List org.apache.tomcat.util.net.jsse.PEMFile$Part java.util.Iterator java.lang.String
      StackMap stack:
        35: aload 7
            ldc "X509 CERTIFICATE"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 49
            goto 50
      StackMap locals:
      StackMap stack:
        36: aload 7
            ldc "ENCRYPTED PRIVATE KEY"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 45
            goto 50
      StackMap locals:
      StackMap stack:
        37: aload 7
            ldc "CERTIFICATE"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 49
            goto 50
      StackMap locals:
      StackMap stack:
        38: aload 7
            ldc "PRIVATE KEY"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 41
            goto 50
      StackMap locals:
      StackMap stack:
        39: aload 7
            ldc "EC PRIVATE KEY"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 43
            goto 50
      StackMap locals:
      StackMap stack:
        40: aload 7
            ldc "RSA PRIVATE KEY"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 47
            goto 50
        41: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* part */
            aconst_null
            aload 3 /* keyAlgorithm */
            getstatic org.apache.tomcat.util.net.jsse.PEMFile$Format.PKCS8:Lorg/apache/tomcat/util/net/jsse/PEMFile$Format;
            invokevirtual org.apache.tomcat.util.net.jsse.PEMFile$Part.toPrivateKey:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/tomcat/util/net/jsse/PEMFile$Format;)Ljava/security/PrivateKey;
            putfield org.apache.tomcat.util.net.jsse.PEMFile.privateKey:Ljava/security/PrivateKey;
        42: .line 121
            goto 50
        43: .line 123
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* part */
            aconst_null
            ldc "EC"
            getstatic org.apache.tomcat.util.net.jsse.PEMFile$Format.RFC5915:Lorg/apache/tomcat/util/net/jsse/PEMFile$Format;
            invokevirtual org.apache.tomcat.util.net.jsse.PEMFile$Part.toPrivateKey:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/tomcat/util/net/jsse/PEMFile$Format;)Ljava/security/PrivateKey;
            putfield org.apache.tomcat.util.net.jsse.PEMFile.privateKey:Ljava/security/PrivateKey;
        44: .line 124
            goto 50
        45: .line 126
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* part */
            aload 2 /* password */
            aload 3 /* keyAlgorithm */
            getstatic org.apache.tomcat.util.net.jsse.PEMFile$Format.PKCS8:Lorg/apache/tomcat/util/net/jsse/PEMFile$Format;
            invokevirtual org.apache.tomcat.util.net.jsse.PEMFile$Part.toPrivateKey:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/tomcat/util/net/jsse/PEMFile$Format;)Ljava/security/PrivateKey;
            putfield org.apache.tomcat.util.net.jsse.PEMFile.privateKey:Ljava/security/PrivateKey;
        46: .line 127
            goto 50
        47: .line 129
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* part */
            aconst_null
            aload 3 /* keyAlgorithm */
            getstatic org.apache.tomcat.util.net.jsse.PEMFile$Format.PKCS1:Lorg/apache/tomcat/util/net/jsse/PEMFile$Format;
            invokevirtual org.apache.tomcat.util.net.jsse.PEMFile$Part.toPrivateKey:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/tomcat/util/net/jsse/PEMFile$Format;)Ljava/security/PrivateKey;
            putfield org.apache.tomcat.util.net.jsse.PEMFile.privateKey:Ljava/security/PrivateKey;
        48: .line 130
            goto 50
        49: .line 133
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.jsse.PEMFile.certificates:Ljava/util/List;
            aload 5 /* part */
            invokevirtual org.apache.tomcat.util.net.jsse.PEMFile$Part.toCertificate:()Ljava/security/cert/X509Certificate;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // org.apache.tomcat.util.net.jsse.PEMFile$Part part
        50: .line 117
      StackMap locals: org.apache.tomcat.util.net.jsse.PEMFile java.lang.String java.lang.String java.lang.String java.util.List top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 33
        51: .line 137
            return
        end local 4 // java.util.List parts
        end local 3 // java.lang.String keyAlgorithm
        end local 2 // java.lang.String password
        end local 1 // java.lang.String filename
        end local 0 // org.apache.tomcat.util.net.jsse.PEMFile this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   52     0          this  Lorg/apache/tomcat/util/net/jsse/PEMFile;
            0   52     1      filename  Ljava/lang/String;
            0   52     2      password  Ljava/lang/String;
            0   52     3  keyAlgorithm  Ljava/lang/String;
            4   52     4         parts  Ljava/util/List<Lorg/apache/tomcat/util/net/jsse/PEMFile$Part;>;
            6   28     7   inputStream  Ljava/io/InputStream;
            8   26     8        reader  Ljava/io/BufferedReader;
            9   26     9          part  Lorg/apache/tomcat/util/net/jsse/PEMFile$Part;
           10   24    10          line  Ljava/lang/String;
           25   26    10          line  Ljava/lang/String;
           34   50     5          part  Lorg/apache/tomcat/util/net/jsse/PEMFile$Part;
      Exception table:
        from    to  target  type
           6    26      27  any
           5    29      29  any
    Exceptions:
      throws java.io.IOException, java.security.GeneralSecurityException
    MethodParameters:
              Name  Flags
      filename      
      password      
      keyAlgorithm  
}
SourceFile: "PEMFile.java"
NestMembers:
  org.apache.tomcat.util.net.jsse.PEMFile$Format  org.apache.tomcat.util.net.jsse.PEMFile$Part
InnerClasses:
  public Resource = org.apache.tomcat.util.file.ConfigurationSource$Resource of org.apache.tomcat.util.file.ConfigurationSource
  private final Format = org.apache.tomcat.util.net.jsse.PEMFile$Format of org.apache.tomcat.util.net.jsse.PEMFile
  private Part = org.apache.tomcat.util.net.jsse.PEMFile$Part of org.apache.tomcat.util.net.jsse.PEMFile