final class sun.security.pkcs11.P11KeyGenerator extends javax.crypto.KeyGeneratorSpi
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.pkcs11.P11KeyGenerator
  super_class: javax.crypto.KeyGeneratorSpi
{
  private final sun.security.pkcs11.Token token;
    descriptor: Lsun/security/pkcs11/Token;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String algorithm;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private long mechanism;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private int keySize;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int significantKeySize;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private long keyType;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private boolean supportBothKeySizes;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  static int checkKeySize(long, int, sun.security.pkcs11.Token);
    descriptor: (JILsun/security/pkcs11/Token;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=8, args_size=3
        start local 0 // long keyGenMech
        start local 2 // int keySize
        start local 3 // sun.security.pkcs11.Token token
         0: .line 84
            lload 0 /* keyGenMech */
            l2i
            lookupswitch { // 3
                  288: 1
                  304: 7
                  305: 7
              default: 16
          }
         1: .line 86
      StackMap locals:
      StackMap stack:
            iload 2 /* keySize */
            bipush 64
            if_icmpeq 5
            iload 2 /* keySize */
            bipush 56
            if_icmpeq 5
         2: .line 87
            new java.security.InvalidAlgorithmParameterException
            dup
         3: .line 88
            ldc "DES key length must be 56 bits"
         4: .line 87
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 90
      StackMap locals:
      StackMap stack:
            bipush 56
            istore 4 /* sigKeySize */
        start local 4 // int sigKeySize
         6: .line 91
            goto 51
        end local 4 // int sigKeySize
         7: .line 94
      StackMap locals:
      StackMap stack:
            iload 2 /* keySize */
            bipush 112
            if_icmpeq 8
            iload 2 /* keySize */
            sipush 128
            if_icmpne 10
         8: .line 95
      StackMap locals:
      StackMap stack:
            bipush 112
            istore 4 /* sigKeySize */
        start local 4 // int sigKeySize
         9: .line 96
            goto 51
        end local 4 // int sigKeySize
      StackMap locals:
      StackMap stack:
        10: iload 2 /* keySize */
            sipush 168
            if_icmpeq 11
            iload 2 /* keySize */
            sipush 192
            if_icmpne 13
        11: .line 97
      StackMap locals:
      StackMap stack:
            sipush 168
            istore 4 /* sigKeySize */
        start local 4 // int sigKeySize
        12: .line 98
            goto 51
        end local 4 // int sigKeySize
        13: .line 99
      StackMap locals:
      StackMap stack:
            new java.security.InvalidAlgorithmParameterException
            dup
        14: .line 100
            ldc "DESede key length must be 112, or 168 bits"
        15: .line 99
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 105
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 5 /* info */
        start local 5 // sun.security.pkcs11.wrapper.CK_MECHANISM_INFO info
        17: .line 107
            aload 3 /* token */
            lload 0 /* keyGenMech */
            invokevirtual sun.security.pkcs11.Token.getMechanismInfo:(J)Lsun/security/pkcs11/wrapper/CK_MECHANISM_INFO;
            astore 5 /* info */
        18: .line 108
            goto 23
      StackMap locals: long int sun.security.pkcs11.Token top sun.security.pkcs11.wrapper.CK_MECHANISM_INFO
      StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
        19: astore 6 /* p11e */
        start local 6 // sun.security.pkcs11.wrapper.PKCS11Exception p11e
        20: .line 110
            new java.security.ProviderException
            dup
        21: .line 111
            ldc "Cannot retrieve mechanism info"
            aload 6 /* p11e */
        22: .line 110
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 6 // sun.security.pkcs11.wrapper.PKCS11Exception p11e
        23: .line 113
      StackMap locals:
      StackMap stack:
            aload 5 /* info */
            ifnonnull 25
        24: .line 116
            iload 2 /* keySize */
            ireturn
        25: .line 122
      StackMap locals:
      StackMap stack:
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMinKeySize:J
            l2i
            istore 6 /* minKeySize */
        start local 6 // int minKeySize
        26: .line 123
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMaxKeySize:J
            l2i
            istore 7 /* maxKeySize */
        start local 7 // int maxKeySize
        27: .line 124
            lload 0 /* keyGenMech */
            ldc 272
            lcmp
            ifne 28
            iload 6 /* minKeySize */
            bipush 8
            if_icmpge 30
        28: .line 125
      StackMap locals: int int
      StackMap stack:
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMinKeySize:J
            l2i
            iconst_3
            ishl
            istore 6 /* minKeySize */
        29: .line 126
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMaxKeySize:J
            l2i
            iconst_3
            ishl
            istore 7 /* maxKeySize */
        30: .line 129
      StackMap locals:
      StackMap stack:
            iload 6 /* minKeySize */
            bipush 40
            if_icmpge 31
            bipush 40
            istore 6 /* minKeySize */
        31: .line 130
      StackMap locals:
      StackMap stack:
            iload 2 /* keySize */
            iload 6 /* minKeySize */
            if_icmplt 32
            iload 2 /* keySize */
            iload 7 /* maxKeySize */
            if_icmple 37
        32: .line 131
      StackMap locals:
      StackMap stack:
            new java.security.InvalidAlgorithmParameterException
            dup
        33: .line 132
            new java.lang.StringBuilder
            dup
            ldc "Key length must be between "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 6 /* minKeySize */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        34: .line 133
            ldc " and "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 7 /* maxKeySize */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " bits"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        35: .line 132
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        36: .line 131
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        37: .line 135
      StackMap locals:
      StackMap stack:
            lload 0 /* keyGenMech */
            ldc 4224
            lcmp
            ifne 50
        38: .line 136
            iload 2 /* keySize */
            sipush 128
            if_icmpeq 50
            iload 2 /* keySize */
            sipush 192
            if_icmpeq 50
        39: .line 137
            iload 2 /* keySize */
            sipush 256
            if_icmpeq 50
        40: .line 138
            new java.security.InvalidAlgorithmParameterException
            dup
        41: .line 139
            new java.lang.StringBuilder
            dup
            ldc "AES key length must be "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 6 /* minKeySize */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        42: .line 140
            iload 7 /* maxKeySize */
            sipush 192
            if_icmplt 43
            ldc ", 192"
            goto 44
      StackMap locals: long int sun.security.pkcs11.Token top sun.security.pkcs11.wrapper.CK_MECHANISM_INFO int int
      StackMap stack: new 40 new 40 java.lang.StringBuilder
        43: ldc ""
      StackMap locals: long int sun.security.pkcs11.Token top sun.security.pkcs11.wrapper.CK_MECHANISM_INFO int int
      StackMap stack: new 40 new 40 java.lang.StringBuilder java.lang.String
        44: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        45: .line 141
            iload 7 /* maxKeySize */
            sipush 256
            if_icmplt 46
            ldc ", or 256"
            goto 47
      StackMap locals: long int sun.security.pkcs11.Token top sun.security.pkcs11.wrapper.CK_MECHANISM_INFO int int
      StackMap stack: new 40 new 40 java.lang.StringBuilder
        46: ldc ""
      StackMap locals: long int sun.security.pkcs11.Token top sun.security.pkcs11.wrapper.CK_MECHANISM_INFO int int
      StackMap stack: new 40 new 40 java.lang.StringBuilder java.lang.String
        47: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " bits"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        48: .line 139
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        49: .line 138
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        50: .line 144
      StackMap locals:
      StackMap stack:
            iload 2 /* keySize */
            istore 4 /* sigKeySize */
        end local 7 // int maxKeySize
        end local 6 // int minKeySize
        end local 5 // sun.security.pkcs11.wrapper.CK_MECHANISM_INFO info
        start local 4 // int sigKeySize
        51: .line 146
      StackMap locals: long int sun.security.pkcs11.Token int
      StackMap stack:
            iload 4 /* sigKeySize */
            ireturn
        end local 4 // int sigKeySize
        end local 3 // sun.security.pkcs11.Token token
        end local 2 // int keySize
        end local 0 // long keyGenMech
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   52     0  keyGenMech  J
            0   52     2     keySize  I
            0   52     3       token  Lsun/security/pkcs11/Token;
            6    7     4  sigKeySize  I
            9   10     4  sigKeySize  I
           12   13     4  sigKeySize  I
           51   52     4  sigKeySize  I
           17   51     5        info  Lsun/security/pkcs11/wrapper/CK_MECHANISM_INFO;
           20   23     6        p11e  Lsun/security/pkcs11/wrapper/PKCS11Exception;
           26   51     6  minKeySize  I
           27   51     7  maxKeySize  I
      Exception table:
        from    to  target  type
          17    18      19  Class sun.security.pkcs11.wrapper.PKCS11Exception
    Exceptions:
      throws java.security.InvalidAlgorithmParameterException, java.security.ProviderException
    MethodParameters:
            Name  Flags
      keyGenMech  
      keySize     
      token       

  void <init>(sun.security.pkcs11.Token, java.lang.String, long);
    descriptor: (Lsun/security/pkcs11/Token;Ljava/lang/String;J)V
    flags: (0x0000) 
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // sun.security.pkcs11.P11KeyGenerator this
        start local 1 // sun.security.pkcs11.Token token
        start local 2 // java.lang.String algorithm
        start local 3 // long mechanism
         0: .line 151
            aload 0 /* this */
            invokespecial javax.crypto.KeyGeneratorSpi.<init>:()V
         1: .line 152
            aload 0 /* this */
            aload 1 /* token */
            putfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
         2: .line 153
            aload 0 /* this */
            aload 2 /* algorithm */
            putfield sun.security.pkcs11.P11KeyGenerator.algorithm:Ljava/lang/String;
         3: .line 154
            aload 0 /* this */
            lload 3 /* mechanism */
            putfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
         4: .line 156
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 305
            lcmp
            ifne 10
         5: .line 161
            aload 0 /* this */
         6: .line 162
            aload 1 /* token */
            getfield sun.security.pkcs11.Token.provider:Lsun/security/pkcs11/SunPKCS11;
            getfield sun.security.pkcs11.SunPKCS11.config:Lsun/security/pkcs11/Config;
            ldc 304
            invokevirtual sun.security.pkcs11.Config.isEnabled:(J)Z
            ifeq 8
         7: .line 163
            aload 1 /* token */
            ldc 304
            invokevirtual sun.security.pkcs11.Token.getMechanismInfo:(J)Lsun/security/pkcs11/wrapper/CK_MECHANISM_INFO;
            ifnull 8
            iconst_1
            goto 9
      StackMap locals: sun.security.pkcs11.P11KeyGenerator sun.security.pkcs11.Token java.lang.String long
      StackMap stack: sun.security.pkcs11.P11KeyGenerator
         8: iconst_0
         9: .line 161
      StackMap locals: sun.security.pkcs11.P11KeyGenerator sun.security.pkcs11.Token java.lang.String long
      StackMap stack: sun.security.pkcs11.P11KeyGenerator int
            putfield sun.security.pkcs11.P11KeyGenerator.supportBothKeySizes:Z
        10: .line 165
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.P11KeyGenerator.setDefaultKeySize:()V
        11: .line 166
            return
        end local 3 // long mechanism
        end local 2 // java.lang.String algorithm
        end local 1 // sun.security.pkcs11.Token token
        end local 0 // sun.security.pkcs11.P11KeyGenerator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   12     0       this  Lsun/security/pkcs11/P11KeyGenerator;
            0   12     1      token  Lsun/security/pkcs11/Token;
            0   12     2  algorithm  Ljava/lang/String;
            0   12     3  mechanism  J
    Exceptions:
      throws sun.security.pkcs11.wrapper.PKCS11Exception
    MethodParameters:
           Name  Flags
      token      
      algorithm  
      mechanism  

  private void setDefaultKeySize();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // sun.security.pkcs11.P11KeyGenerator this
         0: .line 170
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            l2i
            lookupswitch { // 6
                  272: 13
                  288: 1
                  304: 4
                  305: 7
                 4224: 10
                 4240: 16
              default: 19
          }
         1: .line 172
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            bipush 64
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
         2: .line 173
            aload 0 /* this */
            ldc 19
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
         3: .line 174
            goto 20
         4: .line 176
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
         5: .line 177
            aload 0 /* this */
            ldc 20
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
         6: .line 178
            goto 20
         7: .line 180
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 192
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
         8: .line 181
            aload 0 /* this */
            ldc 21
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
         9: .line 182
            goto 20
        10: .line 184
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        11: .line 185
            aload 0 /* this */
            ldc 31
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        12: .line 186
            goto 20
        13: .line 188
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        14: .line 189
            aload 0 /* this */
            ldc 18
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        15: .line 190
            goto 20
        16: .line 192
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        17: .line 193
            aload 0 /* this */
            ldc 32
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        18: .line 194
            goto 20
        19: .line 196
      StackMap locals:
      StackMap stack:
            new java.security.ProviderException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unknown mechanism "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
        20: .line 199
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keySize:I
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            invokestatic sun.security.pkcs11.P11KeyGenerator.checkKeySize:(JILsun/security/pkcs11/Token;)I
            putfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
        21: .line 200
            goto 24
      StackMap locals:
      StackMap stack: java.security.InvalidAlgorithmParameterException
        22: astore 1 /* iape */
        start local 1 // java.security.InvalidAlgorithmParameterException iape
        23: .line 201
            new java.security.ProviderException
            dup
            ldc "Unsupported default key size"
            aload 1 /* iape */
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.security.InvalidAlgorithmParameterException iape
        24: .line 203
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.security.pkcs11.P11KeyGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   25     0  this  Lsun/security/pkcs11/P11KeyGenerator;
           23   24     1  iape  Ljava/security/InvalidAlgorithmParameterException;
      Exception table:
        from    to  target  type
          20    21      22  Class java.security.InvalidAlgorithmParameterException

  protected void engineInit(java.security.SecureRandom);
    descriptor: (Ljava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // sun.security.pkcs11.P11KeyGenerator this
        start local 1 // java.security.SecureRandom random
         0: .line 207
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.ensureValid:()V
         1: .line 208
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.P11KeyGenerator.setDefaultKeySize:()V
         2: .line 209
            return
        end local 1 // java.security.SecureRandom random
        end local 0 // sun.security.pkcs11.P11KeyGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lsun/security/pkcs11/P11KeyGenerator;
            0    3     1  random  Ljava/security/SecureRandom;
    MethodParameters:
        Name  Flags
      random  

  protected void engineInit(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
    descriptor: (Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // sun.security.pkcs11.P11KeyGenerator this
        start local 1 // java.security.spec.AlgorithmParameterSpec params
        start local 2 // java.security.SecureRandom random
         0: .line 214
            new java.security.InvalidAlgorithmParameterException
            dup
         1: .line 215
            ldc "AlgorithmParameterSpec not supported"
         2: .line 214
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.spec.AlgorithmParameterSpec params
        end local 0 // sun.security.pkcs11.P11KeyGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lsun/security/pkcs11/P11KeyGenerator;
            0    3     1  params  Ljava/security/spec/AlgorithmParameterSpec;
            0    3     2  random  Ljava/security/SecureRandom;
    Exceptions:
      throws java.security.InvalidAlgorithmParameterException
    MethodParameters:
        Name  Flags
      params  
      random  

  protected void engineInit(int, java.security.SecureRandom);
    descriptor: (ILjava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // sun.security.pkcs11.P11KeyGenerator this
        start local 1 // int keySize
        start local 2 // java.security.SecureRandom random
         0: .line 220
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.ensureValid:()V
         1: .line 223
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            iload 1 /* keySize */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            invokestatic sun.security.pkcs11.P11KeyGenerator.checkKeySize:(JILsun/security/pkcs11/Token;)I
            istore 3 /* newSignificantKeySize */
        start local 3 // int newSignificantKeySize
         2: .line 224
            goto 6
        end local 3 // int newSignificantKeySize
      StackMap locals:
      StackMap stack: java.security.InvalidAlgorithmParameterException
         3: astore 4 /* iape */
        start local 4 // java.security.InvalidAlgorithmParameterException iape
         4: .line 226
            new java.security.InvalidParameterException
            dup
            invokespecial java.security.InvalidParameterException.<init>:()V
            aload 4 /* iape */
            invokevirtual java.security.InvalidParameterException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
         5: .line 225
            checkcast java.security.InvalidParameterException
            athrow
        end local 4 // java.security.InvalidAlgorithmParameterException iape
        start local 3 // int newSignificantKeySize
         6: .line 228
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 304
            lcmp
            ifeq 8
         7: .line 229
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 305
            lcmp
            ifne 25
         8: .line 230
      StackMap locals:
      StackMap stack:
            iload 3 /* newSignificantKeySize */
            bipush 112
            if_icmpne 10
         9: .line 231
            ldc 304
            goto 11
      StackMap locals:
      StackMap stack:
        10: ldc 305
        11: .line 230
      StackMap locals:
      StackMap stack: long
            lstore 4 /* newMechanism */
        start local 4 // long newMechanism
        12: .line 232
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            lload 4 /* newMechanism */
            lcmp
            ifeq 25
        13: .line 233
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.supportBothKeySizes:Z
            ifeq 20
        14: .line 234
            aload 0 /* this */
            lload 4 /* newMechanism */
            putfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
        15: .line 236
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 304
            lcmp
            ifne 17
        16: .line 237
            ldc 20
            goto 18
      StackMap locals: sun.security.pkcs11.P11KeyGenerator int java.security.SecureRandom int long
      StackMap stack: sun.security.pkcs11.P11KeyGenerator
        17: ldc 21
        18: .line 236
      StackMap locals: sun.security.pkcs11.P11KeyGenerator int java.security.SecureRandom int long
      StackMap stack: sun.security.pkcs11.P11KeyGenerator long
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        19: .line 238
            goto 25
        20: .line 239
      StackMap locals:
      StackMap stack:
            new java.security.InvalidParameterException
            dup
        21: .line 240
            new java.lang.StringBuilder
            dup
            ldc "Only "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        22: .line 241
            ldc "-bit DESede is supported"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        23: .line 240
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        24: .line 239
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // long newMechanism
        25: .line 245
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* keySize */
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        26: .line 246
            aload 0 /* this */
            iload 3 /* newSignificantKeySize */
            putfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
        27: .line 247
            return
        end local 3 // int newSignificantKeySize
        end local 2 // java.security.SecureRandom random
        end local 1 // int keySize
        end local 0 // sun.security.pkcs11.P11KeyGenerator this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   28     0                   this  Lsun/security/pkcs11/P11KeyGenerator;
            0   28     1                keySize  I
            0   28     2                 random  Ljava/security/SecureRandom;
            2    3     3  newSignificantKeySize  I
            6   28     3  newSignificantKeySize  I
            4    6     4                   iape  Ljava/security/InvalidAlgorithmParameterException;
           12   25     4           newMechanism  J
      Exception table:
        from    to  target  type
           1     2       3  Class java.security.InvalidAlgorithmParameterException
    MethodParameters:
         Name  Flags
      keySize  
      random   

  protected javax.crypto.SecretKey engineGenerateKey();
    descriptor: ()Ljavax/crypto/SecretKey;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=9, locals=7, args_size=1
        start local 0 // sun.security.pkcs11.P11KeyGenerator this
         0: .line 251
            aconst_null
            astore 1 /* session */
        start local 1 // sun.security.pkcs11.Session session
         1: .line 253
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.getObjSession:()Lsun/security/pkcs11/Session;
            astore 1 /* session */
         2: .line 255
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keyType:J
            l2i
            tableswitch { // 19 - 21
                   19: 3
                   20: 3
                   21: 3
              default: 7
          }
         3: .line 260
      StackMap locals: sun.security.pkcs11.Session
      StackMap stack:
            iconst_1
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
         4: .line 261
            new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            lconst_0
            ldc 4
            invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
            aastore
         5: .line 260
            astore 2 /* attributes */
        start local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
         6: .line 263
            goto 11
        end local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
         7: .line 265
      StackMap locals:
      StackMap stack:
            iconst_2
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
         8: .line 266
            new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            lconst_0
            ldc 4
            invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
            aastore
            dup
            iconst_1
         9: .line 267
            new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            ldc 353
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keySize:I
            iconst_3
            ishr
            i2l
            invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
            aastore
        10: .line 265
            astore 2 /* attributes */
        start local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        11: .line 271
      StackMap locals: sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
        12: .line 272
            ldc "generate"
            ldc 4
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keyType:J
            aload 2 /* attributes */
        13: .line 271
            invokevirtual sun.security.pkcs11.Token.getAttributes:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
            astore 2 /* attributes */
        14: .line 273
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
        15: .line 274
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Session.id:()J
            new sun.security.pkcs11.wrapper.CK_MECHANISM
            dup
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            invokespecial sun.security.pkcs11.wrapper.CK_MECHANISM.<init>:(J)V
            aload 2 /* attributes */
        16: .line 273
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GenerateKey:(JLsun/security/pkcs11/wrapper/CK_MECHANISM;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J
            lstore 3 /* keyID */
        start local 3 // long keyID
        17: .line 276
            aload 1 /* session */
            lload 3 /* keyID */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.algorithm:Ljava/lang/String;
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
            aload 2 /* attributes */
        18: .line 275
            invokestatic sun.security.pkcs11.P11Key.secretKey:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)Ljavax/crypto/SecretKey;
            astore 6
        19: .line 280
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        20: .line 275
            aload 6
            areturn
        end local 3 // long keyID
        end local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        21: .line 277
      StackMap locals: sun.security.pkcs11.P11KeyGenerator sun.security.pkcs11.Session
      StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
            astore 2 /* e */
        start local 2 // sun.security.pkcs11.wrapper.PKCS11Exception e
        22: .line 278
            new java.security.ProviderException
            dup
            ldc "Could not generate key"
            aload 2 /* e */
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // sun.security.pkcs11.wrapper.PKCS11Exception e
        23: .line 279
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 5
        24: .line 280
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        25: .line 281
            aload 5
            athrow
        end local 1 // sun.security.pkcs11.Session session
        end local 0 // sun.security.pkcs11.P11KeyGenerator this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   26     0        this  Lsun/security/pkcs11/P11KeyGenerator;
            1   26     1     session  Lsun/security/pkcs11/Session;
            6    7     2  attributes  [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
           11   21     2  attributes  [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
           17   21     3       keyID  J
           22   23     2           e  Lsun/security/pkcs11/wrapper/PKCS11Exception;
      Exception table:
        from    to  target  type
           1    19      21  Class sun.security.pkcs11.wrapper.PKCS11Exception
           1    19      23  any
          21    23      23  any
}
SourceFile: "P11KeyGenerator.java"