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

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

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

  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=6, 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 75
            aload 0 /* this */
            invokespecial javax.crypto.KeyGeneratorSpi.<init>:()V
         1: .line 76
            aload 0 /* this */
            aload 1 /* token */
            putfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
         2: .line 77
            aload 0 /* this */
            aload 2 /* algorithm */
            putfield sun.security.pkcs11.P11KeyGenerator.algorithm:Ljava/lang/String;
         3: .line 78
            aload 0 /* this */
            lload 3 /* mechanism */
            putfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
         4: .line 80
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 305
            lcmp
            ifne 11
         5: .line 85
            aload 0 /* this */
         6: .line 86
            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 87
            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 85
      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 88
            goto 26
      StackMap locals:
      StackMap stack:
        11: aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 272
            lcmp
            ifne 21
        12: .line 89
            aload 1 /* token */
            lload 3 /* mechanism */
            invokevirtual sun.security.pkcs11.Token.getMechanismInfo:(J)Lsun/security/pkcs11/wrapper/CK_MECHANISM_INFO;
            astore 5 /* info */
        start local 5 // sun.security.pkcs11.wrapper.CK_MECHANISM_INFO info
        13: .line 93
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMinKeySize:J
            ldc 8
            lcmp
            ifge 17
        14: .line 94
            aload 0 /* this */
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMinKeySize:J
            l2i
            iconst_3
            ishl
            putfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
        15: .line 95
            aload 0 /* this */
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMaxKeySize:J
            l2i
            iconst_3
            ishl
            putfield sun.security.pkcs11.P11KeyGenerator.maxKeySize:I
        16: .line 96
            goto 19
        17: .line 97
      StackMap locals: sun.security.pkcs11.wrapper.CK_MECHANISM_INFO
      StackMap stack:
            aload 0 /* this */
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMinKeySize:J
            l2i
            putfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
        18: .line 98
            aload 0 /* this */
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMaxKeySize:J
            l2i
            putfield sun.security.pkcs11.P11KeyGenerator.maxKeySize:I
        19: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
            bipush 40
            if_icmpge 26
            aload 0 /* this */
            bipush 40
            putfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
        end local 5 // sun.security.pkcs11.wrapper.CK_MECHANISM_INFO info
        20: .line 102
            goto 26
      StackMap locals:
      StackMap stack:
        21: aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            ldc 4240
            lcmp
            ifne 26
        22: .line 103
            aload 1 /* token */
            lload 3 /* mechanism */
            invokevirtual sun.security.pkcs11.Token.getMechanismInfo:(J)Lsun/security/pkcs11/wrapper/CK_MECHANISM_INFO;
            astore 5 /* info */
        start local 5 // sun.security.pkcs11.wrapper.CK_MECHANISM_INFO info
        23: .line 104
            aload 0 /* this */
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMaxKeySize:J
            l2i
            iconst_3
            ishl
            putfield sun.security.pkcs11.P11KeyGenerator.maxKeySize:I
        24: .line 105
            aload 0 /* this */
            aload 5 /* info */
            getfield sun.security.pkcs11.wrapper.CK_MECHANISM_INFO.ulMinKeySize:J
            l2i
            iconst_3
            ishl
            putfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
        25: .line 107
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
            bipush 40
            if_icmpge 26
            aload 0 /* this */
            bipush 40
            putfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
        end local 5 // sun.security.pkcs11.wrapper.CK_MECHANISM_INFO info
        26: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.P11KeyGenerator.setDefaultKeySize:()V
        27: .line 111
            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   28     0       this  Lsun/security/pkcs11/P11KeyGenerator;
            0   28     1      token  Lsun/security/pkcs11/Token;
            0   28     2  algorithm  Ljava/lang/String;
            0   28     3  mechanism  J
           13   20     5       info  Lsun/security/pkcs11/wrapper/CK_MECHANISM_INFO;
           23   26     5       info  Lsun/security/pkcs11/wrapper/CK_MECHANISM_INFO;
    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 116
            iconst_0
            istore 1 /* validateKeySize */
        start local 1 // boolean validateKeySize
         1: .line 117
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            l2i
            lookupswitch { // 6
                  272: 18
                  288: 2
                  304: 6
                  305: 10
                 4224: 14
                 4240: 22
              default: 26
          }
         2: .line 119
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            bipush 64
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
         3: .line 120
            aload 0 /* this */
            bipush 56
            putfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
         4: .line 121
            aload 0 /* this */
            ldc 19
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
         5: .line 122
            goto 27
         6: .line 124
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
         7: .line 125
            aload 0 /* this */
            bipush 112
            putfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
         8: .line 126
            aload 0 /* this */
            ldc 20
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
         9: .line 127
            goto 27
        10: .line 129
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            sipush 192
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        11: .line 130
            aload 0 /* this */
            sipush 168
            putfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
        12: .line 131
            aload 0 /* this */
            ldc 21
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        13: .line 132
            goto 27
        14: .line 134
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc 31
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        15: .line 135
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        16: .line 136
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
        17: .line 137
            goto 27
        18: .line 139
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc 18
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        19: .line 140
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        20: .line 141
            iconst_1
            istore 1 /* validateKeySize */
        21: .line 142
            goto 27
        22: .line 144
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc 32
            putfield sun.security.pkcs11.P11KeyGenerator.keyType:J
        23: .line 145
            aload 0 /* this */
            sipush 128
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        24: .line 146
            iconst_1
            istore 1 /* validateKeySize */
        25: .line 147
            goto 27
        26: .line 149
      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
        27: .line 151
      StackMap locals:
      StackMap stack:
            iload 1 /* validateKeySize */
            ifeq 30
        28: .line 152
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keySize:I
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.maxKeySize:I
            if_icmpgt 29
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keySize:I
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
            if_icmpge 30
        29: .line 153
      StackMap locals:
      StackMap stack:
            new java.security.ProviderException
            dup
            ldc "Unsupported key size"
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
        30: .line 155
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean validateKeySize
        end local 0 // sun.security.pkcs11.P11KeyGenerator this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   31     0             this  Lsun/security/pkcs11/P11KeyGenerator;
            1   31     1  validateKeySize  Z

  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 159
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.ensureValid:()V
         1: .line 160
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.P11KeyGenerator.setDefaultKeySize:()V
         2: .line 161
            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 166
            new java.security.InvalidAlgorithmParameterException
            dup
         1: .line 167
            ldc "AlgorithmParameterSpec not supported"
         2: .line 166
            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=5, 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 172
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.ensureValid:()V
         1: .line 173
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            l2i
            lookupswitch { // 6
                  272: 33
                  288: 2
                  304: 7
                  305: 7
                 4224: 26
                 4240: 33
              default: 42
          }
         2: .line 175
      StackMap locals:
      StackMap stack:
            iload 1 /* keySize */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keySize:I
            if_icmpeq 43
         3: .line 176
            iload 1 /* keySize */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
            if_icmpeq 43
         4: .line 177
            new java.security.InvalidParameterException
            dup
         5: .line 178
            ldc "DES key length must be 56 bits"
         6: .line 177
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 184
      StackMap locals:
      StackMap stack:
            iload 1 /* keySize */
            bipush 112
            if_icmpeq 8
            iload 1 /* keySize */
            sipush 128
            if_icmpne 10
         8: .line 185
      StackMap locals:
      StackMap stack:
            ldc 304
            lstore 3 /* newMechanism */
        start local 3 // long newMechanism
         9: .line 186
            goto 16
        end local 3 // long newMechanism
      StackMap locals:
      StackMap stack:
        10: iload 1 /* keySize */
            sipush 168
            if_icmpeq 11
            iload 1 /* keySize */
            sipush 192
            if_icmpne 13
        11: .line 187
      StackMap locals:
      StackMap stack:
            ldc 305
            lstore 3 /* newMechanism */
        start local 3 // long newMechanism
        12: .line 188
            goto 16
        end local 3 // long newMechanism
        13: .line 189
      StackMap locals:
      StackMap stack:
            new java.security.InvalidParameterException
            dup
        14: .line 190
            ldc "DESede key length must be 112, or 168 bits"
        15: .line 189
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        start local 3 // long newMechanism
        16: .line 192
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
            lload 3 /* newMechanism */
            lcmp
            ifeq 43
        17: .line 193
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.supportBothKeySizes:Z
            ifeq 21
        18: .line 194
            aload 0 /* this */
            lload 3 /* newMechanism */
            putfield sun.security.pkcs11.P11KeyGenerator.mechanism:J
        19: .line 195
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.P11KeyGenerator.setDefaultKeySize:()V
        20: .line 196
            goto 43
        21: .line 197
      StackMap locals:
      StackMap stack:
            new java.security.InvalidParameterException
            dup
        22: .line 198
            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;
        23: .line 199
            ldc "-bit DESede key length is supported"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        24: .line 198
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        25: .line 197
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // long newMechanism
        26: .line 204
      StackMap locals:
      StackMap stack:
            iload 1 /* keySize */
            sipush 128
            if_icmpeq 30
            iload 1 /* keySize */
            sipush 192
            if_icmpeq 30
            iload 1 /* keySize */
            sipush 256
            if_icmpeq 30
        27: .line 205
            new java.security.InvalidParameterException
            dup
        28: .line 206
            ldc "AES key length must be 128, 192, or 256 bits"
        29: .line 205
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        30: .line 208
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* keySize */
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        31: .line 209
            aload 0 /* this */
            iload 1 /* keySize */
            putfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
        32: .line 210
            goto 43
        33: .line 213
      StackMap locals:
      StackMap stack:
            iload 1 /* keySize */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
            if_icmplt 34
            iload 1 /* keySize */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.maxKeySize:I
            if_icmple 39
        34: .line 214
      StackMap locals:
      StackMap stack:
            new java.security.InvalidParameterException
            dup
        35: .line 215
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.algorithm:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " key length must be between "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        36: .line 216
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.minKeySize:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " and "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.maxKeySize:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " bits"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        37: .line 215
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        38: .line 214
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        39: .line 218
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* keySize */
            putfield sun.security.pkcs11.P11KeyGenerator.keySize:I
        40: .line 219
            aload 0 /* this */
            iload 1 /* keySize */
            putfield sun.security.pkcs11.P11KeyGenerator.significantKeySize:I
        41: .line 220
            goto 43
        42: .line 222
      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
        43: .line 224
      StackMap locals:
      StackMap stack:
            return
        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   44     0          this  Lsun/security/pkcs11/P11KeyGenerator;
            0   44     1       keySize  I
            0   44     2        random  Ljava/security/SecureRandom;
            9   10     3  newMechanism  J
           12   13     3  newMechanism  J
           16   26     3  newMechanism  J
    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 228
            aconst_null
            astore 1 /* session */
        start local 1 // sun.security.pkcs11.Session session
         1: .line 230
            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 232
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keyType:J
            l2i
            tableswitch { // 19 - 21
                   19: 3
                   20: 3
                   21: 3
              default: 7
          }
         3: .line 237
      StackMap locals: sun.security.pkcs11.Session
      StackMap stack:
            iconst_1
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
         4: .line 238
            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 237
            astore 2 /* attributes */
        start local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
         6: .line 240
            goto 11
        end local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
         7: .line 242
      StackMap locals:
      StackMap stack:
            iconst_2
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
         8: .line 243
            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 244
            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 242
            astore 2 /* attributes */
        start local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        11: .line 248
      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 249
            ldc "generate"
            ldc 4
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyGenerator.keyType:J
            aload 2 /* attributes */
        13: .line 248
            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 250
            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 251
            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 250
            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 253
            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 252
            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 257
            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 252
            aload 6
            areturn
        end local 3 // long keyID
        end local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        21: .line 254
      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 255
            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 256
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 5
        24: .line 257
            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 258
            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"