final class sun.security.pkcs11.ConstructKeys
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.pkcs11.ConstructKeys
  super_class: java.lang.Object
{
  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.pkcs11.ConstructKeys this
         0: .line 595
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.security.pkcs11.ConstructKeys this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/pkcs11/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=4, args_size=2
        start local 0 // byte[] encodedKey
        start local 1 // java.lang.String encodedKeyAlgorithm
         0: .line 610
            aload 1 /* encodedKeyAlgorithm */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
         1: .line 609
            astore 2 /* keyFactory */
        start local 2 // java.security.KeyFactory keyFactory
         2: .line 611
            new java.security.spec.X509EncodedKeySpec
            dup
            aload 0 /* encodedKey */
            invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
            astore 3 /* keySpec */
        start local 3 // java.security.spec.X509EncodedKeySpec keySpec
         3: .line 612
            aload 2 /* keyFactory */
            aload 3 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
         4: areturn
        end local 3 // java.security.spec.X509EncodedKeySpec keySpec
        end local 2 // java.security.KeyFactory keyFactory
         5: .line 613
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
            astore 2 /* nsae */
        start local 2 // java.security.NoSuchAlgorithmException nsae
         6: .line 614
            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
         7: .line 616
            aload 1 /* encodedKeyAlgorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         8: .line 617
            ldc "algorithm"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* nsae */
         9: .line 614
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.NoSuchAlgorithmException nsae
        10: .line 618
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 2 /* ike */
        start local 2 // java.security.spec.InvalidKeySpecException ike
        11: .line 619
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct public key"
            aload 2 /* ike */
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.spec.InvalidKeySpecException ike
        end local 1 // java.lang.String encodedKeyAlgorithm
        end local 0 // byte[] encodedKey
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   12     0           encodedKey  [B
            0   12     1  encodedKeyAlgorithm  Ljava/lang/String;
            2    5     2           keyFactory  Ljava/security/KeyFactory;
            3    5     3              keySpec  Ljava/security/spec/X509EncodedKeySpec;
            6   10     2                 nsae  Ljava/security/NoSuchAlgorithmException;
           11   12     2                  ike  Ljava/security/spec/InvalidKeySpecException;
      Exception table:
        from    to  target  type
           0     4       5  Class java.security.NoSuchAlgorithmException
           0     4      10  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=4, args_size=2
        start local 0 // byte[] encodedKey
        start local 1 // java.lang.String encodedKeyAlgorithm
         0: .line 637
            aload 1 /* encodedKeyAlgorithm */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
         1: .line 636
            astore 2 /* keyFactory */
        start local 2 // java.security.KeyFactory keyFactory
         2: .line 638
            new java.security.spec.PKCS8EncodedKeySpec
            dup
            aload 0 /* encodedKey */
            invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
            astore 3 /* keySpec */
        start local 3 // java.security.spec.PKCS8EncodedKeySpec keySpec
         3: .line 639
            aload 2 /* keyFactory */
            aload 3 /* keySpec */
            invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
         4: areturn
        end local 3 // java.security.spec.PKCS8EncodedKeySpec keySpec
        end local 2 // java.security.KeyFactory keyFactory
         5: .line 640
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
            astore 2 /* nsae */
        start local 2 // java.security.NoSuchAlgorithmException nsae
         6: .line 641
            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
         7: .line 643
            aload 1 /* encodedKeyAlgorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         8: .line 644
            ldc "algorithm"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* nsae */
         9: .line 641
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.NoSuchAlgorithmException nsae
        10: .line 645
      StackMap locals:
      StackMap stack: java.security.spec.InvalidKeySpecException
            astore 2 /* ike */
        start local 2 // java.security.spec.InvalidKeySpecException ike
        11: .line 646
            new java.security.InvalidKeyException
            dup
            ldc "Cannot construct private key"
            aload 2 /* ike */
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.spec.InvalidKeySpecException ike
        end local 1 // java.lang.String encodedKeyAlgorithm
        end local 0 // byte[] encodedKey
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   12     0           encodedKey  [B
            0   12     1  encodedKeyAlgorithm  Ljava/lang/String;
            2    5     2           keyFactory  Ljava/security/KeyFactory;
            3    5     3              keySpec  Ljava/security/spec/PKCS8EncodedKeySpec;
            6   10     2                 nsae  Ljava/security/NoSuchAlgorithmException;
           11   12     2                  ike  Ljava/security/spec/InvalidKeySpecException;
      Exception table:
        from    to  target  type
           0     4       5  Class java.security.NoSuchAlgorithmException
           0     4      10  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 661
            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=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 666
            iload 2 /* keyType */
            tableswitch { // 1 - 3
                    1: 3
                    2: 2
                    3: 1
              default: 4
          }
         1: .line 668
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
            aload 1 /* keyAlgorithm */
            invokestatic sun.security.pkcs11.ConstructKeys.constructSecretKey:([BLjava/lang/String;)Ljavax/crypto/SecretKey;
            areturn
         2: .line 670
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
            aload 1 /* keyAlgorithm */
            invokestatic sun.security.pkcs11.ConstructKeys.constructPrivateKey:([BLjava/lang/String;)Ljava/security/PrivateKey;
            areturn
         3: .line 672
      StackMap locals:
      StackMap stack:
            aload 0 /* encoding */
            aload 1 /* keyAlgorithm */
            invokestatic sun.security.pkcs11.ConstructKeys.constructPublicKey:([BLjava/lang/String;)Ljava/security/PublicKey;
            areturn
         4: .line 674
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unknown keytype "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* keyType */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // int keyType
        end local 1 // java.lang.String keyAlgorithm
        end local 0 // byte[] encoding
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0      encoding  [B
            0    5     1  keyAlgorithm  Ljava/lang/String;
            0    5     2       keyType  I
    Exceptions:
      throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
              Name  Flags
      encoding      
      keyAlgorithm  
      keyType       
}
SourceFile: "P11RSACipher.java"