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 52
        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 52
        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 52
        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.iMinKeySize:I
            istore 6 /* minKeySize */
        start local 6 // int minKeySize
        26: .line 123
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.iMaxKeySize:I
            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 31
        28: .line 125
      StackMap locals: int int
      StackMap stack:
            iload 6 /* minKeySize */
            bipush 8
            invokestatic java.lang.Math.multiplyExact:(II)I
            istore 6 /* minKeySize */
        29: .line 126
            iload 7 /* maxKeySize */
            ldc 2147483647
            if_icmpeq 31
        30: .line 127
            iload 7 /* maxKeySize */
            bipush 8
            invokestatic java.lang.Math.multiplyExact:(II)I
            istore 7 /* maxKeySize */
        31: .line 131
      StackMap locals:
      StackMap stack:
            iload 6 /* minKeySize */
            bipush 40
            if_icmpge 32
            bipush 40
            istore 6 /* minKeySize */
        32: .line 132
      StackMap locals:
      StackMap stack:
            iload 2 /* keySize */
            iload 6 /* minKeySize */
            if_icmplt 33
            iload 2 /* keySize */
            iload 7 /* maxKeySize */
            if_icmple 38
        33: .line 133
      StackMap locals:
      StackMap stack:
            new java.security.InvalidAlgorithmParameterException
            dup
        34: .line 134
            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;
        35: .line 135
            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;
        36: .line 134
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        37: .line 133
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        38: .line 137
      StackMap locals:
      StackMap stack:
            lload 0 /* keyGenMech */
            ldc 4224
            lcmp
            ifne 51
        39: .line 138
            iload 2 /* keySize */
            sipush 128
            if_icmpeq 51
            iload 2 /* keySize */
            sipush 192
            if_icmpeq 51
        40: .line 139
            iload 2 /* keySize */
            sipush 256
            if_icmpeq 51
        41: .line 140
            new java.security.InvalidAlgorithmParameterException
            dup
        42: .line 141
            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;
        43: .line 142
            iload 7 /* maxKeySize */
            sipush 192
            if_icmplt 44
            ldc ", 192"
            goto 45
      StackMap locals: long int sun.security.pkcs11.Token top sun.security.pkcs11.wrapper.CK_MECHANISM_INFO int int
      StackMap stack: new 41 new 41 java.lang.StringBuilder
        44: ldc ""
      StackMap locals: long int sun.security.pkcs11.Token top sun.security.pkcs11.wrapper.CK_MECHANISM_INFO int int
      StackMap stack: new 41 new 41 java.lang.StringBuilder java.lang.String
        45: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        46: .line 143
            iload 7 /* maxKeySize */
            sipush 256
            if_icmplt 47
            ldc ", or 256"
            goto 48
      StackMap locals: long int sun.security.pkcs11.Token top sun.security.pkcs11.wrapper.CK_MECHANISM_INFO int int
      StackMap stack: new 41 new 41 java.lang.StringBuilder
        47: ldc ""
      StackMap locals: long int sun.security.pkcs11.Token top sun.security.pkcs11.wrapper.CK_MECHANISM_INFO int int
      StackMap stack: new 41 new 41 java.lang.StringBuilder java.lang.String
        48: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " bits"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        49: .line 141
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        50: .line 140
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        51: .line 146
      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
        52: .line 148
      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   53     0  keyGenMech  J
            0   53     2     keySize  I
            0   53     3       token  Lsun/security/pkcs11/Token;
            6    7     4  sigKeySize  I
            9   10     4  sigKeySize  I
           12   13     4  sigKeySize  I
           52   53     4  sigKeySize  I
           17   52     5        info  Lsun/security/pkcs11/wrapper/CK_MECHANISM_INFO;
           20   23     6        p11e  Lsun/security/pkcs11/wrapper/PKCS11Exception;
           26   52     6  minKeySize  I
           27   52     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 153
            aload 0 /* this */
            invokespecial javax.crypto.KeyGeneratorSpi.<init>:()V
         1: .line 154
            aload 0 /* this */
            aload 1 /* token */
            putfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
         2: .line 155
            aload 0 /* this */
            aload 2 /* algorithm */
            putfield sun.security.pkcs11.P11KeyGenerator.algorithm:Ljava/lang/String;
         3: .line 156
            aload 0 /* this */
            lload 3 /* mechanism */
            putfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
         4: .line 158
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 305
            lcmp
            ifne 10
         5: .line 163
            aload 0 /* this */
         6: .line 164
            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 165
            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 163
      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 167
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.P11KeyGenerator.setDefaultKeySize:()V
        11: .line 168
            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 172
            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 174
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            bipush 64
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
         2: .line 175
            aload 0 /* this */
            ldc 19
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
         3: .line 176
            goto 20
         4: .line 178
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
         5: .line 179
            aload 0 /* this */
            ldc 20
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
         6: .line 180
            goto 20
         7: .line 182
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 192
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
         8: .line 183
            aload 0 /* this */
            ldc 21
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
         9: .line 184
            goto 20
        10: .line 186
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        11: .line 187
            aload 0 /* this */
            ldc 31
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        12: .line 188
            goto 20
        13: .line 190
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        14: .line 191
            aload 0 /* this */
            ldc 18
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        15: .line 192
            goto 20
        16: .line 194
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        17: .line 195
            aload 0 /* this */
            ldc 32
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        18: .line 196
            goto 20
        19: .line 198
      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 201
      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 202
            goto 24
      StackMap locals:
      StackMap stack: java.security.InvalidAlgorithmParameterException
        22: astore 1 /* iape */
        start local 1 // java.security.InvalidAlgorithmParameterException iape
        23: .line 203
            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 205
      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 209
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.ensureValid:()V
         1: .line 210
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.P11KeyGenerator.setDefaultKeySize:()V
         2: .line 211
            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 216
            new java.security.InvalidAlgorithmParameterException
            dup
         1: .line 217
            ldc "AlgorithmParameterSpec not supported"
         2: .line 216
            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 222
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.ensureValid:()V
         1: .line 225
            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 226
            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 228
            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 227
            checkcast java.security.InvalidParameterException
            athrow
        end local 4 // java.security.InvalidAlgorithmParameterException iape
        start local 3 // int newSignificantKeySize
         6: .line 230
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 304
            lcmp
            ifeq 8
         7: .line 231
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 305
            lcmp
            ifne 25
         8: .line 232
      StackMap locals:
      StackMap stack:
            iload 3 /* newSignificantKeySize */
            bipush 112
            if_icmpne 10
         9: .line 233
            ldc 304
            goto 11
      StackMap locals:
      StackMap stack:
        10: ldc 305
        11: .line 232
      StackMap locals:
      StackMap stack: long
            lstore 4 /* newMechanism */
        start local 4 // long newMechanism
        12: .line 234
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            lload 4 /* newMechanism */
            lcmp
            ifeq 25
        13: .line 235
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.supportBothKeySizes:Z
            ifeq 20
        14: .line 236
            aload 0 /* this */
            lload 4 /* newMechanism */
            putfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
        15: .line 238
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 304
            lcmp
            ifne 17
        16: .line 239
            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 238
      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 240
            goto 25
        20: .line 241
      StackMap locals:
      StackMap stack:
            new java.security.InvalidParameterException
            dup
        21: .line 242
            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 243
            ldc "-bit DESede is supported"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        23: .line 242
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        24: .line 241
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // long newMechanism
        25: .line 247
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* keySize */
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        26: .line 248
            aload 0 /* this */
            iload 3 /* newSignificantKeySize */
            putfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
        27: .line 249
            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 253
            aconst_null
            astore 1 /* session */
        start local 1 // sun.security.pkcs11.Session session
         1: .line 255
            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 257
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keyType:J
            l2i
            tableswitch { // 19 - 21
                   19: 3
                   20: 3
                   21: 3
              default: 7
          }
         3: .line 262
      StackMap locals: sun.security.pkcs11.Session
      StackMap stack:
            iconst_1
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
         4: .line 263
            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 262
            astore 2 /* attributes */
        start local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
         6: .line 265
            goto 11
        end local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
         7: .line 267
      StackMap locals:
      StackMap stack:
            iconst_2
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
         8: .line 268
            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 269
            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 267
            astore 2 /* attributes */
        start local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        11: .line 273
      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 274
            ldc "generate"
            ldc 4
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keyType:J
            aload 2 /* attributes */
        13: .line 273
            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 275
            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 276
            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 275
            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 278
            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 277
            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 282
            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 277
            aload 6
            areturn
        end local 3 // long keyID
        end local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        21: .line 279
      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 280
            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 281
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 5
        24: .line 282
            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 283
            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"