final class sun.security.pkcs11.P11KeyAgreement extends javax.crypto.KeyAgreementSpi
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.pkcs11.P11KeyAgreement
  super_class: javax.crypto.KeyAgreementSpi
{
  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 final long mechanism;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private java.math.BigInteger publicValue;
    descriptor: Ljava/math/BigInteger;
    flags: (0x0002) ACC_PRIVATE

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

  private javax.crypto.KeyAgreement multiPartyAgreement;
    descriptor: Ljavax/crypto/KeyAgreement;
    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=3, locals=5, args_size=4
        start local 0 // sun.security.pkcs11.P11KeyAgreement this
        start local 1 // sun.security.pkcs11.Token token
        start local 2 // java.lang.String algorithm
        start local 3 // long mechanism
         0: .line 87
            aload 0 /* this */
            invokespecial javax.crypto.KeyAgreementSpi.<init>:()V
         1: .line 88
            aload 0 /* this */
            aload 1 /* token */
            putfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
         2: .line 89
            aload 0 /* this */
            aload 2 /* algorithm */
            putfield sun.security.pkcs11.P11KeyAgreement.algorithm:Ljava/lang/String;
         3: .line 90
            aload 0 /* this */
            lload 3 /* mechanism */
            putfield sun.security.pkcs11.P11KeyAgreement.mechanism:J
         4: .line 91
            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.P11KeyAgreement this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lsun/security/pkcs11/P11KeyAgreement;
            0    5     1      token  Lsun/security/pkcs11/Token;
            0    5     2  algorithm  Ljava/lang/String;
            0    5     3  mechanism  J
    MethodParameters:
           Name  Flags
      token      
      algorithm  
      mechanism  

  protected void engineInit(java.security.Key, java.security.SecureRandom);
    descriptor: (Ljava/security/Key;Ljava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // sun.security.pkcs11.P11KeyAgreement this
        start local 1 // java.security.Key key
        start local 2 // java.security.SecureRandom random
         0: .line 96
            aload 1 /* key */
            instanceof java.security.PrivateKey
            ifne 4
         1: .line 97
            new java.security.InvalidKeyException
            dup
         2: .line 98
            ldc "Key must be instance of PrivateKey"
         3: .line 97
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 100
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            aload 1 /* key */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.algorithm:Ljava/lang/String;
            invokestatic sun.security.pkcs11.P11KeyFactory.convertKey:(Lsun/security/pkcs11/Token;Ljava/security/Key;Ljava/lang/String;)Lsun/security/pkcs11/P11Key;
            putfield sun.security.pkcs11.P11KeyAgreement.privateKey:Lsun/security/pkcs11/P11Key;
         5: .line 101
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
         6: .line 102
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
         7: .line 103
            return
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.Key key
        end local 0 // sun.security.pkcs11.P11KeyAgreement this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Lsun/security/pkcs11/P11KeyAgreement;
            0    8     1     key  Ljava/security/Key;
            0    8     2  random  Ljava/security/SecureRandom;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
        Name  Flags
      key     
      random  

  protected void engineInit(java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
    descriptor: (Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // sun.security.pkcs11.P11KeyAgreement this
        start local 1 // java.security.Key key
        start local 2 // java.security.spec.AlgorithmParameterSpec params
        start local 3 // java.security.SecureRandom random
         0: .line 109
            aload 2 /* params */
            ifnull 4
         1: .line 110
            new java.security.InvalidAlgorithmParameterException
            dup
         2: .line 111
            ldc "Parameters not supported"
         3: .line 110
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 113
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* key */
            aload 3 /* random */
            invokevirtual sun.security.pkcs11.P11KeyAgreement.engineInit:(Ljava/security/Key;Ljava/security/SecureRandom;)V
         5: .line 114
            return
        end local 3 // java.security.SecureRandom random
        end local 2 // java.security.spec.AlgorithmParameterSpec params
        end local 1 // java.security.Key key
        end local 0 // sun.security.pkcs11.P11KeyAgreement this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lsun/security/pkcs11/P11KeyAgreement;
            0    6     1     key  Ljava/security/Key;
            0    6     2  params  Ljava/security/spec/AlgorithmParameterSpec;
            0    6     3  random  Ljava/security/SecureRandom;
    Exceptions:
      throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
    MethodParameters:
        Name  Flags
      key     
      params  
      random  

  protected java.security.Key engineDoPhase(java.security.Key, boolean);
    descriptor: (Ljava/security/Key;Z)Ljava/security/Key;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=8, args_size=3
        start local 0 // sun.security.pkcs11.P11KeyAgreement this
        start local 1 // java.security.Key key
        start local 2 // boolean lastPhase
         0: .line 119
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.privateKey:Lsun/security/pkcs11/P11Key;
            ifnonnull 2
         1: .line 120
            new java.lang.IllegalStateException
            dup
            ldc "Not initialized"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 122
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
            ifnull 4
         3: .line 123
            new java.lang.IllegalStateException
            dup
            ldc "Phase already executed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            ifnonnull 5
            iload 2 /* lastPhase */
            ifne 16
         5: .line 132
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            ifnonnull 15
         6: .line 134
            aload 0 /* this */
         7: .line 135
            ldc "DH"
            invokestatic sun.security.pkcs11.P11Util.getSunJceProvider:()Ljava/security/Provider;
         8: .line 134
            invokestatic javax.crypto.KeyAgreement.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/KeyAgreement;
            putfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
         9: .line 136
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.privateKey:Lsun/security/pkcs11/P11Key;
            invokevirtual javax.crypto.KeyAgreement.init:(Ljava/security/Key;)V
        10: .line 137
            goto 15
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
        11: astore 3 /* e */
        start local 3 // java.security.NoSuchAlgorithmException e
        12: .line 138
            new java.security.InvalidKeyException
            dup
        13: .line 139
            ldc "Could not initialize multi party agreement"
            aload 3 /* e */
        14: .line 138
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.security.NoSuchAlgorithmException e
        15: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            aload 1 /* key */
            iload 2 /* lastPhase */
            invokevirtual javax.crypto.KeyAgreement.doPhase:(Ljava/security/Key;Z)Ljava/security/Key;
            areturn
        16: .line 144
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.PublicKey
            ifeq 18
        17: .line 145
            aload 1 /* key */
            invokeinterface java.security.Key.getAlgorithm:()Ljava/lang/String;
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.algorithm:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 21
        18: .line 146
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
        19: .line 147
            ldc "Key must be a PublicKey with algorithm DH"
        20: .line 146
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        21: .line 150
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof javax.crypto.interfaces.DHPublicKey
            ifeq 29
        22: .line 151
            aload 1 /* key */
            checkcast javax.crypto.interfaces.DHPublicKey
            astore 6 /* dhKey */
        start local 6 // javax.crypto.interfaces.DHPublicKey dhKey
        23: .line 154
            aload 6 /* dhKey */
            invokestatic sun.security.util.KeyUtil.validate:(Ljava/security/Key;)V
        24: .line 156
            aload 6 /* dhKey */
            invokeinterface javax.crypto.interfaces.DHPublicKey.getY:()Ljava/math/BigInteger;
            astore 5 /* y */
        start local 5 // java.math.BigInteger y
        25: .line 157
            aload 6 /* dhKey */
            invokeinterface javax.crypto.interfaces.DHPublicKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
            astore 7 /* params */
        start local 7 // javax.crypto.spec.DHParameterSpec params
        26: .line 158
            aload 7 /* params */
            invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
            astore 3 /* p */
        start local 3 // java.math.BigInteger p
        27: .line 159
            aload 7 /* params */
            invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
            astore 4 /* g */
        end local 7 // javax.crypto.spec.DHParameterSpec params
        end local 6 // javax.crypto.interfaces.DHPublicKey dhKey
        start local 4 // java.math.BigInteger g
        28: .line 160
            goto 40
        end local 5 // java.math.BigInteger y
        end local 4 // java.math.BigInteger g
        end local 3 // java.math.BigInteger p
        29: .line 163
      StackMap locals:
      StackMap stack:
            new sun.security.pkcs11.P11DHKeyFactory
            dup
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            ldc "DH"
            invokespecial sun.security.pkcs11.P11DHKeyFactory.<init>:(Lsun/security/pkcs11/Token;Ljava/lang/String;)V
            astore 6 /* kf */
        start local 6 // sun.security.pkcs11.P11DHKeyFactory kf
        30: .line 165
            aload 6 /* kf */
        31: .line 166
            aload 1 /* key */
            ldc Ljavax/crypto/spec/DHPublicKeySpec;
        32: .line 165
            invokevirtual sun.security.pkcs11.P11DHKeyFactory.engineGetKeySpec:(Ljava/security/Key;Ljava/lang/Class;)Ljava/security/spec/KeySpec;
            checkcast javax.crypto.spec.DHPublicKeySpec
            astore 7 /* spec */
        start local 7 // javax.crypto.spec.DHPublicKeySpec spec
        33: .line 169
            aload 7 /* spec */
            invokestatic sun.security.util.KeyUtil.validate:(Ljava/security/spec/KeySpec;)V
        34: .line 171
            aload 7 /* spec */
            invokevirtual javax.crypto.spec.DHPublicKeySpec.getY:()Ljava/math/BigInteger;
            astore 5 /* y */
        start local 5 // java.math.BigInteger y
        35: .line 172
            aload 7 /* spec */
            invokevirtual javax.crypto.spec.DHPublicKeySpec.getP:()Ljava/math/BigInteger;
            astore 3 /* p */
        start local 3 // java.math.BigInteger p
        36: .line 173
            aload 7 /* spec */
            invokevirtual javax.crypto.spec.DHPublicKeySpec.getG:()Ljava/math/BigInteger;
            astore 4 /* g */
        end local 7 // javax.crypto.spec.DHPublicKeySpec spec
        start local 4 // java.math.BigInteger g
        37: .line 174
            goto 40
        end local 5 // java.math.BigInteger y
        end local 4 // java.math.BigInteger g
        end local 3 // java.math.BigInteger p
      StackMap locals: sun.security.pkcs11.P11KeyAgreement java.security.Key int top top top sun.security.pkcs11.P11DHKeyFactory
      StackMap stack: java.security.spec.InvalidKeySpecException
        38: astore 7 /* e */
        start local 7 // java.security.spec.InvalidKeySpecException e
        39: .line 175
            new java.security.InvalidKeyException
            dup
            ldc "Could not obtain key values"
            aload 7 /* e */
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 7 // java.security.spec.InvalidKeySpecException e
        end local 6 // sun.security.pkcs11.P11DHKeyFactory kf
        start local 3 // java.math.BigInteger p
        start local 4 // java.math.BigInteger g
        start local 5 // java.math.BigInteger y
        40: .line 181
      StackMap locals: sun.security.pkcs11.P11KeyAgreement java.security.Key int java.math.BigInteger java.math.BigInteger java.math.BigInteger
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.privateKey:Lsun/security/pkcs11/P11Key;
            instanceof javax.crypto.interfaces.DHPrivateKey
            ifeq 48
        41: .line 182
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.privateKey:Lsun/security/pkcs11/P11Key;
            checkcast javax.crypto.interfaces.DHPrivateKey
            astore 6 /* dhKey */
        start local 6 // javax.crypto.interfaces.DHPrivateKey dhKey
        42: .line 183
            aload 6 /* dhKey */
            invokeinterface javax.crypto.interfaces.DHPrivateKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
            astore 7 /* params */
        start local 7 // javax.crypto.spec.DHParameterSpec params
        43: .line 184
            aload 3 /* p */
            aload 7 /* params */
            invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifeq 45
        44: .line 185
            aload 4 /* g */
            aload 7 /* params */
            invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifne 48
        45: .line 186
      StackMap locals: javax.crypto.interfaces.DHPrivateKey javax.crypto.spec.DHParameterSpec
      StackMap stack:
            new java.security.InvalidKeyException
            dup
        46: .line 187
            ldc "PublicKey DH parameters must match PrivateKey DH parameters"
        47: .line 186
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 7 // javax.crypto.spec.DHParameterSpec params
        end local 6 // javax.crypto.interfaces.DHPrivateKey dhKey
        48: .line 190
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* y */
            putfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
        49: .line 192
            aload 0 /* this */
            aload 3 /* p */
            invokevirtual java.math.BigInteger.bitLength:()I
            bipush 7
            iadd
            iconst_3
            ishr
            putfield sun.security.pkcs11.P11KeyAgreement.secretLen:I
        50: .line 193
            aconst_null
            areturn
        end local 5 // java.math.BigInteger y
        end local 4 // java.math.BigInteger g
        end local 3 // java.math.BigInteger p
        end local 2 // boolean lastPhase
        end local 1 // java.security.Key key
        end local 0 // sun.security.pkcs11.P11KeyAgreement this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   51     0       this  Lsun/security/pkcs11/P11KeyAgreement;
            0   51     1        key  Ljava/security/Key;
            0   51     2  lastPhase  Z
           12   15     3          e  Ljava/security/NoSuchAlgorithmException;
           27   29     3          p  Ljava/math/BigInteger;
           36   38     3          p  Ljava/math/BigInteger;
           40   51     3          p  Ljava/math/BigInteger;
           28   29     4          g  Ljava/math/BigInteger;
           37   38     4          g  Ljava/math/BigInteger;
           40   51     4          g  Ljava/math/BigInteger;
           25   29     5          y  Ljava/math/BigInteger;
           35   38     5          y  Ljava/math/BigInteger;
           40   51     5          y  Ljava/math/BigInteger;
           23   28     6      dhKey  Ljavax/crypto/interfaces/DHPublicKey;
           26   28     7     params  Ljavax/crypto/spec/DHParameterSpec;
           30   40     6         kf  Lsun/security/pkcs11/P11DHKeyFactory;
           33   37     7       spec  Ljavax/crypto/spec/DHPublicKeySpec;
           39   40     7          e  Ljava/security/spec/InvalidKeySpecException;
           42   48     6      dhKey  Ljavax/crypto/interfaces/DHPrivateKey;
           43   48     7     params  Ljavax/crypto/spec/DHParameterSpec;
      Exception table:
        from    to  target  type
           6    10      11  Class java.security.NoSuchAlgorithmException
          30    37      38  Class java.security.spec.InvalidKeySpecException
    Exceptions:
      throws java.security.InvalidKeyException, java.lang.IllegalStateException
    MethodParameters:
           Name  Flags
      key        
      lastPhase  

  protected byte[] engineGenerateSecret();
    descriptor: ()[B
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=9, locals=9, args_size=1
        start local 0 // sun.security.pkcs11.P11KeyAgreement this
         0: .line 198
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            ifnull 4
         1: .line 199
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            invokevirtual javax.crypto.KeyAgreement.generateSecret:()[B
            astore 1 /* val */
        start local 1 // byte[] val
         2: .line 200
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
         3: .line 201
            aload 1 /* val */
            areturn
        end local 1 // byte[] val
         4: .line 203
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.privateKey:Lsun/security/pkcs11/P11Key;
            ifnull 5
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
            ifnonnull 6
         5: .line 204
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            ldc "Not initialized correctly"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 206
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 1 /* session */
        start local 1 // sun.security.pkcs11.Session session
         7: .line 208
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.getOpSession:()Lsun/security/pkcs11/Session;
            astore 1 /* session */
         8: .line 209
            iconst_2
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
         9: .line 210
            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
        10: .line 211
            new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            ldc 256
            ldc 16
            invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
            aastore
        11: .line 209
            astore 2 /* attributes */
        start local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        12: .line 213
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
        13: .line 214
            ldc "generate"
            ldc 4
            ldc 16
            aload 2 /* attributes */
        14: .line 213
            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 */
        15: .line 215
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Session.id:()J
        16: .line 216
            new sun.security.pkcs11.wrapper.CK_MECHANISM
            dup
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.mechanism:J
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
            invokespecial sun.security.pkcs11.wrapper.CK_MECHANISM.<init>:(JLjava/math/BigInteger;)V
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.privateKey:Lsun/security/pkcs11/P11Key;
            getfield sun.security.pkcs11.P11Key.keyID:J
        17: .line 217
            aload 2 /* attributes */
        18: .line 215
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_DeriveKey:(JLsun/security/pkcs11/wrapper/CK_MECHANISM;J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J
            lstore 3 /* keyID */
        start local 3 // long keyID
        19: .line 218
            iconst_1
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
        20: .line 219
            new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            ldc 17
            invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
            aastore
        21: .line 218
            astore 2 /* attributes */
        22: .line 221
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Session.id:()J
            lload 3 /* keyID */
            aload 2 /* attributes */
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue:(JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
        23: .line 222
            aload 2 /* attributes */
            iconst_0
            aaload
            invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getByteArray:()[B
            astore 5 /* secret */
        start local 5 // byte[] secret
        24: .line 223
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Session.id:()J
            lload 3 /* keyID */
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_DestroyObject:(JJ)V
        25: .line 228
            aload 5 /* secret */
            arraylength
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.secretLen:I
            if_icmpne 30
        26: .line 229
            aload 5 /* secret */
            astore 8
        27: .line 243
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
        28: .line 244
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        29: .line 229
            aload 8
            areturn
        30: .line 231
      StackMap locals: sun.security.pkcs11.P11KeyAgreement sun.security.pkcs11.Session sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] long byte[]
      StackMap stack:
            aload 5 /* secret */
            arraylength
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.secretLen:I
            if_icmple 32
        31: .line 233
            new java.security.ProviderException
            dup
            ldc "generated secret is out-of-range"
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
        32: .line 235
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.secretLen:I
            newarray 8
            astore 6 /* newSecret */
        start local 6 // byte[] newSecret
        33: .line 236
            aload 5 /* secret */
            iconst_0
            aload 6 /* newSecret */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.secretLen:I
            aload 5 /* secret */
            arraylength
            isub
        34: .line 237
            aload 5 /* secret */
            arraylength
        35: .line 236
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        36: .line 238
            aload 6 /* newSecret */
            astore 8
        37: .line 243
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
        38: .line 244
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        39: .line 238
            aload 8
            areturn
        end local 6 // byte[] newSecret
        end local 5 // byte[] secret
        end local 3 // long keyID
        end local 2 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        40: .line 240
      StackMap locals: sun.security.pkcs11.P11KeyAgreement sun.security.pkcs11.Session
      StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
            astore 2 /* e */
        start local 2 // sun.security.pkcs11.wrapper.PKCS11Exception e
        41: .line 241
            new java.security.ProviderException
            dup
            ldc "Could not derive 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
        42: .line 242
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 7
        43: .line 243
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
        44: .line 244
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        45: .line 245
            aload 7
            athrow
        end local 1 // sun.security.pkcs11.Session session
        end local 0 // sun.security.pkcs11.P11KeyAgreement this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   46     0        this  Lsun/security/pkcs11/P11KeyAgreement;
            2    4     1         val  [B
            7   46     1     session  Lsun/security/pkcs11/Session;
           12   40     2  attributes  [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
           19   40     3       keyID  J
           24   40     5      secret  [B
           33   40     6   newSecret  [B
           41   42     2           e  Lsun/security/pkcs11/wrapper/PKCS11Exception;
      Exception table:
        from    to  target  type
           7    27      40  Class sun.security.pkcs11.wrapper.PKCS11Exception
          30    37      40  Class sun.security.pkcs11.wrapper.PKCS11Exception
           7    27      42  any
          30    37      42  any
          40    42      42  any
    Exceptions:
      throws java.lang.IllegalStateException

  protected int engineGenerateSecret(byte[], int);
    descriptor: ([BI)I
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // sun.security.pkcs11.P11KeyAgreement this
        start local 1 // byte[] sharedSecret
        start local 2 // int offset
         0: .line 251
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            ifnull 4
         1: .line 252
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            aload 1 /* sharedSecret */
            iload 2 /* offset */
            invokevirtual javax.crypto.KeyAgreement.generateSecret:([BI)I
            istore 3 /* n */
        start local 3 // int n
         2: .line 253
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
         3: .line 254
            iload 3 /* n */
            ireturn
        end local 3 // int n
         4: .line 256
      StackMap locals:
      StackMap stack:
            iload 2 /* offset */
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.secretLen:I
            iadd
            aload 1 /* sharedSecret */
            arraylength
            if_icmple 8
         5: .line 257
            new javax.crypto.ShortBufferException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Need "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.secretLen:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         6: .line 258
            ldc " bytes, only "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* sharedSecret */
            arraylength
            iload 2 /* offset */
            isub
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " available"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         7: .line 257
            invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 260
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret:()[B
            astore 3 /* secret */
        start local 3 // byte[] secret
         9: .line 261
            aload 3 /* secret */
            iconst_0
            aload 1 /* sharedSecret */
            iload 2 /* offset */
            aload 3 /* secret */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        10: .line 262
            aload 3 /* secret */
            arraylength
            ireturn
        end local 3 // byte[] secret
        end local 2 // int offset
        end local 1 // byte[] sharedSecret
        end local 0 // sun.security.pkcs11.P11KeyAgreement this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   11     0          this  Lsun/security/pkcs11/P11KeyAgreement;
            0   11     1  sharedSecret  [B
            0   11     2        offset  I
            2    4     3             n  I
            9   11     3        secret  [B
    Exceptions:
      throws java.lang.IllegalStateException, javax.crypto.ShortBufferException
    MethodParameters:
              Name  Flags
      sharedSecret  
      offset        

  protected javax.crypto.SecretKey engineGenerateSecret(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljavax/crypto/SecretKey;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // sun.security.pkcs11.P11KeyAgreement this
        start local 1 // java.lang.String algorithm
         0: .line 269
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            ifnull 4
         1: .line 270
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
            aload 1 /* algorithm */
            invokevirtual javax.crypto.KeyAgreement.generateSecret:(Ljava/lang/String;)Ljavax/crypto/SecretKey;
            astore 2 /* key */
        start local 2 // javax.crypto.SecretKey key
         2: .line 271
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.multiPartyAgreement:Ljavax/crypto/KeyAgreement;
         3: .line 272
            aload 2 /* key */
            areturn
        end local 2 // javax.crypto.SecretKey key
         4: .line 274
      StackMap locals:
      StackMap stack:
            aload 1 /* algorithm */
            ifnonnull 6
         5: .line 275
            new java.security.NoSuchAlgorithmException
            dup
            ldc "Algorithm must not be null"
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 278
      StackMap locals:
      StackMap stack:
            aload 1 /* algorithm */
            ldc "TlsPremasterSecret"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 8
         7: .line 284
            aload 0 /* this */
            aload 1 /* algorithm */
            invokevirtual sun.security.pkcs11.P11KeyAgreement.nativeGenerateSecret:(Ljava/lang/String;)Ljavax/crypto/SecretKey;
            areturn
         8: .line 287
      StackMap locals:
      StackMap stack:
            aload 1 /* algorithm */
            ldc "TlsPremasterSecret"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 13
         9: .line 288
            getstatic sun.security.pkcs11.P11KeyAgreement$AllowKDF.VALUE:Z
            ifne 13
        10: .line 290
            new java.security.NoSuchAlgorithmException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unsupported secret key algorithm: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        11: .line 291
            aload 1 /* algorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        12: .line 290
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 294
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.P11KeyAgreement.engineGenerateSecret:()[B
            astore 2 /* secret */
        start local 2 // byte[] secret
        14: .line 299
            aload 1 /* algorithm */
            ldc "DES"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 17
        15: .line 300
            bipush 8
            istore 3 /* keyLen */
        start local 3 // int keyLen
        16: .line 301
            goto 29
        end local 3 // int keyLen
      StackMap locals: byte[]
      StackMap stack:
        17: aload 1 /* algorithm */
            ldc "DESede"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 20
        18: .line 302
            bipush 24
            istore 3 /* keyLen */
        start local 3 // int keyLen
        19: .line 303
            goto 29
        end local 3 // int keyLen
      StackMap locals:
      StackMap stack:
        20: aload 1 /* algorithm */
            ldc "Blowfish"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 23
        21: .line 304
            bipush 56
            aload 2 /* secret */
            arraylength
            invokestatic java.lang.Math.min:(II)I
            istore 3 /* keyLen */
        start local 3 // int keyLen
        22: .line 305
            goto 29
        end local 3 // int keyLen
      StackMap locals:
      StackMap stack:
        23: aload 1 /* algorithm */
            ldc "TlsPremasterSecret"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 26
        24: .line 306
            aload 2 /* secret */
            arraylength
            istore 3 /* keyLen */
        start local 3 // int keyLen
        25: .line 307
            goto 29
        end local 3 // int keyLen
        26: .line 308
      StackMap locals:
      StackMap stack:
            new java.security.NoSuchAlgorithmException
            dup
        27: .line 309
            new java.lang.StringBuilder
            dup
            ldc "Unknown algorithm "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* algorithm */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        28: .line 308
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        start local 3 // int keyLen
        29: .line 311
      StackMap locals: int
      StackMap stack:
            aload 2 /* secret */
            arraylength
            iload 3 /* keyLen */
            if_icmpge 31
        30: .line 312
            new java.security.InvalidKeyException
            dup
            ldc "Secret too short"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        31: .line 314
      StackMap locals:
      StackMap stack:
            aload 1 /* algorithm */
            ldc "DES"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 33
        32: .line 315
            aload 1 /* algorithm */
            ldc "DESede"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 38
        33: .line 316
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* i */
        start local 4 // int i
        34: goto 37
        35: .line 317
      StackMap locals: int
      StackMap stack:
            aload 2 /* secret */
            iload 4 /* i */
            invokestatic sun.security.pkcs11.P11SecretKeyFactory.fixDESParity:([BI)V
        36: .line 316
            iinc 4 /* i */ 8
      StackMap locals:
      StackMap stack:
        37: iload 4 /* i */
            iload 3 /* keyLen */
            if_icmplt 35
        end local 4 // int i
        38: .line 320
      StackMap locals:
      StackMap stack:
            new javax.crypto.spec.SecretKeySpec
            dup
            aload 2 /* secret */
            iconst_0
            iload 3 /* keyLen */
            aload 1 /* algorithm */
            invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BIILjava/lang/String;)V
            areturn
        end local 3 // int keyLen
        end local 2 // byte[] secret
        end local 1 // java.lang.String algorithm
        end local 0 // sun.security.pkcs11.P11KeyAgreement this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   39     0       this  Lsun/security/pkcs11/P11KeyAgreement;
            0   39     1  algorithm  Ljava/lang/String;
            2    4     2        key  Ljavax/crypto/SecretKey;
           14   39     2     secret  [B
           16   17     3     keyLen  I
           19   20     3     keyLen  I
           22   23     3     keyLen  I
           25   26     3     keyLen  I
           29   39     3     keyLen  I
           34   38     4          i  I
    Exceptions:
      throws java.lang.IllegalStateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
    MethodParameters:
           Name  Flags
      algorithm  

  private javax.crypto.SecretKey nativeGenerateSecret(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljavax/crypto/SecretKey;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=9, locals=15, args_size=2
        start local 0 // sun.security.pkcs11.P11KeyAgreement this
        start local 1 // java.lang.String algorithm
         0: .line 326
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.privateKey:Lsun/security/pkcs11/P11Key;
            ifnull 1
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
            ifnonnull 2
         1: .line 327
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            ldc "Not initialized correctly"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 329
      StackMap locals:
      StackMap stack:
            ldc 16
            lstore 2 /* keyType */
        start local 2 // long keyType
         3: .line 330
            aconst_null
            astore 4 /* session */
        start local 4 // sun.security.pkcs11.Session session
         4: .line 332
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            invokevirtual sun.security.pkcs11.Token.getObjSession:()Lsun/security/pkcs11/Session;
            astore 4 /* session */
         5: .line 333
            iconst_2
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
         6: .line 334
            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
         7: .line 335
            new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            ldc 256
            lload 2 /* keyType */
            invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
            aastore
         8: .line 333
            astore 5 /* attributes */
        start local 5 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
         9: .line 337
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
        10: .line 338
            ldc "generate"
            ldc 4
            lload 2 /* keyType */
            aload 5 /* attributes */
        11: .line 337
            invokevirtual sun.security.pkcs11.Token.getAttributes:(Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
            astore 5 /* attributes */
        12: .line 339
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
            aload 4 /* session */
            invokevirtual sun.security.pkcs11.Session.id:()J
        13: .line 340
            new sun.security.pkcs11.wrapper.CK_MECHANISM
            dup
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.mechanism:J
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
            invokespecial sun.security.pkcs11.wrapper.CK_MECHANISM.<init>:(JLjava/math/BigInteger;)V
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.privateKey:Lsun/security/pkcs11/P11Key;
            getfield sun.security.pkcs11.P11Key.keyID:J
        14: .line 341
            aload 5 /* attributes */
        15: .line 339
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_DeriveKey:(JLsun/security/pkcs11/wrapper/CK_MECHANISM;J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J
            lstore 6 /* keyID */
        start local 6 // long keyID
        16: .line 342
            iconst_1
            anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            iconst_0
        17: .line 343
            new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
            dup
            ldc 353
            invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
            aastore
        18: .line 342
            astore 8 /* lenAttributes */
        start local 8 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] lenAttributes
        19: .line 345
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
            aload 4 /* session */
            invokevirtual sun.security.pkcs11.Session.id:()J
            lload 6 /* keyID */
            aload 8 /* lenAttributes */
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue:(JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
        20: .line 346
            aload 8 /* lenAttributes */
            iconst_0
            aaload
            invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getLong:()J
            l2i
            istore 9 /* keyLen */
        start local 9 // int keyLen
        21: .line 348
            aload 4 /* session */
            lload 6 /* keyID */
            aload 1 /* algorithm */
            iload 9 /* keyLen */
            iconst_3
            ishl
            aload 5 /* attributes */
        22: .line 347
            invokestatic sun.security.pkcs11.P11Key.secretKey:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)Ljavax/crypto/SecretKey;
            astore 10 /* key */
        start local 10 // javax.crypto.SecretKey key
        23: .line 349
            ldc "RAW"
            aload 10 /* key */
            invokeinterface javax.crypto.SecretKey.getFormat:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 28
        24: .line 355
            aload 10 /* key */
            invokeinterface javax.crypto.SecretKey.getEncoded:()[B
            astore 11 /* keyBytes */
        start local 11 // byte[] keyBytes
        25: .line 356
            aload 11 /* keyBytes */
            invokestatic sun.security.util.KeyUtil.trimZeroes:([B)[B
            astore 12 /* newBytes */
        start local 12 // byte[] newBytes
        26: .line 357
            aload 11 /* keyBytes */
            aload 12 /* newBytes */
            if_acmpeq 28
        27: .line 358
            new javax.crypto.spec.SecretKeySpec
            dup
            aload 12 /* newBytes */
            aload 1 /* algorithm */
            invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
            astore 10 /* key */
        end local 12 // byte[] newBytes
        end local 11 // byte[] keyBytes
        28: .line 361
      StackMap locals: sun.security.pkcs11.P11KeyAgreement java.lang.String long sun.security.pkcs11.Session sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] long sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] int javax.crypto.SecretKey
      StackMap stack:
            aload 10 /* key */
            astore 14
        29: .line 365
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
        30: .line 366
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            aload 4 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        31: .line 361
            aload 14
            areturn
        end local 10 // javax.crypto.SecretKey key
        end local 9 // int keyLen
        end local 8 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] lenAttributes
        end local 6 // long keyID
        end local 5 // sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
        32: .line 362
      StackMap locals: sun.security.pkcs11.P11KeyAgreement java.lang.String long sun.security.pkcs11.Session
      StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
            astore 5 /* e */
        start local 5 // sun.security.pkcs11.wrapper.PKCS11Exception e
        33: .line 363
            new java.security.InvalidKeyException
            dup
            ldc "Could not derive key"
            aload 5 /* e */
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 5 // sun.security.pkcs11.wrapper.PKCS11Exception e
        34: .line 364
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 13
        35: .line 365
            aload 0 /* this */
            aconst_null
            putfield sun.security.pkcs11.P11KeyAgreement.publicValue:Ljava/math/BigInteger;
        36: .line 366
            aload 0 /* this */
            getfield sun.security.pkcs11.P11KeyAgreement.token:Lsun/security/pkcs11/Token;
            aload 4 /* session */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        37: .line 367
            aload 13
            athrow
        end local 4 // sun.security.pkcs11.Session session
        end local 2 // long keyType
        end local 1 // java.lang.String algorithm
        end local 0 // sun.security.pkcs11.P11KeyAgreement this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   38     0           this  Lsun/security/pkcs11/P11KeyAgreement;
            0   38     1      algorithm  Ljava/lang/String;
            3   38     2        keyType  J
            4   38     4        session  Lsun/security/pkcs11/Session;
            9   32     5     attributes  [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
           16   32     6          keyID  J
           19   32     8  lenAttributes  [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
           21   32     9         keyLen  I
           23   32    10            key  Ljavax/crypto/SecretKey;
           25   28    11       keyBytes  [B
           26   28    12       newBytes  [B
           33   34     5              e  Lsun/security/pkcs11/wrapper/PKCS11Exception;
      Exception table:
        from    to  target  type
           4    29      32  Class sun.security.pkcs11.wrapper.PKCS11Exception
           4    29      34  any
          32    34      34  any
    Exceptions:
      throws java.lang.IllegalStateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
    MethodParameters:
           Name  Flags
      algorithm  
}
SourceFile: "P11KeyAgreement.java"
NestMembers:
  sun.security.pkcs11.P11KeyAgreement$AllowKDF  sun.security.pkcs11.P11KeyAgreement$AllowKDF$1
InnerClasses:
  private AllowKDF = sun.security.pkcs11.P11KeyAgreement$AllowKDF of sun.security.pkcs11.P11KeyAgreement