final class sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator extends javax.crypto.KeyGeneratorSpi
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator
  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: "TlsRsaPremasterSecretGenerator must be initialized using a TlsRsaPremasterSecretParameterSpec"

  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.TlsRsaPremasterSecretParameterSpec spec;
    descriptor: Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
    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.P11TlsRsaPremasterSecretGenerator this
        start local 1 // sun.security.pkcs11.Token token
        start local 2 // java.lang.String algorithm
        start local 3 // long mechanism
         0: .line 68
            aload 0 /* this */
            invokespecial javax.crypto.KeyGeneratorSpi.<init>:()V
         1: .line 69
            aload 0 /* this */
            aload 1 /* token */
            putfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.token:Lsun/security/pkcs11/Token;
         2: .line 70
            aload 0 /* this */
            aload 2 /* algorithm */
            putfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.algorithm:Ljava/lang/String;
         3: .line 71
            aload 0 /* this */
            lload 3 /* mechanism */
            putfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.mechanism:J
         4: .line 76
            aload 0 /* this */
            lload 3 /* mechanism */
            ldc 880
            lcmp
            ifne 5
            iconst_1
            goto 6
      StackMap locals: sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator sun.security.pkcs11.Token java.lang.String long
      StackMap stack: sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator
         5: iconst_0
      StackMap locals: sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator sun.security.pkcs11.Token java.lang.String long
      StackMap stack: sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator int
         6: putfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.supportSSLv3:Z
         7: .line 77
            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.P11TlsRsaPremasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0       this  Lsun/security/pkcs11/P11TlsRsaPremasterSecretGenerator;
            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.P11TlsRsaPremasterSecretGenerator this
        start local 1 // java.security.SecureRandom random
         0: .line 80
            new java.security.InvalidParameterException
            dup
            ldc "TlsRsaPremasterSecretGenerator must be initialized using a TlsRsaPremasterSecretParameterSpec"
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.SecureRandom random
        end local 0 // sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lsun/security/pkcs11/P11TlsRsaPremasterSecretGenerator;
            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.P11TlsRsaPremasterSecretGenerator this
        start local 1 // java.security.spec.AlgorithmParameterSpec params
        start local 2 // java.security.SecureRandom random
         0: .line 86
            aload 1 /* params */
            instanceof sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec
            ifne 2
         1: .line 87
            new java.security.InvalidAlgorithmParameterException
            dup
            ldc "TlsRsaPremasterSecretGenerator must be initialized using a TlsRsaPremasterSecretParameterSpec"
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 91
      StackMap locals:
      StackMap stack:
            aload 1 /* params */
            checkcast sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec
         3: .line 90
            astore 3 /* spec */
        start local 3 // sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec spec
         4: .line 92
            aload 3 /* spec */
            invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.getMajorVersion:()I
            bipush 8
            ishl
            aload 3 /* spec */
            invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.getMinorVersion:()I
            ior
            istore 4 /* tlsVersion */
        start local 4 // int tlsVersion
         5: .line 94
            iload 4 /* tlsVersion */
            sipush 768
            if_icmpne 6
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.supportSSLv3:Z
            ifeq 7
         6: .line 95
      StackMap locals: sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec int
      StackMap stack:
            iload 4 /* tlsVersion */
            sipush 768
            if_icmplt 7
            iload 4 /* tlsVersion */
            sipush 771
            if_icmple 15
         7: .line 96
      StackMap locals:
      StackMap stack:
            new java.security.InvalidAlgorithmParameterException
            dup
         8: .line 97
            new java.lang.StringBuilder
            dup
            ldc "Only"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.supportSSLv3:Z
            ifeq 9
            ldc " SSL 3.0,"
            goto 10
      StackMap locals: sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator java.security.spec.AlgorithmParameterSpec java.security.SecureRandom sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec int
      StackMap stack: new 7 new 7 java.lang.StringBuilder
         9: ldc ""
      StackMap locals: sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator java.security.spec.AlgorithmParameterSpec java.security.SecureRandom sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec int
      StackMap stack: new 7 new 7 java.lang.StringBuilder java.lang.String
        10: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        11: .line 98
            ldc " TLS 1.0, TLS 1.1 and TLS 1.2 are supported ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        12: .line 99
            iload 4 /* tlsVersion */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        13: .line 97
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        14: .line 96
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* spec */
            putfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.spec:Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
        16: .line 102
            return
        end local 4 // int tlsVersion
        end local 3 // sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec spec
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.spec.AlgorithmParameterSpec params
        end local 0 // sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   17     0        this  Lsun/security/pkcs11/P11TlsRsaPremasterSecretGenerator;
            0   17     1      params  Ljava/security/spec/AlgorithmParameterSpec;
            0   17     2      random  Ljava/security/SecureRandom;
            4   17     3        spec  Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
            5   17     4  tlsVersion  I
    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.P11TlsRsaPremasterSecretGenerator this
        start local 1 // int keysize
        start local 2 // java.security.SecureRandom random
         0: .line 105
            new java.security.InvalidParameterException
            dup
            ldc "TlsRsaPremasterSecretGenerator must be initialized using a TlsRsaPremasterSecretParameterSpec"
            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.P11TlsRsaPremasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lsun/security/pkcs11/P11TlsRsaPremasterSecretGenerator;
            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=9, args_size=1
        start local 0 // sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator this
         0: .line 110
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.spec:Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
            ifnonnull 4
         1: .line 111
            new java.lang.IllegalStateException
            dup
         2: .line 112
            ldc "TlsRsaPremasterSecretGenerator must be initialized"
         3: .line 111
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 115
      StackMap locals:
      StackMap stack:
            new sun.security.pkcs11.wrapper.CK_VERSION
            dup
         5: .line 116
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.spec:Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
            invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.getMajorVersion:()I
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.spec:Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
            invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.getMinorVersion:()I
         6: .line 115
            invokespecial sun.security.pkcs11.wrapper.CK_VERSION.<init>:(II)V
            astore 1 /* version */
        start local 1 // sun.security.pkcs11.wrapper.CK_VERSION version
         7: .line 117
            aconst_null
            astore 2 /* session */
        start local 2 // sun.security.pkcs11.Session session
         8: .line 119
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.getObjSession:()Lsun/security/pkcs11/Session;
            astore 2 /* session */
         9: .line 120
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.token:Lsun/security/pkcs11/Token;
        10: .line 121
            ldc "generate"
            ldc 4
        11: .line 122
            ldc 16
            iconst_0
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
        12: .line 120
            invokevirtual sun.security.pkcs11.Token.getAttributes:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
            astore 3 /* attributes */
        start local 3 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        13: .line 123
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
            aload 2 /* session */
            invokevirtual sun.security.pkcs11.Session.id:()J
        14: .line 124
            new sun.security.pkcs11.wrapper.CK_MECHANISM
            dup
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.mechanism:J
            aload 1 /* version */
            invokespecial sun.security.pkcs11.wrapper.CK_MECHANISM.<init>:(JLsun/security/pkcs11/wrapper/CK_VERSION;)V
            aload 3 /* attributes */
        15: .line 123
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GenerateKey:(JLsun/security/pkcs11/wrapper/CK_MECHANISM;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J
            lstore 4 /* keyID */
        start local 4 // long keyID
        16: .line 125
            aload 2 /* session */
        17: .line 126
            lload 4 /* keyID */
            ldc "TlsRsaPremasterSecret"
            sipush 384
            aload 3 /* attributes */
        18: .line 125
            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 /* key */
        start local 6 // javax.crypto.SecretKey key
        19: .line 127
            aload 6 /* key */
            astore 8
        20: .line 132
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            aload 2 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        21: .line 127
            aload 8
            areturn
        end local 6 // javax.crypto.SecretKey key
        end local 4 // long keyID
        end local 3 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        22: .line 128
      StackMap locals: sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator sun.security.pkcs11.wrapper.CK_VERSION sun.security.pkcs11.Session
      StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
            astore 3 /* e */
        start local 3 // sun.security.pkcs11.wrapper.PKCS11Exception e
        23: .line 129
            new java.security.ProviderException
            dup
        24: .line 130
            ldc "Could not generate premaster secret"
            aload 3 /* e */
        25: .line 129
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // sun.security.pkcs11.wrapper.PKCS11Exception e
        26: .line 131
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 7
        27: .line 132
            aload 0 /* this */
            getfield sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator.token:Lsun/security/pkcs11/Token;
            aload 2 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        28: .line 133
            aload 7
            athrow
        end local 2 // sun.security.pkcs11.Session session
        end local 1 // sun.security.pkcs11.wrapper.CK_VERSION version
        end local 0 // sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   29     0        this  Lsun/security/pkcs11/P11TlsRsaPremasterSecretGenerator;
            7   29     1     version  Lsun/security/pkcs11/wrapper/CK_VERSION;
            8   29     2     session  Lsun/security/pkcs11/Session;
           13   22     3  attributes  [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
           16   22     4       keyID  J
           19   22     6         key  Ljavax/crypto/SecretKey;
           23   26     3           e  Lsun/security/pkcs11/wrapper/PKCS11Exception;
      Exception table:
        from    to  target  type
           8    20      22  Class sun.security.pkcs11.wrapper.PKCS11Exception
           8    20      26  any
          22    26      26  any
}
SourceFile: "P11TlsRsaPremasterSecretGenerator.java"