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 50
            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 64
            aconst_null
            astore 2 /* key */
        start local 2 // java.security.PublicKey key
         1: .line 68
            aload 1 /* encodedKeyAlgorithm */
         2: .line 69
            invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
         3: .line 68
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/KeyFactory;
         4: .line 67
            astore 3 /* keyFactory */
        start local 3 // java.security.KeyFactory keyFactory
         5: .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
         6: .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
         7: .line 72
            goto 30
      StackMap locals: byte[] java.lang.String java.security.PublicKey
      StackMap stack: java.security.NoSuchAlgorithmException
         8: pop
         9: .line 77
            aload 1 /* encodedKeyAlgorithm */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
        10: .line 76
            astore 3 /* keyFactory */
        start local 3 // java.security.KeyFactory keyFactory
        11: .line 79
            new java.security.spec.X509EncodedKeySpec
            dup
            aload 0 /* encodedKey */
            invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
        12: .line 78
            astore 4 /* keySpec */
        start local 4 // java.security.spec.X509EncodedKeySpec keySpec
        13: .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
        14: .line 81
            goto 30
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
        15: pop
        16: .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
        17: .line 84
            aload 1 /* encodedKeyAlgorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        18: .line 85
            ldc "algorithm"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        19: .line 82
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        20: .line 86
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 3 /* ikse2 */
        start local 3 // java.security.spec.InvalidKeySpecException ikse2
        21: .line 88
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct public key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
        22: .line 87
            astore 4 /* ike */
        start local 4 // java.security.InvalidKeyException ike
        23: .line 89
            aload 4 /* ike */
            aload 3 /* ikse2 */
            invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        24: .line 90
            aload 4 /* ike */
            athrow
        end local 4 // java.security.InvalidKeyException ike
        end local 3 // java.security.spec.InvalidKeySpecException ikse2
        25: .line 92
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 3 /* ikse */
        start local 3 // java.security.spec.InvalidKeySpecException ikse
        26: .line 94
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct public key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
        27: .line 93
            astore 4 /* ike */
        start local 4 // java.security.InvalidKeyException ike
        28: .line 95
            aload 4 /* ike */
            aload 3 /* ikse */
            invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        29: .line 96
            aload 4 /* ike */
            athrow
        end local 4 // java.security.InvalidKeyException ike
        end local 3 // java.security.spec.InvalidKeySpecException ikse
        30: .line 99
      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   31     0           encodedKey  [B
            0   31     1  encodedKeyAlgorithm  Ljava/lang/String;
            1   31     2                  key  Ljava/security/PublicKey;
            5    7     3           keyFactory  Ljava/security/KeyFactory;
            6    7     4              keySpec  Ljava/security/spec/X509EncodedKeySpec;
           11   14     3           keyFactory  Ljava/security/KeyFactory;
           13   14     4              keySpec  Ljava/security/spec/X509EncodedKeySpec;
           21   25     3                ikse2  Ljava/security/spec/InvalidKeySpecException;
           23   25     4                  ike  Ljava/security/InvalidKeyException;
           26   30     3                 ikse  Ljava/security/spec/InvalidKeySpecException;
           28   30     4                  ike  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
           1     7       8  Class java.security.NoSuchAlgorithmException
           9    14      15  Class java.security.NoSuchAlgorithmException
           9    14      20  Class java.security.spec.InvalidKeySpecException
           1     7      25  Class java.security.spec.InvalidKeySpecException
    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 115
            aconst_null
            astore 2 /* key */
        start local 2 // java.security.PrivateKey key
         1: .line 119
            aload 1 /* encodedKeyAlgorithm */
         2: .line 120
            invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
         3: .line 119
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/KeyFactory;
         4: .line 118
            astore 3 /* keyFactory */
        start local 3 // java.security.KeyFactory keyFactory
         5: .line 121
            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
         6: .line 122
            aload 3 /* keyFactory */
            aload 4 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
         7: areturn
        end local 4 // java.security.spec.PKCS8EncodedKeySpec keySpec
        end local 3 // java.security.KeyFactory keyFactory
         8: .line 123
      StackMap locals: byte[] java.lang.String java.security.PrivateKey
      StackMap stack: java.security.NoSuchAlgorithmException
            pop
         9: .line 128
            aload 1 /* encodedKeyAlgorithm */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
        10: .line 127
            astore 3 /* keyFactory */
        start local 3 // java.security.KeyFactory keyFactory
        11: .line 130
            new java.security.spec.PKCS8EncodedKeySpec
            dup
            aload 0 /* encodedKey */
            invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
        12: .line 129
            astore 4 /* keySpec */
        start local 4 // java.security.spec.PKCS8EncodedKeySpec keySpec
        13: .line 131
            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
        14: .line 132
            goto 30
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
        15: pop
        16: .line 133
            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
        17: .line 135
            aload 1 /* encodedKeyAlgorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        18: .line 136
            ldc "algorithm"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        19: .line 133
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        20: .line 137
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 3 /* ikse2 */
        start local 3 // java.security.spec.InvalidKeySpecException ikse2
        21: .line 139
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct private key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
        22: .line 138
            astore 4 /* ike */
        start local 4 // java.security.InvalidKeyException ike
        23: .line 140
            aload 4 /* ike */
            aload 3 /* ikse2 */
            invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        24: .line 141
            aload 4 /* ike */
            athrow
        end local 4 // java.security.InvalidKeyException ike
        end local 3 // java.security.spec.InvalidKeySpecException ikse2
        25: .line 143
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 3 /* ikse */
        start local 3 // java.security.spec.InvalidKeySpecException ikse
        26: .line 145
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct private key"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
        27: .line 144
            astore 4 /* ike */
        start local 4 // java.security.InvalidKeyException ike
        28: .line 146
            aload 4 /* ike */
            aload 3 /* ikse */
            invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        29: .line 147
            aload 4 /* ike */
            athrow
        end local 4 // java.security.InvalidKeyException ike
        end local 3 // java.security.spec.InvalidKeySpecException ikse
        30: .line 150
      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   31     0           encodedKey  [B
            0   31     1  encodedKeyAlgorithm  Ljava/lang/String;
            1   31     2                  key  Ljava/security/PrivateKey;
            5    8     3           keyFactory  Ljava/security/KeyFactory;
            6    8     4              keySpec  Ljava/security/spec/PKCS8EncodedKeySpec;
           11   14     3           keyFactory  Ljava/security/KeyFactory;
           13   14     4              keySpec  Ljava/security/spec/PKCS8EncodedKeySpec;
           21   25     3                ikse2  Ljava/security/spec/InvalidKeySpecException;
           23   25     4                  ike  Ljava/security/InvalidKeyException;
           26   30     3                 ikse  Ljava/security/spec/InvalidKeySpecException;
           28   30     4                  ike  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
           1     7       8  Class java.security.NoSuchAlgorithmException
           9    14      15  Class java.security.NoSuchAlgorithmException
           9    14      20  Class java.security.spec.InvalidKeySpecException
           1     7      25  Class java.security.spec.InvalidKeySpecException
    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 165
            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 171
            aconst_null
            astore 3 /* result */
        start local 3 // java.security.Key result
         1: .line 172
            iload 2 /* keyType */
            tableswitch { // 1 - 3
                    1: 10
                    2: 6
                    3: 2
              default: 13
          }
         2: .line 174
      StackMap locals: java.security.Key
      StackMap stack:
            aload 0 /* encoding */
         3: .line 175
            aload 1 /* keyAlgorithm */
         4: .line 174
            invokestatic com.sun.crypto.provider.ConstructKeys.constructSecretKey:([BLjava/lang/String;)Ljavax/crypto/SecretKey;
            astore 3 /* result */
         5: .line 176
            goto 13
         6: .line 178
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
         7: .line 179
            aload 1 /* keyAlgorithm */
         8: .line 178
            invokestatic com.sun.crypto.provider.ConstructKeys.constructPrivateKey:([BLjava/lang/String;)Ljava/security/PrivateKey;
            astore 3 /* result */
         9: .line 180
            goto 13
        10: .line 182
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
        11: .line 183
            aload 1 /* keyAlgorithm */
        12: .line 182
            invokestatic com.sun.crypto.provider.ConstructKeys.constructPublicKey:([BLjava/lang/String;)Ljava/security/PublicKey;
            astore 3 /* result */
        13: .line 186
      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"