public final class sun.security.pkcs11.P11TlsKeyMaterialGenerator extends javax.crypto.KeyGeneratorSpi
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: sun.security.pkcs11.P11TlsKeyMaterialGenerator
  super_class: javax.crypto.KeyGeneratorSpi
{
  private static final java.lang.String MSG;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "TlsKeyMaterialGenerator must be initialized using a TlsKeyMaterialParameterSpec"

  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 tlsVersion;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private sun.security.internal.spec.TlsKeyMaterialParameterSpec spec;
    descriptor: Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
    flags: (0x0002) ACC_PRIVATE

  private sun.security.pkcs11.P11Key p11Key;
    descriptor: Lsun/security/pkcs11/P11Key;
    flags: (0x0002) ACC_PRIVATE

  private final boolean supportSSLv3;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(sun.security.pkcs11.Token, java.lang.String, long);
    descriptor: (Lsun/security/pkcs11/Token;Ljava/lang/String;J)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // sun.security.pkcs11.P11TlsKeyMaterialGenerator this
        start local 1 // sun.security.pkcs11.Token token
        start local 2 // java.lang.String algorithm
        start local 3 // long mechanism
         0: .line 79
            aload 0 /* this */
            invokespecial javax.crypto.KeyGeneratorSpi.<init>:()V
         1: .line 80
            aload 0 /* this */
            aload 1 /* token */
            putfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.token:Lsun/security/pkcs11/Token;
         2: .line 81
            aload 0 /* this */
            aload 2 /* algorithm */
            putfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.algorithm:Ljava/lang/String;
         3: .line 82
            aload 0 /* this */
            lload 3 /* mechanism */
            putfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.mechanism:J
         4: .line 87
            aload 0 /* this */
            lload 3 /* mechanism */
            ldc 882
            lcmp
            ifne 5
            iconst_1
            goto 6
      StackMap locals: sun.security.pkcs11.P11TlsKeyMaterialGenerator sun.security.pkcs11.Token java.lang.String long
      StackMap stack: sun.security.pkcs11.P11TlsKeyMaterialGenerator
         5: iconst_0
      StackMap locals: sun.security.pkcs11.P11TlsKeyMaterialGenerator sun.security.pkcs11.Token java.lang.String long
      StackMap stack: sun.security.pkcs11.P11TlsKeyMaterialGenerator int
         6: putfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.supportSSLv3:Z
         7: .line 88
            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.P11TlsKeyMaterialGenerator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0       this  Lsun/security/pkcs11/P11TlsKeyMaterialGenerator;
            0    8     1      token  Lsun/security/pkcs11/Token;
            0    8     2  algorithm  Ljava/lang/String;
            0    8     3  mechanism  J
    Exceptions:
      throws sun.security.pkcs11.wrapper.PKCS11Exception
    MethodParameters:
           Name  Flags
      token      
      algorithm  
      mechanism  

  protected void engineInit(java.security.SecureRandom);
    descriptor: (Ljava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.security.pkcs11.P11TlsKeyMaterialGenerator this
        start local 1 // java.security.SecureRandom random
         0: .line 91
            new java.security.InvalidParameterException
            dup
            ldc "TlsKeyMaterialGenerator must be initialized using a TlsKeyMaterialParameterSpec"
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.SecureRandom random
        end local 0 // sun.security.pkcs11.P11TlsKeyMaterialGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lsun/security/pkcs11/P11TlsKeyMaterialGenerator;
            0    1     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=5, locals=5, args_size=3
        start local 0 // sun.security.pkcs11.P11TlsKeyMaterialGenerator this
        start local 1 // java.security.spec.AlgorithmParameterSpec params
        start local 2 // java.security.SecureRandom random
         0: .line 97
            aload 1 /* params */
            instanceof sun.security.internal.spec.TlsKeyMaterialParameterSpec
            ifne 2
         1: .line 98
            new java.security.InvalidAlgorithmParameterException
            dup
            ldc "TlsKeyMaterialGenerator must be initialized using a TlsKeyMaterialParameterSpec"
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 101
      StackMap locals:
      StackMap stack:
            aload 1 /* params */
            checkcast sun.security.internal.spec.TlsKeyMaterialParameterSpec
            astore 3 /* spec */
        start local 3 // sun.security.internal.spec.TlsKeyMaterialParameterSpec spec
         3: .line 102
            aload 0 /* this */
            aload 3 /* spec */
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getMajorVersion:()I
            bipush 8
            ishl
            aload 3 /* spec */
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getMinorVersion:()I
            ior
            putfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
         4: .line 104
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
            sipush 768
            if_icmpne 5
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.supportSSLv3:Z
            ifeq 6
         5: .line 105
      StackMap locals: sun.security.internal.spec.TlsKeyMaterialParameterSpec
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
            sipush 768
            if_icmplt 6
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
            sipush 771
            if_icmple 14
         6: .line 106
      StackMap locals:
      StackMap stack:
            new java.security.InvalidAlgorithmParameterException
            dup
         7: .line 107
            new java.lang.StringBuilder
            dup
            ldc "Only"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.supportSSLv3:Z
            ifeq 8
            ldc " SSL 3.0,"
            goto 9
      StackMap locals: sun.security.pkcs11.P11TlsKeyMaterialGenerator java.security.spec.AlgorithmParameterSpec java.security.SecureRandom sun.security.internal.spec.TlsKeyMaterialParameterSpec
      StackMap stack: new 6 new 6 java.lang.StringBuilder
         8: ldc ""
      StackMap locals: sun.security.pkcs11.P11TlsKeyMaterialGenerator java.security.spec.AlgorithmParameterSpec java.security.SecureRandom sun.security.internal.spec.TlsKeyMaterialParameterSpec
      StackMap stack: new 6 new 6 java.lang.StringBuilder java.lang.String
         9: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        10: .line 108
            ldc " TLS 1.0, TLS 1.1 and TLS 1.2 are supported ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        11: .line 109
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        12: .line 107
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        13: .line 106
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
        15: .line 113
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.token:Lsun/security/pkcs11/Token;
            aload 3 /* spec */
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getMasterSecret:()Ljavax/crypto/SecretKey;
            ldc "TlsMasterSecret"
        16: .line 112
            invokestatic sun.security.pkcs11.P11SecretKeyFactory.convertKey:(Lsun/security/pkcs11/Token;Ljava/security/Key;Ljava/lang/String;)Lsun/security/pkcs11/P11Key;
            putfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.p11Key:Lsun/security/pkcs11/P11Key;
        17: .line 114
            goto 20
      StackMap locals:
      StackMap stack: java.security.InvalidKeyException
        18: astore 4 /* e */
        start local 4 // java.security.InvalidKeyException e
        19: .line 115
            new java.security.InvalidAlgorithmParameterException
            dup
            ldc "init() failed"
            aload 4 /* e */
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 4 // java.security.InvalidKeyException e
        20: .line 117
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* spec */
            putfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
        21: .line 118
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
            sipush 768
            if_icmpne 24
        22: .line 119
            aload 0 /* this */
            ldc 882
            putfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.mechanism:J
        23: .line 120
            goto 26
      StackMap locals:
      StackMap stack:
        24: aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
            sipush 769
            if_icmpeq 25
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
            sipush 770
            if_icmpne 26
        25: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc 886
            putfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.mechanism:J
        26: .line 123
      StackMap locals:
      StackMap stack:
            return
        end local 3 // sun.security.internal.spec.TlsKeyMaterialParameterSpec spec
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.spec.AlgorithmParameterSpec params
        end local 0 // sun.security.pkcs11.P11TlsKeyMaterialGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   27     0    this  Lsun/security/pkcs11/P11TlsKeyMaterialGenerator;
            0   27     1  params  Ljava/security/spec/AlgorithmParameterSpec;
            0   27     2  random  Ljava/security/SecureRandom;
            3   27     3    spec  Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
           19   20     4       e  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
          14    17      18  Class java.security.InvalidKeyException
    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=3, locals=3, args_size=3
        start local 0 // sun.security.pkcs11.P11TlsKeyMaterialGenerator this
        start local 1 // int keysize
        start local 2 // java.security.SecureRandom random
         0: .line 126
            new java.security.InvalidParameterException
            dup
            ldc "TlsKeyMaterialGenerator must be initialized using a TlsKeyMaterialParameterSpec"
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.security.SecureRandom random
        end local 1 // int keysize
        end local 0 // sun.security.pkcs11.P11TlsKeyMaterialGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lsun/security/pkcs11/P11TlsKeyMaterialGenerator;
            0    1     1  keysize  I
            0    1     2   random  Ljava/security/SecureRandom;
    MethodParameters:
         Name  Flags
      keysize  
      random   

  protected javax.crypto.SecretKey engineGenerateKey();
    descriptor: ()Ljavax/crypto/SecretKey;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=9, locals=25, args_size=1
        start local 0 // sun.security.pkcs11.P11TlsKeyMaterialGenerator this
         0: .line 131
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            ifnonnull 4
         1: .line 132
            new java.lang.IllegalStateException
            dup
         2: .line 133
            ldc "TlsKeyMaterialGenerator must be initialized"
         3: .line 132
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 135
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getMacKeyLength:()I
            iconst_3
            ishl
            istore 1 /* macBits */
        start local 1 // int macBits
         5: .line 136
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getIvLength:()I
            iconst_3
            ishl
            istore 2 /* ivBits */
        start local 2 // int ivBits
         6: .line 138
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getExpandedCipherKeyLength:()I
            iconst_3
            ishl
            istore 3 /* expandedKeyBits */
        start local 3 // int expandedKeyBits
         7: .line 139
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getCipherKeyLength:()I
            iconst_3
            ishl
            istore 4 /* keyBits */
        start local 4 // int keyBits
         8: .line 141
            iload 3 /* expandedKeyBits */
            ifeq 11
         9: .line 142
            iconst_1
            istore 5 /* isExportable */
        start local 5 // boolean isExportable
        10: .line 143
            goto 13
        end local 5 // boolean isExportable
        11: .line 144
      StackMap locals: sun.security.pkcs11.P11TlsKeyMaterialGenerator int int int int
      StackMap stack:
            iconst_0
            istore 5 /* isExportable */
        start local 5 // boolean isExportable
        12: .line 145
            iload 4 /* keyBits */
            istore 3 /* expandedKeyBits */
        13: .line 148
      StackMap locals: int
      StackMap stack:
            new sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA
            dup
        14: .line 149
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getClientRandom:()[B
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getServerRandom:()[B
        15: .line 148
            invokespecial sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA.<init>:([B[B)V
            astore 6 /* random */
        start local 6 // sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA random
        16: .line 150
            aconst_null
            astore 7 /* params */
        start local 7 // java.lang.Object params
        17: .line 151
            aconst_null
            astore 8 /* ckMechanism */
        start local 8 // sun.security.pkcs11.wrapper.CK_MECHANISM ckMechanism
        18: .line 152
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
            sipush 771
            if_icmpge 24
        19: .line 153
            new sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_PARAMS
            dup
        20: .line 154
            iload 1 /* macBits */
            iload 4 /* keyBits */
            iload 2 /* ivBits */
            iload 5 /* isExportable */
            aload 6 /* random */
        21: .line 153
            invokespecial sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_PARAMS.<init>:(IIIZLsun/security/pkcs11/wrapper/CK_SSL3_RANDOM_DATA;)V
            astore 7 /* params */
        22: .line 155
            new sun.security.pkcs11.wrapper.CK_MECHANISM
            dup
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.mechanism:J
            aload 7 /* params */
            checkcast sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_PARAMS
            invokespecial sun.security.pkcs11.wrapper.CK_MECHANISM.<init>:(JLsun/security/pkcs11/wrapper/CK_SSL3_KEY_MAT_PARAMS;)V
            astore 8 /* ckMechanism */
        23: .line 156
            goto 30
      StackMap locals: sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA java.lang.Object sun.security.pkcs11.wrapper.CK_MECHANISM
      StackMap stack:
        24: aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.tlsVersion:I
            sipush 771
            if_icmpne 30
        25: .line 157
            new sun.security.pkcs11.wrapper.CK_TLS12_KEY_MAT_PARAMS
            dup
        26: .line 158
            iload 1 /* macBits */
            iload 4 /* keyBits */
            iload 2 /* ivBits */
            iload 5 /* isExportable */
            aload 6 /* random */
        27: .line 159
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getPRFHashAlg:()Ljava/lang/String;
            invokestatic sun.security.pkcs11.wrapper.Functions.getHashMechId:(Ljava/lang/String;)J
        28: .line 157
            invokespecial sun.security.pkcs11.wrapper.CK_TLS12_KEY_MAT_PARAMS.<init>:(IIIZLsun/security/pkcs11/wrapper/CK_SSL3_RANDOM_DATA;J)V
            astore 7 /* params */
        29: .line 160
            new sun.security.pkcs11.wrapper.CK_MECHANISM
            dup
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.mechanism:J
            aload 7 /* params */
            checkcast sun.security.pkcs11.wrapper.CK_TLS12_KEY_MAT_PARAMS
            invokespecial sun.security.pkcs11.wrapper.CK_MECHANISM.<init>:(JLsun/security/pkcs11/wrapper/CK_TLS12_KEY_MAT_PARAMS;)V
            astore 8 /* ckMechanism */
        30: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getCipherAlgorithm:()Ljava/lang/String;
            astore 9 /* cipherAlgorithm */
        start local 9 // java.lang.String cipherAlgorithm
        31: .line 164
            aload 9 /* cipherAlgorithm */
            invokestatic sun.security.pkcs11.P11SecretKeyFactory.getKeyType:(Ljava/lang/String;)J
            lstore 10 /* keyType */
        start local 10 // long keyType
        32: .line 165
            lload 10 /* keyType */
            lconst_0
            lcmp
            ifge 38
        33: .line 166
            iload 4 /* keyBits */
            ifeq 37
        34: .line 167
            new java.security.ProviderException
            dup
        35: .line 168
            new java.lang.StringBuilder
            dup
            ldc "Unknown algorithm: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.spec:Lsun/security/internal/spec/TlsKeyMaterialParameterSpec;
            invokevirtual sun.security.internal.spec.TlsKeyMaterialParameterSpec.getCipherAlgorithm:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        36: .line 167
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
        37: .line 171
      StackMap locals: java.lang.String long
      StackMap stack:
            ldc 16
            lstore 10 /* keyType */
        38: .line 175
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 12 /* session */
        start local 12 // sun.security.pkcs11.Session session
        39: .line 177
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.getObjSession:()Lsun/security/pkcs11/Session;
            astore 12 /* session */
        40: .line 179
            iload 4 /* keyBits */
            ifeq 47
        41: .line 180
            iconst_3
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
        42: .line 181
            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
        43: .line 182
            new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            ldc 256
            lload 10 /* keyType */
            invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
            aastore
            dup
            iconst_2
        44: .line 183
            new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            ldc 353
            iload 3 /* expandedKeyBits */
            iconst_3
            ishr
            i2l
            invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
            aastore
        45: .line 180
            astore 13 /* attributes */
        start local 13 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        46: .line 185
            goto 48
        end local 13 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        47: .line 187
      StackMap locals: sun.security.pkcs11.Session
      StackMap stack:
            iconst_0
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            astore 13 /* attributes */
        start local 13 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        48: .line 189
      StackMap locals: sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.token:Lsun/security/pkcs11/Token;
        49: .line 190
            ldc "generate"
            ldc 4
            lload 10 /* keyType */
            aload 13 /* attributes */
        50: .line 189
            invokevirtual sun.security.pkcs11.Token.getAttributes:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
            astore 13 /* attributes */
        51: .line 192
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.p11Key:Lsun/security/pkcs11/P11Key;
            invokevirtual sun.security.pkcs11.P11Key.getKeyID:()J
            lstore 14 /* p11KeyID */
        start local 14 // long p11KeyID
        52: .line 194
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.token:Lsun/security/pkcs11/Token;
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
            aload 12 /* session */
            invokevirtual sun.security.pkcs11.Session.id:()J
        53: .line 195
            aload 8 /* ckMechanism */
            lload 14 /* p11KeyID */
            aload 13 /* attributes */
        54: .line 194
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_DeriveKey:(JLsun/security/pkcs11/wrapper/CK_MECHANISM;J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J
            pop2
        55: .line 196
            goto 59
      StackMap locals: sun.security.pkcs11.P11TlsKeyMaterialGenerator int int int int int sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA java.lang.Object sun.security.pkcs11.wrapper.CK_MECHANISM java.lang.String long sun.security.pkcs11.Session sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] long
      StackMap stack: java.lang.Throwable
        56: astore 16
        57: .line 197
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.p11Key:Lsun/security/pkcs11/P11Key;
            invokevirtual sun.security.pkcs11.P11Key.releaseKeyID:()V
        58: .line 198
            aload 16
            athrow
        59: .line 197
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.p11Key:Lsun/security/pkcs11/P11Key;
            invokevirtual sun.security.pkcs11.P11Key.releaseKeyID:()V
        60: .line 200
            aconst_null
            astore 16 /* out */
        start local 16 // sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT out
        61: .line 201
            aload 7 /* params */
            instanceof sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_PARAMS
            ifeq 64
        62: .line 202
            aload 7 /* params */
            checkcast sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_PARAMS
            getfield sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_PARAMS.pReturnedKeyMaterial:Lsun/security/pkcs11/wrapper/CK_SSL3_KEY_MAT_OUT;
            astore 16 /* out */
        63: .line 203
            goto 66
      StackMap locals: sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT
      StackMap stack:
        64: aload 7 /* params */
            instanceof sun.security.pkcs11.wrapper.CK_TLS12_KEY_MAT_PARAMS
            ifeq 66
        65: .line 204
            aload 7 /* params */
            checkcast sun.security.pkcs11.wrapper.CK_TLS12_KEY_MAT_PARAMS
            getfield sun.security.pkcs11.wrapper.CK_TLS12_KEY_MAT_PARAMS.pReturnedKeyMaterial:Lsun/security/pkcs11/wrapper/CK_SSL3_KEY_MAT_OUT;
            astore 16 /* out */
        66: .line 215
      StackMap locals:
      StackMap stack:
            iload 1 /* macBits */
            ifeq 72
        67: .line 217
            aload 12 /* session */
            aload 16 /* out */
            getfield sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT.hClientMacSecret:J
            ldc "MAC"
            iload 1 /* macBits */
            aload 13 /* attributes */
        68: .line 216
            invokestatic sun.security.pkcs11.P11Key.secretKey:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)Ljavax/crypto/SecretKey;
            astore 17 /* clientMacKey */
        start local 17 // javax.crypto.SecretKey clientMacKey
        69: .line 219
            aload 12 /* session */
            aload 16 /* out */
            getfield sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT.hServerMacSecret:J
            ldc "MAC"
            iload 1 /* macBits */
            aload 13 /* attributes */
        70: .line 218
            invokestatic sun.security.pkcs11.P11Key.secretKey:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)Ljavax/crypto/SecretKey;
            astore 18 /* serverMacKey */
        start local 18 // javax.crypto.SecretKey serverMacKey
        71: .line 220
            goto 74
        end local 18 // javax.crypto.SecretKey serverMacKey
        end local 17 // javax.crypto.SecretKey clientMacKey
        72: .line 221
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 17 /* clientMacKey */
        start local 17 // javax.crypto.SecretKey clientMacKey
        73: .line 222
            aconst_null
            astore 18 /* serverMacKey */
        start local 18 // javax.crypto.SecretKey serverMacKey
        74: .line 226
      StackMap locals: javax.crypto.SecretKey javax.crypto.SecretKey
      StackMap stack:
            iload 4 /* keyBits */
            ifeq 82
        75: .line 227
            aload 12 /* session */
            aload 16 /* out */
            getfield sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT.hClientKey:J
        76: .line 228
            aload 9 /* cipherAlgorithm */
            iload 3 /* expandedKeyBits */
            aload 13 /* attributes */
        77: .line 227
            invokestatic sun.security.pkcs11.P11Key.secretKey:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)Ljavax/crypto/SecretKey;
            astore 19 /* clientCipherKey */
        start local 19 // javax.crypto.SecretKey clientCipherKey
        78: .line 229
            aload 12 /* session */
            aload 16 /* out */
            getfield sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT.hServerKey:J
        79: .line 230
            aload 9 /* cipherAlgorithm */
            iload 3 /* expandedKeyBits */
            aload 13 /* attributes */
        80: .line 229
            invokestatic sun.security.pkcs11.P11Key.secretKey:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)Ljavax/crypto/SecretKey;
            astore 20 /* serverCipherKey */
        start local 20 // javax.crypto.SecretKey serverCipherKey
        81: .line 231
            goto 84
        end local 20 // javax.crypto.SecretKey serverCipherKey
        end local 19 // javax.crypto.SecretKey clientCipherKey
        82: .line 232
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 19 /* clientCipherKey */
        start local 19 // javax.crypto.SecretKey clientCipherKey
        83: .line 233
            aconst_null
            astore 20 /* serverCipherKey */
        start local 20 // javax.crypto.SecretKey serverCipherKey
        84: .line 235
      StackMap locals: javax.crypto.SecretKey javax.crypto.SecretKey
      StackMap stack:
            aload 16 /* out */
            getfield sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT.pIVClient:[B
            ifnonnull 86
        85: .line 236
            aconst_null
            goto 87
      StackMap locals:
      StackMap stack:
        86: new javax.crypto.spec.IvParameterSpec
            dup
            aload 16 /* out */
            getfield sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT.pIVClient:[B
            invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
        87: .line 235
      StackMap locals:
      StackMap stack: javax.crypto.spec.IvParameterSpec
            astore 21 /* clientIv */
        start local 21 // javax.crypto.spec.IvParameterSpec clientIv
        88: .line 237
            aload 16 /* out */
            getfield sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT.pIVServer:[B
            ifnonnull 90
        89: .line 238
            aconst_null
            goto 91
      StackMap locals: javax.crypto.spec.IvParameterSpec
      StackMap stack:
        90: new javax.crypto.spec.IvParameterSpec
            dup
            aload 16 /* out */
            getfield sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT.pIVServer:[B
            invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
        91: .line 237
      StackMap locals:
      StackMap stack: javax.crypto.spec.IvParameterSpec
            astore 22 /* serverIv */
        start local 22 // javax.crypto.spec.IvParameterSpec serverIv
        92: .line 240
            new sun.security.internal.spec.TlsKeyMaterialSpec
            dup
            aload 17 /* clientMacKey */
            aload 18 /* serverMacKey */
        93: .line 241
            aload 19 /* clientCipherKey */
            aload 21 /* clientIv */
            aload 20 /* serverCipherKey */
            aload 22 /* serverIv */
        94: .line 240
            invokespecial sun.security.internal.spec.TlsKeyMaterialSpec.<init>:(Ljavax/crypto/SecretKey;Ljavax/crypto/SecretKey;Ljavax/crypto/SecretKey;Ljavax/crypto/spec/IvParameterSpec;Ljavax/crypto/SecretKey;Ljavax/crypto/spec/IvParameterSpec;)V
            astore 24
        95: .line 246
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.token:Lsun/security/pkcs11/Token;
            aload 12 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        96: .line 240
            aload 24
            areturn
        end local 22 // javax.crypto.spec.IvParameterSpec serverIv
        end local 21 // javax.crypto.spec.IvParameterSpec clientIv
        end local 20 // javax.crypto.SecretKey serverCipherKey
        end local 19 // javax.crypto.SecretKey clientCipherKey
        end local 18 // javax.crypto.SecretKey serverMacKey
        end local 17 // javax.crypto.SecretKey clientMacKey
        end local 16 // sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT out
        end local 14 // long p11KeyID
        end local 13 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        97: .line 243
      StackMap locals: sun.security.pkcs11.P11TlsKeyMaterialGenerator int int int int int sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA java.lang.Object sun.security.pkcs11.wrapper.CK_MECHANISM java.lang.String long sun.security.pkcs11.Session
      StackMap stack: java.lang.Exception
            astore 13 /* e */
        start local 13 // java.lang.Exception e
        98: .line 244
            new java.security.ProviderException
            dup
            ldc "Could not generate key"
            aload 13 /* e */
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 13 // java.lang.Exception e
        99: .line 245
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 23
       100: .line 246
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsKeyMaterialGenerator.token:Lsun/security/pkcs11/Token;
            aload 12 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
       101: .line 247
            aload 23
            athrow
        end local 12 // sun.security.pkcs11.Session session
        end local 10 // long keyType
        end local 9 // java.lang.String cipherAlgorithm
        end local 8 // sun.security.pkcs11.wrapper.CK_MECHANISM ckMechanism
        end local 7 // java.lang.Object params
        end local 6 // sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA random
        end local 5 // boolean isExportable
        end local 4 // int keyBits
        end local 3 // int expandedKeyBits
        end local 2 // int ivBits
        end local 1 // int macBits
        end local 0 // sun.security.pkcs11.P11TlsKeyMaterialGenerator this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0  102     0             this  Lsun/security/pkcs11/P11TlsKeyMaterialGenerator;
            5  102     1          macBits  I
            6  102     2           ivBits  I
            7  102     3  expandedKeyBits  I
            8  102     4          keyBits  I
           10   11     5     isExportable  Z
           12  102     5     isExportable  Z
           16  102     6           random  Lsun/security/pkcs11/wrapper/CK_SSL3_RANDOM_DATA;
           17  102     7           params  Ljava/lang/Object;
           18  102     8      ckMechanism  Lsun/security/pkcs11/wrapper/CK_MECHANISM;
           31  102     9  cipherAlgorithm  Ljava/lang/String;
           32  102    10          keyType  J
           39  102    12          session  Lsun/security/pkcs11/Session;
           46   47    13       attributes  [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
           48   97    13       attributes  [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
           52   97    14         p11KeyID  J
           61   97    16              out  Lsun/security/pkcs11/wrapper/CK_SSL3_KEY_MAT_OUT;
           69   72    17     clientMacKey  Ljavax/crypto/SecretKey;
           73   97    17     clientMacKey  Ljavax/crypto/SecretKey;
           71   72    18     serverMacKey  Ljavax/crypto/SecretKey;
           74   97    18     serverMacKey  Ljavax/crypto/SecretKey;
           78   82    19  clientCipherKey  Ljavax/crypto/SecretKey;
           83   97    19  clientCipherKey  Ljavax/crypto/SecretKey;
           81   82    20  serverCipherKey  Ljavax/crypto/SecretKey;
           84   97    20  serverCipherKey  Ljavax/crypto/SecretKey;
           88   97    21         clientIv  Ljavax/crypto/spec/IvParameterSpec;
           92   97    22         serverIv  Ljavax/crypto/spec/IvParameterSpec;
           98   99    13                e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
          52    56      56  any
          39    95      97  Class java.lang.Exception
          39    95      99  any
          97    99      99  any
}
SourceFile: "P11TlsKeyMaterialGenerator.java"