final class com.sun.crypto.provider.ConstructKeys
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.sun.crypto.provider.ConstructKeys
  super_class: java.lang.Object
{
  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.crypto.provider.ConstructKeys this
         0: .line 51
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.sun.crypto.provider.ConstructKeys this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/crypto/provider/ConstructKeys;

  private static final java.security.PublicKey constructPublicKey(byte[], java.lang.String);
    descriptor: ([BLjava/lang/String;)Ljava/security/PublicKey;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // byte[] encodedKey
        start local 1 // java.lang.String encodedKeyAlgorithm
         0: .line 65
            aconst_null
            astore 2 /* key */
        start local 2 // java.security.PublicKey key
         1: .line 69
            aload 1 /* encodedKeyAlgorithm */
            ldc "SunJCE"
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyFactory;
         2: .line 68
            astore 3 /* keyFactory */
        start local 3 // java.security.KeyFactory keyFactory
         3: .line 70
            new java.security.spec.X509EncodedKeySpec
            dup
            aload 0 /* encodedKey */
            invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
            astore 4 /* keySpec */
        start local 4 // java.security.spec.X509EncodedKeySpec keySpec
         4: .line 71
            aload 3 /* keyFactory */
            aload 4 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
            astore 2 /* key */
        end local 4 // java.security.spec.X509EncodedKeySpec keySpec
        end local 3 // java.security.KeyFactory keyFactory
         5: .line 72
            goto 29
      StackMap locals: byte[] java.lang.String java.security.PublicKey
      StackMap stack: java.security.NoSuchAlgorithmException
         6: pop
         7: .line 77
            aload 1 /* encodedKeyAlgorithm */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
         8: .line 76
            astore 3 /* keyFactory */
        start local 3 // java.security.KeyFactory keyFactory
         9: .line 79
            new java.security.spec.X509EncodedKeySpec
            dup
            aload 0 /* encodedKey */
            invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
        10: .line 78
            astore 4 /* keySpec */
        start local 4 // java.security.spec.X509EncodedKeySpec keySpec
        11: .line 80
            aload 3 /* keyFactory */
            aload 4 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
            astore 2 /* key */
        end local 4 // java.security.spec.X509EncodedKeySpec keySpec
        end local 3 // java.security.KeyFactory keyFactory
        12: .line 81
            goto 29
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
        13: pop
        14: .line 82
            new java.security.NoSuchAlgorithmException
            dup
            new java.lang.StringBuilder
            dup
            ldc "No installed providers can create keys for the "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        15: .line 84
            aload 1 /* encodedKeyAlgorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        16: .line 85
            ldc "algorithm"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        17: .line 82
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 86
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 3 /* ikse2 */
        start local 3 // java.security.spec.InvalidKeySpecException ikse2
        19: .line 88
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct public key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
        20: .line 87
            astore 4 /* ike */
        start local 4 // java.security.InvalidKeyException ike
        21: .line 89
            aload 4 /* ike */
            aload 3 /* ikse2 */
            invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        22: .line 90
            aload 4 /* ike */
            athrow
        end local 4 // java.security.InvalidKeyException ike
        end local 3 // java.security.spec.InvalidKeySpecException ikse2
        23: .line 92
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 3 /* ikse */
        start local 3 // java.security.spec.InvalidKeySpecException ikse
        24: .line 94
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct public key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
        25: .line 93
            astore 4 /* ike */
        start local 4 // java.security.InvalidKeyException ike
        26: .line 95
            aload 4 /* ike */
            aload 3 /* ikse */
            invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        27: .line 96
            aload 4 /* ike */
            athrow
        end local 4 // java.security.InvalidKeyException ike
        end local 3 // java.security.spec.InvalidKeySpecException ikse
        28: .line 97
      StackMap locals:
      StackMap stack: java.security.NoSuchProviderException
            pop
        29: .line 101
      StackMap locals:
      StackMap stack:
            aload 2 /* key */
            areturn
        end local 2 // java.security.PublicKey key
        end local 1 // java.lang.String encodedKeyAlgorithm
        end local 0 // byte[] encodedKey
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   30     0           encodedKey  [B
            0   30     1  encodedKeyAlgorithm  Ljava/lang/String;
            1   30     2                  key  Ljava/security/PublicKey;
            3    5     3           keyFactory  Ljava/security/KeyFactory;
            4    5     4              keySpec  Ljava/security/spec/X509EncodedKeySpec;
            9   12     3           keyFactory  Ljava/security/KeyFactory;
           11   12     4              keySpec  Ljava/security/spec/X509EncodedKeySpec;
           19   23     3                ikse2  Ljava/security/spec/InvalidKeySpecException;
           21   23     4                  ike  Ljava/security/InvalidKeyException;
           24   28     3                 ikse  Ljava/security/spec/InvalidKeySpecException;
           26   28     4                  ike  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
           1     5       6  Class java.security.NoSuchAlgorithmException
           7    12      13  Class java.security.NoSuchAlgorithmException
           7    12      18  Class java.security.spec.InvalidKeySpecException
           1     5      23  Class java.security.spec.InvalidKeySpecException
           1     5      28  Class java.security.NoSuchProviderException
    Exceptions:
      throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
                     Name  Flags
      encodedKey           
      encodedKeyAlgorithm  

  private static final java.security.PrivateKey constructPrivateKey(byte[], java.lang.String);
    descriptor: ([BLjava/lang/String;)Ljava/security/PrivateKey;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // byte[] encodedKey
        start local 1 // java.lang.String encodedKeyAlgorithm
         0: .line 117
            aconst_null
            astore 2 /* key */
        start local 2 // java.security.PrivateKey key
         1: .line 121
            aload 1 /* encodedKeyAlgorithm */
            ldc "SunJCE"
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyFactory;
         2: .line 120
            astore 3 /* keyFactory */
        start local 3 // java.security.KeyFactory keyFactory
         3: .line 122
            new java.security.spec.PKCS8EncodedKeySpec
            dup
            aload 0 /* encodedKey */
            invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
            astore 4 /* keySpec */
        start local 4 // java.security.spec.PKCS8EncodedKeySpec keySpec
         4: .line 123
            aload 3 /* keyFactory */
            aload 4 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
         5: areturn
        end local 4 // java.security.spec.PKCS8EncodedKeySpec keySpec
        end local 3 // java.security.KeyFactory keyFactory
         6: .line 124
      StackMap locals: byte[] java.lang.String java.security.PrivateKey
      StackMap stack: java.security.NoSuchAlgorithmException
            pop
         7: .line 129
            aload 1 /* encodedKeyAlgorithm */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
         8: .line 128
            astore 3 /* keyFactory */
        start local 3 // java.security.KeyFactory keyFactory
         9: .line 131
            new java.security.spec.PKCS8EncodedKeySpec
            dup
            aload 0 /* encodedKey */
            invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
        10: .line 130
            astore 4 /* keySpec */
        start local 4 // java.security.spec.PKCS8EncodedKeySpec keySpec
        11: .line 132
            aload 3 /* keyFactory */
            aload 4 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
            astore 2 /* key */
        end local 4 // java.security.spec.PKCS8EncodedKeySpec keySpec
        end local 3 // java.security.KeyFactory keyFactory
        12: .line 133
            goto 29
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
        13: pop
        14: .line 134
            new java.security.NoSuchAlgorithmException
            dup
            new java.lang.StringBuilder
            dup
            ldc "No installed providers can create keys for the "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        15: .line 136
            aload 1 /* encodedKeyAlgorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        16: .line 137
            ldc "algorithm"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        17: .line 134
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 138
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 3 /* ikse2 */
        start local 3 // java.security.spec.InvalidKeySpecException ikse2
        19: .line 140
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct private key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
        20: .line 139
            astore 4 /* ike */
        start local 4 // java.security.InvalidKeyException ike
        21: .line 141
            aload 4 /* ike */
            aload 3 /* ikse2 */
            invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        22: .line 142
            aload 4 /* ike */
            athrow
        end local 4 // java.security.InvalidKeyException ike
        end local 3 // java.security.spec.InvalidKeySpecException ikse2
        23: .line 144
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 3 /* ikse */
        start local 3 // java.security.spec.InvalidKeySpecException ikse
        24: .line 146
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct private key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
        25: .line 145
            astore 4 /* ike */
        start local 4 // java.security.InvalidKeyException ike
        26: .line 147
            aload 4 /* ike */
            aload 3 /* ikse */
            invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        27: .line 148
            aload 4 /* ike */
            athrow
        end local 4 // java.security.InvalidKeyException ike
        end local 3 // java.security.spec.InvalidKeySpecException ikse
        28: .line 149
      StackMap locals:
      StackMap stack: java.security.NoSuchProviderException
            pop
        29: .line 153
      StackMap locals:
      StackMap stack:
            aload 2 /* key */
            areturn
        end local 2 // java.security.PrivateKey key
        end local 1 // java.lang.String encodedKeyAlgorithm
        end local 0 // byte[] encodedKey
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   30     0           encodedKey  [B
            0   30     1  encodedKeyAlgorithm  Ljava/lang/String;
            1   30     2                  key  Ljava/security/PrivateKey;
            3    6     3           keyFactory  Ljava/security/KeyFactory;
            4    6     4              keySpec  Ljava/security/spec/PKCS8EncodedKeySpec;
            9   12     3           keyFactory  Ljava/security/KeyFactory;
           11   12     4              keySpec  Ljava/security/spec/PKCS8EncodedKeySpec;
           19   23     3                ikse2  Ljava/security/spec/InvalidKeySpecException;
           21   23     4                  ike  Ljava/security/InvalidKeyException;
           24   28     3                 ikse  Ljava/security/spec/InvalidKeySpecException;
           26   28     4                  ike  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
           1     5       6  Class java.security.NoSuchAlgorithmException
           7    12      13  Class java.security.NoSuchAlgorithmException
           7    12      18  Class java.security.spec.InvalidKeySpecException
           1     5      23  Class java.security.spec.InvalidKeySpecException
           1     5      28  Class java.security.NoSuchProviderException
    Exceptions:
      throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
                     Name  Flags
      encodedKey           
      encodedKeyAlgorithm  

  private static final javax.crypto.SecretKey constructSecretKey(byte[], java.lang.String);
    descriptor: ([BLjava/lang/String;)Ljavax/crypto/SecretKey;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // byte[] encodedKey
        start local 1 // java.lang.String encodedKeyAlgorithm
         0: .line 168
            new javax.crypto.spec.SecretKeySpec
            dup
            aload 0 /* encodedKey */
            aload 1 /* encodedKeyAlgorithm */
            invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
            areturn
        end local 1 // java.lang.String encodedKeyAlgorithm
        end local 0 // byte[] encodedKey
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    1     0           encodedKey  [B
            0    1     1  encodedKeyAlgorithm  Ljava/lang/String;
    MethodParameters:
                     Name  Flags
      encodedKey           
      encodedKeyAlgorithm  

  static final java.security.Key constructKey(byte[], java.lang.String, int);
    descriptor: ([BLjava/lang/String;I)Ljava/security/Key;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    Code:
      stack=2, locals=4, args_size=3
        start local 0 // byte[] encoding
        start local 1 // java.lang.String keyAlgorithm
        start local 2 // int keyType
         0: .line 174
            aconst_null
            astore 3 /* result */
        start local 3 // java.security.Key result
         1: .line 175
            iload 2 /* keyType */
            tableswitch { // 1 - 3
                    1: 10
                    2: 6
                    3: 2
              default: 13
          }
         2: .line 177
      StackMap locals: java.security.Key
      StackMap stack:
            aload 0 /* encoding */
         3: .line 178
            aload 1 /* keyAlgorithm */
         4: .line 177
            invokestatic com.sun.crypto.provider.ConstructKeys.constructSecretKey:([BLjava/lang/String;)Ljavax/crypto/SecretKey;
            astore 3 /* result */
         5: .line 179
            goto 13
         6: .line 181
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
         7: .line 182
            aload 1 /* keyAlgorithm */
         8: .line 181
            invokestatic com.sun.crypto.provider.ConstructKeys.constructPrivateKey:([BLjava/lang/String;)Ljava/security/PrivateKey;
            astore 3 /* result */
         9: .line 183
            goto 13
        10: .line 185
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
        11: .line 186
            aload 1 /* keyAlgorithm */
        12: .line 185
            invokestatic com.sun.crypto.provider.ConstructKeys.constructPublicKey:([BLjava/lang/String;)Ljava/security/PublicKey;
            astore 3 /* result */
        13: .line 189
      StackMap locals:
      StackMap stack:
            aload 3 /* result */
            areturn
        end local 3 // java.security.Key result
        end local 2 // int keyType
        end local 1 // java.lang.String keyAlgorithm
        end local 0 // byte[] encoding
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   14     0      encoding  [B
            0   14     1  keyAlgorithm  Ljava/lang/String;
            0   14     2       keyType  I
            1   14     3        result  Ljava/security/Key;
    Exceptions:
      throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
              Name  Flags
      encoding      
      keyAlgorithm  
      keyType       
}
SourceFile: "ConstructKeys.java"