public final class sun.security.pkcs11.P11TlsMasterSecretGenerator extends javax.crypto.KeyGeneratorSpi
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: sun.security.pkcs11.P11TlsMasterSecretGenerator
  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: "TlsMasterSecretGenerator must be initialized using a TlsMasterSecretParameterSpec"

  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 sun.security.internal.spec.TlsMasterSecretParameterSpec spec;
    descriptor: Lsun/security/internal/spec/TlsMasterSecretParameterSpec;
    flags: (0x0002) ACC_PRIVATE

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

  int version;
    descriptor: I
    flags: (0x0000) 

  void <init>(sun.security.pkcs11.Token, java.lang.String, long);
    descriptor: (Lsun/security/pkcs11/Token;Ljava/lang/String;J)V
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // sun.security.pkcs11.P11TlsMasterSecretGenerator this
        start local 1 // sun.security.pkcs11.Token token
        start local 2 // java.lang.String algorithm
        start local 3 // long mechanism
         0: .line 67
            aload 0 /* this */
            invokespecial javax.crypto.KeyGeneratorSpi.<init>:()V
         1: .line 68
            aload 0 /* this */
            aload 1 /* token */
            putfield sun.security.pkcs11.P11TlsMasterSecretGenerator.token:Lsun/security/pkcs11/Token;
         2: .line 69
            aload 0 /* this */
            aload 2 /* algorithm */
            putfield sun.security.pkcs11.P11TlsMasterSecretGenerator.algorithm:Ljava/lang/String;
         3: .line 70
            aload 0 /* this */
            lload 3 /* mechanism */
            putfield sun.security.pkcs11.P11TlsMasterSecretGenerator.mechanism:J
         4: .line 71
            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.P11TlsMasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lsun/security/pkcs11/P11TlsMasterSecretGenerator;
            0    5     1      token  Lsun/security/pkcs11/Token;
            0    5     2  algorithm  Ljava/lang/String;
            0    5     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.P11TlsMasterSecretGenerator this
        start local 1 // java.security.SecureRandom random
         0: .line 74
            new java.security.InvalidParameterException
            dup
            ldc "TlsMasterSecretGenerator must be initialized using a TlsMasterSecretParameterSpec"
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.SecureRandom random
        end local 0 // sun.security.pkcs11.P11TlsMasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lsun/security/pkcs11/P11TlsMasterSecretGenerator;
            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=4, locals=5, args_size=3
        start local 0 // sun.security.pkcs11.P11TlsMasterSecretGenerator this
        start local 1 // java.security.spec.AlgorithmParameterSpec params
        start local 2 // java.security.SecureRandom random
         0: .line 79
            aload 1 /* params */
            instanceof sun.security.internal.spec.TlsMasterSecretParameterSpec
            ifne 2
         1: .line 80
            new java.security.InvalidAlgorithmParameterException
            dup
            ldc "TlsMasterSecretGenerator must be initialized using a TlsMasterSecretParameterSpec"
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* params */
            checkcast sun.security.internal.spec.TlsMasterSecretParameterSpec
            putfield sun.security.pkcs11.P11TlsMasterSecretGenerator.spec:Lsun/security/internal/spec/TlsMasterSecretParameterSpec;
         3: .line 83
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.spec:Lsun/security/internal/spec/TlsMasterSecretParameterSpec;
            invokevirtual sun.security.internal.spec.TlsMasterSecretParameterSpec.getPremasterSecret:()Ljavax/crypto/SecretKey;
            astore 3 /* key */
        start local 3 // javax.crypto.SecretKey key
         4: .line 87
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            aload 3 /* key */
            aconst_null
            invokestatic sun.security.pkcs11.P11SecretKeyFactory.convertKey:(Lsun/security/pkcs11/Token;Ljava/security/Key;Ljava/lang/String;)Lsun/security/pkcs11/P11Key;
            putfield sun.security.pkcs11.P11TlsMasterSecretGenerator.p11Key:Lsun/security/pkcs11/P11Key;
         5: .line 88
            goto 8
      StackMap locals: sun.security.pkcs11.P11TlsMasterSecretGenerator java.security.spec.AlgorithmParameterSpec java.security.SecureRandom javax.crypto.SecretKey
      StackMap stack: java.security.InvalidKeyException
         6: astore 4 /* e */
        start local 4 // java.security.InvalidKeyException e
         7: .line 89
            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
         8: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.spec:Lsun/security/internal/spec/TlsMasterSecretParameterSpec;
            invokevirtual sun.security.internal.spec.TlsMasterSecretParameterSpec.getMajorVersion:()I
            bipush 8
            ishl
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.spec:Lsun/security/internal/spec/TlsMasterSecretParameterSpec;
            invokevirtual sun.security.internal.spec.TlsMasterSecretParameterSpec.getMinorVersion:()I
            ior
            putfield sun.security.pkcs11.P11TlsMasterSecretGenerator.version:I
         9: .line 92
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.version:I
            sipush 768
            if_icmplt 10
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.version:I
            sipush 770
            if_icmple 13
        10: .line 93
      StackMap locals:
      StackMap stack:
            new java.security.InvalidAlgorithmParameterException
            dup
        11: .line 94
            ldc "Only SSL 3.0, TLS 1.0, and TLS 1.1 supported"
        12: .line 93
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 98
      StackMap locals:
      StackMap stack:
            return
        end local 3 // javax.crypto.SecretKey key
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.spec.AlgorithmParameterSpec params
        end local 0 // sun.security.pkcs11.P11TlsMasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   14     0    this  Lsun/security/pkcs11/P11TlsMasterSecretGenerator;
            0   14     1  params  Ljava/security/spec/AlgorithmParameterSpec;
            0   14     2  random  Ljava/security/SecureRandom;
            4   14     3     key  Ljavax/crypto/SecretKey;
            7    8     4       e  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
           4     5       6  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.P11TlsMasterSecretGenerator this
        start local 1 // int keysize
        start local 2 // java.security.SecureRandom random
         0: .line 101
            new java.security.InvalidParameterException
            dup
            ldc "TlsMasterSecretGenerator must be initialized using a TlsMasterSecretParameterSpec"
            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.P11TlsMasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lsun/security/pkcs11/P11TlsMasterSecretGenerator;
            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=8, locals=15, args_size=1
        start local 0 // sun.security.pkcs11.P11TlsMasterSecretGenerator this
         0: .line 105
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.spec:Lsun/security/internal/spec/TlsMasterSecretParameterSpec;
            ifnonnull 4
         1: .line 106
            new java.lang.IllegalStateException
            dup
         2: .line 107
            ldc "TlsMasterSecretGenerator must be initialized"
         3: .line 106
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.p11Key:Lsun/security/pkcs11/P11Key;
            invokevirtual sun.security.pkcs11.P11Key.getAlgorithm:()Ljava/lang/String;
            ldc "TlsRsaPremasterSecret"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 10
         5: .line 111
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.version:I
            sipush 768
            if_icmpne 6
            ldc 881
            goto 7
         6: .line 112
      StackMap locals:
      StackMap stack: sun.security.pkcs11.P11TlsMasterSecretGenerator
            ldc 885
         7: .line 111
      StackMap locals: sun.security.pkcs11.P11TlsMasterSecretGenerator
      StackMap stack: sun.security.pkcs11.P11TlsMasterSecretGenerator long
            putfield sun.security.pkcs11.P11TlsMasterSecretGenerator.mechanism:J
         8: .line 113
            new sun.security.pkcs11.wrapper.CK_VERSION
            dup
            iconst_0
            iconst_0
            invokespecial sun.security.pkcs11.wrapper.CK_VERSION.<init>:(II)V
            astore 1 /* ckVersion */
        start local 1 // sun.security.pkcs11.wrapper.CK_VERSION ckVersion
         9: .line 114
            goto 14
        end local 1 // sun.security.pkcs11.wrapper.CK_VERSION ckVersion
        10: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.version:I
            sipush 768
            if_icmpne 11
            ldc 883
            goto 12
        11: .line 122
      StackMap locals:
      StackMap stack: sun.security.pkcs11.P11TlsMasterSecretGenerator
            ldc 887
        12: .line 121
      StackMap locals: sun.security.pkcs11.P11TlsMasterSecretGenerator
      StackMap stack: sun.security.pkcs11.P11TlsMasterSecretGenerator long
            putfield sun.security.pkcs11.P11TlsMasterSecretGenerator.mechanism:J
        13: .line 123
            aconst_null
            astore 1 /* ckVersion */
        start local 1 // sun.security.pkcs11.wrapper.CK_VERSION ckVersion
        14: .line 125
      StackMap locals: sun.security.pkcs11.wrapper.CK_VERSION
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.spec:Lsun/security/internal/spec/TlsMasterSecretParameterSpec;
            invokevirtual sun.security.internal.spec.TlsMasterSecretParameterSpec.getClientRandom:()[B
            astore 2 /* clientRandom */
        start local 2 // byte[] clientRandom
        15: .line 126
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.spec:Lsun/security/internal/spec/TlsMasterSecretParameterSpec;
            invokevirtual sun.security.internal.spec.TlsMasterSecretParameterSpec.getServerRandom:()[B
            astore 3 /* serverRandom */
        start local 3 // byte[] serverRandom
        16: .line 128
            new sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA
            dup
            aload 2 /* clientRandom */
            aload 3 /* serverRandom */
            invokespecial sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA.<init>:([B[B)V
        17: .line 127
            astore 4 /* random */
        start local 4 // sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA random
        18: .line 130
            new sun.security.pkcs11.wrapper.CK_SSL3_MASTER_KEY_DERIVE_PARAMS
            dup
            aload 4 /* random */
            aload 1 /* ckVersion */
            invokespecial sun.security.pkcs11.wrapper.CK_SSL3_MASTER_KEY_DERIVE_PARAMS.<init>:(Lsun/security/pkcs11/wrapper/CK_SSL3_RANDOM_DATA;Lsun/security/pkcs11/wrapper/CK_VERSION;)V
        19: .line 129
            astore 5 /* params */
        start local 5 // sun.security.pkcs11.wrapper.CK_SSL3_MASTER_KEY_DERIVE_PARAMS params
        20: .line 132
            aconst_null
            astore 6 /* session */
        start local 6 // sun.security.pkcs11.Session session
        21: .line 134
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.getObjSession:()Lsun/security/pkcs11/Session;
            astore 6 /* session */
        22: .line 135
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            ldc "generate"
        23: .line 136
            ldc 4
            ldc 16
            iconst_0
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
        24: .line 135
            invokevirtual sun.security.pkcs11.Token.getAttributes:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
            astore 7 /* attributes */
        start local 7 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        25: .line 137
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
            aload 6 /* session */
            invokevirtual sun.security.pkcs11.Session.id:()J
        26: .line 138
            new sun.security.pkcs11.wrapper.CK_MECHANISM
            dup
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.mechanism:J
            aload 5 /* params */
            invokespecial sun.security.pkcs11.wrapper.CK_MECHANISM.<init>:(JLsun/security/pkcs11/wrapper/CK_SSL3_MASTER_KEY_DERIVE_PARAMS;)V
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.p11Key:Lsun/security/pkcs11/P11Key;
            getfield sun.security.pkcs11.P11Key.keyID:J
            aload 7 /* attributes */
        27: .line 137
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_DeriveKey:(JLsun/security/pkcs11/wrapper/CK_MECHANISM;J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J
            lstore 8 /* keyID */
        start local 8 // long keyID
        28: .line 140
            aload 5 /* params */
            getfield sun.security.pkcs11.wrapper.CK_SSL3_MASTER_KEY_DERIVE_PARAMS.pVersion:Lsun/security/pkcs11/wrapper/CK_VERSION;
            astore 1 /* ckVersion */
        29: .line 141
            aload 1 /* ckVersion */
            ifnonnull 33
        30: .line 142
            iconst_m1
            istore 10 /* major */
        start local 10 // int major
        31: .line 143
            iconst_m1
            istore 11 /* minor */
        start local 11 // int minor
        32: .line 144
            goto 35
        end local 11 // int minor
        end local 10 // int major
        33: .line 145
      StackMap locals: sun.security.pkcs11.P11TlsMasterSecretGenerator sun.security.pkcs11.wrapper.CK_VERSION byte[] byte[] sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA sun.security.pkcs11.wrapper.CK_SSL3_MASTER_KEY_DERIVE_PARAMS sun.security.pkcs11.Session sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] long
      StackMap stack:
            aload 1 /* ckVersion */
            getfield sun.security.pkcs11.wrapper.CK_VERSION.major:B
            istore 10 /* major */
        start local 10 // int major
        34: .line 146
            aload 1 /* ckVersion */
            getfield sun.security.pkcs11.wrapper.CK_VERSION.minor:B
            istore 11 /* minor */
        start local 11 // int minor
        35: .line 148
      StackMap locals: int int
      StackMap stack:
            aload 6 /* session */
            lload 8 /* keyID */
        36: .line 149
            ldc "TlsMasterSecret"
            sipush 384
            aload 7 /* attributes */
            iload 10 /* major */
            iload 11 /* minor */
        37: .line 148
            invokestatic sun.security.pkcs11.P11Key.masterSecretKey:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;II)Ljavax/crypto/SecretKey;
            astore 12 /* key */
        start local 12 // javax.crypto.SecretKey key
        38: .line 150
            aload 12 /* key */
            astore 14
        39: .line 154
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            aload 6 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        40: .line 150
            aload 14
            areturn
        end local 12 // javax.crypto.SecretKey key
        end local 11 // int minor
        end local 10 // int major
        end local 8 // long keyID
        end local 7 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        41: .line 151
      StackMap locals: sun.security.pkcs11.P11TlsMasterSecretGenerator sun.security.pkcs11.wrapper.CK_VERSION byte[] byte[] sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA sun.security.pkcs11.wrapper.CK_SSL3_MASTER_KEY_DERIVE_PARAMS sun.security.pkcs11.Session
      StackMap stack: java.lang.Exception
            astore 7 /* e */
        start local 7 // java.lang.Exception e
        42: .line 152
            new java.security.ProviderException
            dup
            ldc "Could not generate key"
            aload 7 /* e */
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 7 // java.lang.Exception e
        43: .line 153
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 13
        44: .line 154
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsMasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            aload 6 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        45: .line 155
            aload 13
            athrow
        end local 6 // sun.security.pkcs11.Session session
        end local 5 // sun.security.pkcs11.wrapper.CK_SSL3_MASTER_KEY_DERIVE_PARAMS params
        end local 4 // sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA random
        end local 3 // byte[] serverRandom
        end local 2 // byte[] clientRandom
        end local 1 // sun.security.pkcs11.wrapper.CK_VERSION ckVersion
        end local 0 // sun.security.pkcs11.P11TlsMasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   46     0          this  Lsun/security/pkcs11/P11TlsMasterSecretGenerator;
            9   10     1     ckVersion  Lsun/security/pkcs11/wrapper/CK_VERSION;
           14   46     1     ckVersion  Lsun/security/pkcs11/wrapper/CK_VERSION;
           15   46     2  clientRandom  [B
           16   46     3  serverRandom  [B
           18   46     4        random  Lsun/security/pkcs11/wrapper/CK_SSL3_RANDOM_DATA;
           20   46     5        params  Lsun/security/pkcs11/wrapper/CK_SSL3_MASTER_KEY_DERIVE_PARAMS;
           21   46     6       session  Lsun/security/pkcs11/Session;
           25   41     7    attributes  [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
           28   41     8         keyID  J
           31   33    10         major  I
           34   41    10         major  I
           32   33    11         minor  I
           35   41    11         minor  I
           38   41    12           key  Ljavax/crypto/SecretKey;
           42   43     7             e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
          21    39      41  Class java.lang.Exception
          21    39      43  any
          41    43      43  any
}
SourceFile: "P11TlsMasterSecretGenerator.java"