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 52
            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[], int, int, java.lang.String);
    descriptor: ([BIILjava/lang/String;)Ljava/security/PublicKey;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=8, args_size=4
        start local 0 // byte[] encodedKey
        start local 1 // int ofs
        start local 2 // int len
        start local 3 // java.lang.String encodedKeyAlgorithm
         0: .line 57
            aconst_null
            astore 4 /* key */
        start local 4 // java.security.PublicKey key
         1: .line 58
            iload 1 /* ofs */
            ifne 3
            aload 0 /* encodedKey */
            arraylength
            iload 2 /* len */
            if_icmpne 3
         2: .line 59
            aload 0 /* encodedKey */
            goto 4
      StackMap locals: java.security.PublicKey
      StackMap stack:
         3: aload 0 /* encodedKey */
            iload 1 /* ofs */
            iload 1 /* ofs */
            iload 2 /* len */
            iadd
            invokestatic java.util.Arrays.copyOfRange:([BII)[B
         4: .line 58
      StackMap locals:
      StackMap stack: byte[]
            astore 5 /* keyBytes */
        start local 5 // byte[] keyBytes
         5: .line 60
            new java.security.spec.X509EncodedKeySpec
            dup
            aload 5 /* keyBytes */
            invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
            astore 6 /* keySpec */
        start local 6 // java.security.spec.X509EncodedKeySpec keySpec
         6: .line 63
            aload 3 /* encodedKeyAlgorithm */
         7: .line 64
            invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
         8: .line 63
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/KeyFactory;
         9: .line 62
            astore 7 /* keyFactory */
        start local 7 // java.security.KeyFactory keyFactory
        10: .line 65
            aload 7 /* keyFactory */
            aload 6 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
            astore 4 /* key */
        end local 7 // java.security.KeyFactory keyFactory
        11: .line 66
            goto 26
      StackMap locals: byte[] int int java.lang.String java.security.PublicKey byte[] java.security.spec.X509EncodedKeySpec
      StackMap stack: java.security.NoSuchAlgorithmException
        12: pop
        13: .line 71
            aload 3 /* encodedKeyAlgorithm */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
        14: .line 70
            astore 7 /* keyFactory */
        start local 7 // java.security.KeyFactory keyFactory
        15: .line 72
            aload 7 /* keyFactory */
            aload 6 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
            astore 4 /* key */
        end local 7 // java.security.KeyFactory keyFactory
        16: .line 73
            goto 26
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
        17: pop
        18: .line 74
            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
        19: .line 76
            aload 3 /* encodedKeyAlgorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        20: .line 77
            ldc "algorithm"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        21: .line 74
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        22: .line 78
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 7 /* ikse2 */
        start local 7 // java.security.spec.InvalidKeySpecException ikse2
        23: .line 79
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct public key"
            aload 7 /* ikse2 */
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 7 // java.security.spec.InvalidKeySpecException ikse2
        24: .line 81
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 7 /* ikse */
        start local 7 // java.security.spec.InvalidKeySpecException ikse
        25: .line 82
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct public key"
            aload 7 /* ikse */
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 7 // java.security.spec.InvalidKeySpecException ikse
        26: .line 85
      StackMap locals:
      StackMap stack:
            aload 4 /* key */
            areturn
        end local 6 // java.security.spec.X509EncodedKeySpec keySpec
        end local 5 // byte[] keyBytes
        end local 4 // java.security.PublicKey key
        end local 3 // java.lang.String encodedKeyAlgorithm
        end local 2 // int len
        end local 1 // int ofs
        end local 0 // byte[] encodedKey
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   27     0           encodedKey  [B
            0   27     1                  ofs  I
            0   27     2                  len  I
            0   27     3  encodedKeyAlgorithm  Ljava/lang/String;
            1   27     4                  key  Ljava/security/PublicKey;
            5   27     5             keyBytes  [B
            6   27     6              keySpec  Ljava/security/spec/X509EncodedKeySpec;
           10   11     7           keyFactory  Ljava/security/KeyFactory;
           15   16     7           keyFactory  Ljava/security/KeyFactory;
           23   24     7                ikse2  Ljava/security/spec/InvalidKeySpecException;
           25   26     7                 ikse  Ljava/security/spec/InvalidKeySpecException;
      Exception table:
        from    to  target  type
           6    11      12  Class java.security.NoSuchAlgorithmException
          13    16      17  Class java.security.NoSuchAlgorithmException
          13    16      22  Class java.security.spec.InvalidKeySpecException
           6    11      24  Class java.security.spec.InvalidKeySpecException
    Exceptions:
      throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
                     Name  Flags
      encodedKey           
      ofs                  
      len                  
      encodedKeyAlgorithm  

  private static final java.security.PrivateKey constructPrivateKey(byte[], int, int, java.lang.String);
    descriptor: ([BIILjava/lang/String;)Ljava/security/PrivateKey;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=10, args_size=4
        start local 0 // byte[] encodedKey
        start local 1 // int ofs
        start local 2 // int len
        start local 3 // java.lang.String encodedKeyAlgorithm
         0: .line 91
            aconst_null
            astore 4 /* key */
        start local 4 // java.security.PrivateKey key
         1: .line 92
            iload 1 /* ofs */
            ifne 3
            aload 0 /* encodedKey */
            arraylength
            iload 2 /* len */
            if_icmpne 3
         2: .line 93
            aload 0 /* encodedKey */
            goto 4
      StackMap locals: java.security.PrivateKey
      StackMap stack:
         3: aload 0 /* encodedKey */
            iload 1 /* ofs */
            iload 1 /* ofs */
            iload 2 /* len */
            iadd
            invokestatic java.util.Arrays.copyOfRange:([BII)[B
         4: .line 92
      StackMap locals:
      StackMap stack: byte[]
            astore 5 /* keyBytes */
        start local 5 // byte[] keyBytes
         5: .line 94
            new java.security.spec.PKCS8EncodedKeySpec
            dup
            aload 5 /* keyBytes */
            invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
            astore 6 /* keySpec */
        start local 6 // java.security.spec.PKCS8EncodedKeySpec keySpec
         6: .line 97
            aload 3 /* encodedKeyAlgorithm */
         7: .line 98
            invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
         8: .line 97
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/KeyFactory;
         9: .line 96
            astore 7 /* keyFactory */
        start local 7 // java.security.KeyFactory keyFactory
        10: .line 99
            aload 7 /* keyFactory */
            aload 6 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
            astore 9
        11: .line 118
            invokestatic jdk.internal.access.SharedSecrets.getJavaSecuritySpecAccess:()Ljdk/internal/access/JavaSecuritySpecAccess;
            aload 6 /* keySpec */
            invokeinterface jdk.internal.access.JavaSecuritySpecAccess.clearEncodedKeySpec:(Ljava/security/spec/EncodedKeySpec;)V
        12: .line 119
            aload 5 /* keyBytes */
            aload 0 /* encodedKey */
            if_acmpeq 14
        13: .line 120
            aload 5 /* keyBytes */
            iconst_0
            invokestatic java.util.Arrays.fill:([BB)V
        14: .line 99
      StackMap locals: byte[] int int java.lang.String java.security.PrivateKey byte[] java.security.spec.PKCS8EncodedKeySpec java.security.KeyFactory top java.security.PrivateKey
      StackMap stack:
            aload 9
            areturn
        end local 7 // java.security.KeyFactory keyFactory
        15: .line 100
      StackMap locals: byte[] int int java.lang.String java.security.PrivateKey byte[] java.security.spec.PKCS8EncodedKeySpec
      StackMap stack: java.security.NoSuchAlgorithmException
            pop
        16: .line 105
            aload 3 /* encodedKeyAlgorithm */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
        17: .line 104
            astore 7 /* keyFactory */
        start local 7 // java.security.KeyFactory keyFactory
        18: .line 106
            aload 7 /* keyFactory */
            aload 6 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
            astore 4 /* key */
        end local 7 // java.security.KeyFactory keyFactory
        19: .line 107
            goto 27
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
        20: pop
        21: .line 108
            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
        22: .line 110
            aload 3 /* encodedKeyAlgorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        23: .line 111
            ldc "algorithm"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        24: .line 108
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        25: .line 112
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 7 /* ikse2 */
        start local 7 // java.security.spec.InvalidKeySpecException ikse2
        26: .line 113
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct private key"
            aload 7 /* ikse2 */
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 7 // java.security.spec.InvalidKeySpecException ikse2
        27: .line 118
      StackMap locals:
      StackMap stack:
            invokestatic jdk.internal.access.SharedSecrets.getJavaSecuritySpecAccess:()Ljdk/internal/access/JavaSecuritySpecAccess;
            aload 6 /* keySpec */
            invokeinterface jdk.internal.access.JavaSecuritySpecAccess.clearEncodedKeySpec:(Ljava/security/spec/EncodedKeySpec;)V
        28: .line 119
            aload 5 /* keyBytes */
            aload 0 /* encodedKey */
            if_acmpeq 37
        29: .line 120
            aload 5 /* keyBytes */
            iconst_0
            invokestatic java.util.Arrays.fill:([BB)V
            goto 37
        30: .line 115
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 7 /* ikse */
        start local 7 // java.security.spec.InvalidKeySpecException ikse
        31: .line 116
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct private key"
            aload 7 /* ikse */
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 7 // java.security.spec.InvalidKeySpecException ikse
        32: .line 117
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 8
        33: .line 118
            invokestatic jdk.internal.access.SharedSecrets.getJavaSecuritySpecAccess:()Ljdk/internal/access/JavaSecuritySpecAccess;
            aload 6 /* keySpec */
            invokeinterface jdk.internal.access.JavaSecuritySpecAccess.clearEncodedKeySpec:(Ljava/security/spec/EncodedKeySpec;)V
        34: .line 119
            aload 5 /* keyBytes */
            aload 0 /* encodedKey */
            if_acmpeq 36
        35: .line 120
            aload 5 /* keyBytes */
            iconst_0
            invokestatic java.util.Arrays.fill:([BB)V
        36: .line 122
      StackMap locals: byte[] int int java.lang.String java.security.PrivateKey byte[] java.security.spec.PKCS8EncodedKeySpec top java.lang.Throwable
      StackMap stack:
            aload 8
            athrow
        37: .line 124
      StackMap locals: byte[] int int java.lang.String java.security.PrivateKey byte[] java.security.spec.PKCS8EncodedKeySpec
      StackMap stack:
            aload 4 /* key */
            areturn
        end local 6 // java.security.spec.PKCS8EncodedKeySpec keySpec
        end local 5 // byte[] keyBytes
        end local 4 // java.security.PrivateKey key
        end local 3 // java.lang.String encodedKeyAlgorithm
        end local 2 // int len
        end local 1 // int ofs
        end local 0 // byte[] encodedKey
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   38     0           encodedKey  [B
            0   38     1                  ofs  I
            0   38     2                  len  I
            0   38     3  encodedKeyAlgorithm  Ljava/lang/String;
            1   38     4                  key  Ljava/security/PrivateKey;
            5   38     5             keyBytes  [B
            6   38     6              keySpec  Ljava/security/spec/PKCS8EncodedKeySpec;
           10   15     7           keyFactory  Ljava/security/KeyFactory;
           18   19     7           keyFactory  Ljava/security/KeyFactory;
           26   27     7                ikse2  Ljava/security/spec/InvalidKeySpecException;
           31   32     7                 ikse  Ljava/security/spec/InvalidKeySpecException;
      Exception table:
        from    to  target  type
           6    11      15  Class java.security.NoSuchAlgorithmException
          16    19      20  Class java.security.NoSuchAlgorithmException
          16    19      25  Class java.security.spec.InvalidKeySpecException
           6    11      30  Class java.security.spec.InvalidKeySpecException
           6    11      32  any
          15    27      32  any
          30    32      32  any
    Exceptions:
      throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
                     Name  Flags
      encodedKey           
      ofs                  
      len                  
      encodedKeyAlgorithm  

  private static final javax.crypto.SecretKey constructSecretKey(byte[], int, int, java.lang.String);
    descriptor: ([BIILjava/lang/String;)Ljavax/crypto/SecretKey;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Code:
      stack=6, locals=4, args_size=4
        start local 0 // byte[] encodedKey
        start local 1 // int ofs
        start local 2 // int len
        start local 3 // java.lang.String encodedKeyAlgorithm
         0: .line 129
            new javax.crypto.spec.SecretKeySpec
            dup
            aload 0 /* encodedKey */
            iload 1 /* ofs */
            iload 2 /* len */
            aload 3 /* encodedKeyAlgorithm */
            invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BIILjava/lang/String;)V
            areturn
        end local 3 // java.lang.String encodedKeyAlgorithm
        end local 2 // int len
        end local 1 // int ofs
        end local 0 // byte[] encodedKey
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    1     0           encodedKey  [B
            0    1     1                  ofs  I
            0    1     2                  len  I
            0    1     3  encodedKeyAlgorithm  Ljava/lang/String;
    MethodParameters:
                     Name  Flags
      encodedKey           
      ofs                  
      len                  
      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=5, locals=3, args_size=3
        start local 0 // byte[] encoding
        start local 1 // java.lang.String keyAlgorithm
        start local 2 // int keyType
         0: .line 134
            aload 0 /* encoding */
            iconst_0
            aload 0 /* encoding */
            arraylength
            aload 1 /* keyAlgorithm */
         1: .line 135
            iload 2 /* keyType */
         2: .line 134
            invokestatic com.sun.crypto.provider.ConstructKeys.constructKey:([BIILjava/lang/String;I)Ljava/security/Key;
            areturn
        end local 2 // int keyType
        end local 1 // java.lang.String keyAlgorithm
        end local 0 // byte[] encoding
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0      encoding  [B
            0    3     1  keyAlgorithm  Ljava/lang/String;
            0    3     2       keyType  I
    Exceptions:
      throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
              Name  Flags
      encoding      
      keyAlgorithm  
      keyType       

  static final java.security.Key constructKey(byte[], int, int, java.lang.String, int);
    descriptor: ([BIILjava/lang/String;I)Ljava/security/Key;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    Code:
      stack=6, locals=5, args_size=5
        start local 0 // byte[] encoding
        start local 1 // int ofs
        start local 2 // int len
        start local 3 // java.lang.String keyAlgorithm
        start local 4 // int keyType
         0: .line 141
            iload 4 /* keyType */
            tableswitch { // 1 - 3
                    1: 5
                    2: 3
                    3: 1
              default: 7
          }
         1: .line 143
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
            iload 1 /* ofs */
            iload 2 /* len */
            aload 3 /* keyAlgorithm */
         2: .line 142
            invokestatic com.sun.crypto.provider.ConstructKeys.constructSecretKey:([BIILjava/lang/String;)Ljavax/crypto/SecretKey;
            goto 8
         3: .line 145
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
            iload 1 /* ofs */
            iload 2 /* len */
            aload 3 /* keyAlgorithm */
         4: .line 144
            invokestatic com.sun.crypto.provider.ConstructKeys.constructPrivateKey:([BIILjava/lang/String;)Ljava/security/PrivateKey;
            goto 8
         5: .line 147
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
            iload 1 /* ofs */
            iload 2 /* len */
            aload 3 /* keyAlgorithm */
         6: .line 146
            invokestatic com.sun.crypto.provider.ConstructKeys.constructPublicKey:([BIILjava/lang/String;)Ljava/security/PublicKey;
            goto 8
         7: .line 148
      StackMap locals:
      StackMap stack:
            new java.security.NoSuchAlgorithmException
            dup
            ldc "Unsupported key type"
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 141
      StackMap locals:
      StackMap stack: java.security.Key
            areturn
        end local 4 // int keyType
        end local 3 // java.lang.String keyAlgorithm
        end local 2 // int len
        end local 1 // int ofs
        end local 0 // byte[] encoding
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    9     0      encoding  [B
            0    9     1           ofs  I
            0    9     2           len  I
            0    9     3  keyAlgorithm  Ljava/lang/String;
            0    9     4       keyType  I
    Exceptions:
      throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
              Name  Flags
      encoding      
      ofs           
      len           
      keyAlgorithm  
      keyType       
}
SourceFile: "ConstructKeys.java"