public final class sun.security.ec.ECDHKeyAgreement extends javax.crypto.KeyAgreementSpi
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: sun.security.ec.ECDHKeyAgreement
  super_class: javax.crypto.KeyAgreementSpi
{
  private java.security.interfaces.ECPrivateKey privateKey;
    descriptor: Ljava/security/interfaces/ECPrivateKey;
    flags: (0x0002) ACC_PRIVATE

  private java.security.interfaces.ECPublicKey publicKey;
    descriptor: Ljava/security/interfaces/ECPublicKey;
    flags: (0x0002) ACC_PRIVATE

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

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ec.ECDHKeyAgreement this
         0: .line 63
            aload 0 /* this */
            invokespecial javax.crypto.KeyAgreementSpi.<init>:()V
         1: .line 64
            return
        end local 0 // sun.security.ec.ECDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/security/ec/ECDHKeyAgreement;

  protected void engineInit(java.security.Key, java.security.SecureRandom);
    descriptor: (Ljava/security/Key;Ljava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // sun.security.ec.ECDHKeyAgreement this
        start local 1 // java.security.Key key
        start local 2 // java.security.SecureRandom random
         0: .line 70
            aload 1 /* key */
            instanceof java.security.PrivateKey
            ifne 4
         1: .line 71
            new java.security.InvalidKeyException
            dup
         2: .line 72
            ldc "Key must be instance of PrivateKey"
         3: .line 71
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* key */
            invokestatic sun.security.ec.ECKeyFactory.toECKey:(Ljava/security/Key;)Ljava/security/interfaces/ECKey;
            checkcast java.security.interfaces.ECPrivateKey
            putfield sun.security.ec.ECDHKeyAgreement.privateKey:Ljava/security/interfaces/ECPrivateKey;
         5: .line 75
            aload 0 /* this */
            aconst_null
            putfield sun.security.ec.ECDHKeyAgreement.publicKey:Ljava/security/interfaces/ECPublicKey;
         6: .line 76
            return
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.Key key
        end local 0 // sun.security.ec.ECDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lsun/security/ec/ECDHKeyAgreement;
            0    7     1     key  Ljava/security/Key;
            0    7     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.ec.ECDHKeyAgreement 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 83
            aload 2 /* params */
            ifnull 4
         1: .line 84
            new java.security.InvalidAlgorithmParameterException
            dup
         2: .line 85
            ldc "Parameters not supported"
         3: .line 84
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 87
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* key */
            aload 3 /* random */
            invokevirtual sun.security.ec.ECDHKeyAgreement.engineInit:(Ljava/security/Key;Ljava/security/SecureRandom;)V
         5: .line 88
            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.ec.ECDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lsun/security/ec/ECDHKeyAgreement;
            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=3, locals=5, args_size=3
        start local 0 // sun.security.ec.ECDHKeyAgreement this
        start local 1 // java.security.Key key
        start local 2 // boolean lastPhase
         0: .line 94
            aload 0 /* this */
            getfield sun.security.ec.ECDHKeyAgreement.privateKey:Ljava/security/interfaces/ECPrivateKey;
            ifnonnull 2
         1: .line 95
            new java.lang.IllegalStateException
            dup
            ldc "Not initialized"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 97
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ec.ECDHKeyAgreement.publicKey:Ljava/security/interfaces/ECPublicKey;
            ifnull 4
         3: .line 98
            new java.lang.IllegalStateException
            dup
            ldc "Phase already executed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 100
      StackMap locals:
      StackMap stack:
            iload 2 /* lastPhase */
            ifne 8
         5: .line 101
            new java.lang.IllegalStateException
            dup
         6: .line 102
            ldc "Only two party agreement supported, lastPhase must be true"
         7: .line 101
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 104
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.interfaces.ECPublicKey
            ifne 12
         9: .line 105
            new java.security.InvalidKeyException
            dup
        10: .line 106
            ldc "Key must be a PublicKey with algorithm EC"
        11: .line 105
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        12: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* key */
            checkcast java.security.interfaces.ECPublicKey
            putfield sun.security.ec.ECDHKeyAgreement.publicKey:Ljava/security/interfaces/ECPublicKey;
        13: .line 111
            aload 0 /* this */
            getfield sun.security.ec.ECDHKeyAgreement.publicKey:Ljava/security/interfaces/ECPublicKey;
            invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
            astore 3 /* params */
        start local 3 // java.security.spec.ECParameterSpec params
        14: .line 112
            aload 3 /* params */
            invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
            invokevirtual java.security.spec.EllipticCurve.getField:()Ljava/security/spec/ECField;
            invokeinterface java.security.spec.ECField.getFieldSize:()I
            istore 4 /* keyLenBits */
        start local 4 // int keyLenBits
        15: .line 113
            aload 0 /* this */
            iload 4 /* keyLenBits */
            bipush 7
            iadd
            iconst_3
            ishr
            putfield sun.security.ec.ECDHKeyAgreement.secretLen:I
        16: .line 115
            aconst_null
            areturn
        end local 4 // int keyLenBits
        end local 3 // java.security.spec.ECParameterSpec params
        end local 2 // boolean lastPhase
        end local 1 // java.security.Key key
        end local 0 // sun.security.ec.ECDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   17     0        this  Lsun/security/ec/ECDHKeyAgreement;
            0   17     1         key  Ljava/security/Key;
            0   17     2   lastPhase  Z
           14   17     3      params  Ljava/security/spec/ECParameterSpec;
           15   17     4  keyLenBits  I
    Exceptions:
      throws java.security.InvalidKeyException, java.lang.IllegalStateException
    MethodParameters:
           Name  Flags
      key        
      lastPhase  

  private static void validateCoordinate(java.math.BigInteger, java.math.BigInteger);
    descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.math.BigInteger c
        start local 1 // java.math.BigInteger mod
         0: .line 119
            aload 0 /* c */
            getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifge 2
         1: .line 120
            new java.security.ProviderException
            dup
            ldc "invalid coordinate"
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 123
      StackMap locals:
      StackMap stack:
            aload 0 /* c */
            aload 1 /* mod */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            iflt 4
         3: .line 124
            new java.security.ProviderException
            dup
            ldc "invalid coordinate"
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 126
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.math.BigInteger mod
        end local 0 // java.math.BigInteger c
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0     c  Ljava/math/BigInteger;
            0    5     1   mod  Ljava/math/BigInteger;
    MethodParameters:
      Name  Flags
      c     
      mod   

  private static void validate(sun.security.ec.ECOperations, java.security.interfaces.ECPublicKey);
    descriptor: (Lsun/security/ec/ECOperations;Ljava/security/interfaces/ECPublicKey;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=13, args_size=2
        start local 0 // sun.security.ec.ECOperations ops
        start local 1 // java.security.interfaces.ECPublicKey key
         0: .line 135
            aload 1 /* key */
            invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
            invokevirtual java.security.spec.ECPoint.getAffineX:()Ljava/math/BigInteger;
            astore 2 /* x */
        start local 2 // java.math.BigInteger x
         1: .line 136
            aload 1 /* key */
            invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
            invokevirtual java.security.spec.ECPoint.getAffineY:()Ljava/math/BigInteger;
            astore 3 /* y */
        start local 3 // java.math.BigInteger y
         2: .line 138
            aload 0 /* ops */
            invokevirtual sun.security.ec.ECOperations.getField:()Lsun/security/util/math/IntegerFieldModuloP;
            invokeinterface sun.security.util.math.IntegerFieldModuloP.getSize:()Ljava/math/BigInteger;
            astore 4 /* p */
        start local 4 // java.math.BigInteger p
         3: .line 139
            aload 2 /* x */
            aload 4 /* p */
            invokestatic sun.security.ec.ECDHKeyAgreement.validateCoordinate:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
         4: .line 140
            aload 3 /* y */
            aload 4 /* p */
            invokestatic sun.security.ec.ECDHKeyAgreement.validateCoordinate:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
         5: .line 143
            aload 1 /* key */
            invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
            invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
            astore 5 /* curve */
        start local 5 // java.security.spec.EllipticCurve curve
         6: .line 144
            aload 2 /* x */
            ldc 3
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            aload 4 /* p */
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 5 /* curve */
            invokevirtual java.security.spec.EllipticCurve.getA:()Ljava/math/BigInteger;
         7: .line 145
            aload 2 /* x */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
         8: .line 144
            invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
         9: .line 145
            aload 5 /* curve */
            invokevirtual java.security.spec.EllipticCurve.getB:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 4 /* p */
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
        10: .line 144
            astore 6 /* rhs */
        start local 6 // java.math.BigInteger rhs
        11: .line 146
            aload 3 /* y */
            ldc 2
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            aload 4 /* p */
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 4 /* p */
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 7 /* lhs */
        start local 7 // java.math.BigInteger lhs
        12: .line 147
            aload 6 /* rhs */
            aload 7 /* lhs */
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifne 14
        13: .line 148
            new java.security.ProviderException
            dup
            ldc "point is not on curve"
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 152
      StackMap locals: sun.security.ec.ECOperations java.security.interfaces.ECPublicKey java.math.BigInteger java.math.BigInteger java.math.BigInteger java.security.spec.EllipticCurve java.math.BigInteger java.math.BigInteger
      StackMap stack:
            aload 0 /* ops */
            invokevirtual sun.security.ec.ECOperations.getField:()Lsun/security/util/math/IntegerFieldModuloP;
            aload 2 /* x */
            invokeinterface sun.security.util.math.IntegerFieldModuloP.getElement:(Ljava/math/BigInteger;)Lsun/security/util/math/ImmutableIntegerModuloP;
            astore 8 /* xElem */
        start local 8 // sun.security.util.math.ImmutableIntegerModuloP xElem
        15: .line 153
            aload 0 /* ops */
            invokevirtual sun.security.ec.ECOperations.getField:()Lsun/security/util/math/IntegerFieldModuloP;
            aload 3 /* y */
            invokeinterface sun.security.util.math.IntegerFieldModuloP.getElement:(Ljava/math/BigInteger;)Lsun/security/util/math/ImmutableIntegerModuloP;
            astore 9 /* yElem */
        start local 9 // sun.security.util.math.ImmutableIntegerModuloP yElem
        16: .line 154
            new sun.security.ec.point.AffinePoint
            dup
            aload 8 /* xElem */
            aload 9 /* yElem */
            invokespecial sun.security.ec.point.AffinePoint.<init>:(Lsun/security/util/math/ImmutableIntegerModuloP;Lsun/security/util/math/ImmutableIntegerModuloP;)V
            astore 10 /* affP */
        start local 10 // sun.security.ec.point.AffinePoint affP
        17: .line 155
            aload 1 /* key */
            invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
            invokevirtual java.security.spec.ECParameterSpec.getOrder:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.toByteArray:()[B
            astore 11 /* order */
        start local 11 // byte[] order
        18: .line 156
            aload 11 /* order */
            invokestatic sun.security.util.ArrayUtil.reverse:([B)V
        19: .line 157
            aload 0 /* ops */
            aload 10 /* affP */
            aload 11 /* order */
            invokevirtual sun.security.ec.ECOperations.multiply:(Lsun/security/ec/point/AffinePoint;[B)Lsun/security/ec/point/MutablePoint;
            astore 12 /* product */
        start local 12 // sun.security.ec.point.Point product
        20: .line 158
            aload 0 /* ops */
            aload 12 /* product */
            invokevirtual sun.security.ec.ECOperations.isNeutral:(Lsun/security/ec/point/Point;)Z
            ifne 22
        21: .line 159
            new java.security.ProviderException
            dup
            ldc "point has incorrect order"
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
        22: .line 162
      StackMap locals: sun.security.ec.ECOperations java.security.interfaces.ECPublicKey java.math.BigInteger java.math.BigInteger java.math.BigInteger java.security.spec.EllipticCurve java.math.BigInteger java.math.BigInteger sun.security.util.math.ImmutableIntegerModuloP sun.security.util.math.ImmutableIntegerModuloP sun.security.ec.point.AffinePoint byte[] sun.security.ec.point.Point
      StackMap stack:
            return
        end local 12 // sun.security.ec.point.Point product
        end local 11 // byte[] order
        end local 10 // sun.security.ec.point.AffinePoint affP
        end local 9 // sun.security.util.math.ImmutableIntegerModuloP yElem
        end local 8 // sun.security.util.math.ImmutableIntegerModuloP xElem
        end local 7 // java.math.BigInteger lhs
        end local 6 // java.math.BigInteger rhs
        end local 5 // java.security.spec.EllipticCurve curve
        end local 4 // java.math.BigInteger p
        end local 3 // java.math.BigInteger y
        end local 2 // java.math.BigInteger x
        end local 1 // java.security.interfaces.ECPublicKey key
        end local 0 // sun.security.ec.ECOperations ops
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   23     0      ops  Lsun/security/ec/ECOperations;
            0   23     1      key  Ljava/security/interfaces/ECPublicKey;
            1   23     2        x  Ljava/math/BigInteger;
            2   23     3        y  Ljava/math/BigInteger;
            3   23     4        p  Ljava/math/BigInteger;
            6   23     5    curve  Ljava/security/spec/EllipticCurve;
           11   23     6      rhs  Ljava/math/BigInteger;
           12   23     7      lhs  Ljava/math/BigInteger;
           15   23     8    xElem  Lsun/security/util/math/ImmutableIntegerModuloP;
           16   23     9    yElem  Lsun/security/util/math/ImmutableIntegerModuloP;
           17   23    10     affP  Lsun/security/ec/point/AffinePoint;
           18   23    11    order  [B
           20   23    12  product  Lsun/security/ec/point/Point;
    MethodParameters:
      Name  Flags
      ops   
      key   

  protected byte[] engineGenerateSecret();
    descriptor: ()[B
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=7, locals=4, args_size=1
        start local 0 // sun.security.ec.ECDHKeyAgreement this
         0: .line 167
            aload 0 /* this */
            getfield sun.security.ec.ECDHKeyAgreement.privateKey:Ljava/security/interfaces/ECPrivateKey;
            ifnull 1
            aload 0 /* this */
            getfield sun.security.ec.ECDHKeyAgreement.publicKey:Ljava/security/interfaces/ECPublicKey;
            ifnonnull 2
         1: .line 168
      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 171
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ec.ECDHKeyAgreement.privateKey:Ljava/security/interfaces/ECPrivateKey;
            aload 0 /* this */
            getfield sun.security.ec.ECDHKeyAgreement.publicKey:Ljava/security/interfaces/ECPublicKey;
            invokestatic sun.security.ec.ECDHKeyAgreement.deriveKeyImpl:(Ljava/security/interfaces/ECPrivateKey;Ljava/security/interfaces/ECPublicKey;)Ljava/util/Optional;
            astore 2 /* resultOpt */
        start local 2 // java.util.Optional resultOpt
         3: .line 172
            aload 2 /* resultOpt */
            invokevirtual java.util.Optional.isEmpty:()Z
            ifeq 12
         4: .line 173
            aload 0 /* this */
            getfield sun.security.ec.ECDHKeyAgreement.publicKey:Ljava/security/interfaces/ECPublicKey;
            invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
            invokestatic sun.security.util.CurveDB.lookup:(Ljava/security/spec/ECParameterSpec;)Lsun/security/util/NamedCurve;
            astore 3 /* nc */
        start local 3 // sun.security.util.NamedCurve nc
         5: .line 174
            new java.lang.IllegalStateException
            dup
         6: .line 175
            new java.security.InvalidAlgorithmParameterException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Curve not supported: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         7: .line 176
            aload 3 /* nc */
            ifnull 8
            aload 3 /* nc */
            invokevirtual sun.security.util.NamedCurve.toString:()Ljava/lang/String;
            goto 9
      StackMap locals: sun.security.ec.ECDHKeyAgreement top java.util.Optional sun.security.util.NamedCurve
      StackMap stack: new 5 new 5 new 6 new 6 java.lang.StringBuilder
         8: ldc "unknown"
      StackMap locals: sun.security.ec.ECDHKeyAgreement top java.util.Optional sun.security.util.NamedCurve
      StackMap stack: new 5 new 5 new 6 new 6 java.lang.StringBuilder java.lang.String
         9: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 175
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
        11: .line 174
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // sun.security.util.NamedCurve nc
        12: .line 178
      StackMap locals:
      StackMap stack:
            aload 2 /* resultOpt */
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            checkcast byte[]
            astore 1 /* result */
        start local 1 // byte[] result
        13: .line 179
            aload 0 /* this */
            aconst_null
            putfield sun.security.ec.ECDHKeyAgreement.publicKey:Ljava/security/interfaces/ECPublicKey;
        14: .line 180
            aload 1 /* result */
            areturn
        end local 2 // java.util.Optional resultOpt
        end local 1 // byte[] result
        end local 0 // sun.security.ec.ECDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   15     0       this  Lsun/security/ec/ECDHKeyAgreement;
           13   15     1     result  [B
            3   15     2  resultOpt  Ljava/util/Optional<[B>;
            5   12     3         nc  Lsun/security/util/NamedCurve;
    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.ec.ECDHKeyAgreement this
        start local 1 // byte[] sharedSecret
        start local 2 // int offset
         0: .line 187
            aload 0 /* this */
            getfield sun.security.ec.ECDHKeyAgreement.secretLen:I
            aload 1 /* sharedSecret */
            arraylength
            iload 2 /* offset */
            isub
            if_icmple 5
         1: .line 188
            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.ec.ECDHKeyAgreement.secretLen:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         2: .line 189
            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;
         3: .line 190
            ldc " available"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         4: .line 188
            invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 192
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.security.ec.ECDHKeyAgreement.engineGenerateSecret:()[B
            astore 3 /* secret */
        start local 3 // byte[] secret
         6: .line 193
            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
         7: .line 194
            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.ec.ECDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    8     0          this  Lsun/security/ec/ECDHKeyAgreement;
            0    8     1  sharedSecret  [B
            0    8     2        offset  I
            6    8     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=4, locals=2, args_size=2
        start local 0 // sun.security.ec.ECDHKeyAgreement this
        start local 1 // java.lang.String algorithm
         0: .line 202
            aload 1 /* algorithm */
            ifnonnull 2
         1: .line 203
            new java.security.NoSuchAlgorithmException
            dup
            ldc "Algorithm must not be null"
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 205
      StackMap locals:
      StackMap stack:
            aload 1 /* algorithm */
            ldc "TlsPremasterSecret"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 6
         3: .line 206
            new java.security.NoSuchAlgorithmException
            dup
         4: .line 207
            ldc "Only supported for algorithm TlsPremasterSecret"
         5: .line 206
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 209
      StackMap locals:
      StackMap stack:
            new javax.crypto.spec.SecretKeySpec
            dup
            aload 0 /* this */
            invokevirtual sun.security.ec.ECDHKeyAgreement.engineGenerateSecret:()[B
            ldc "TlsPremasterSecret"
            invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
            areturn
        end local 1 // java.lang.String algorithm
        end local 0 // sun.security.ec.ECDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Lsun/security/ec/ECDHKeyAgreement;
            0    7     1  algorithm  Ljava/lang/String;
    Exceptions:
      throws java.lang.IllegalStateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
    MethodParameters:
           Name  Flags
      algorithm  

  private static java.util.Optional<byte[]> deriveKeyImpl(java.security.interfaces.ECPrivateKey, java.security.interfaces.ECPublicKey);
    descriptor: (Ljava/security/interfaces/ECPrivateKey;Ljava/security/interfaces/ECPublicKey;)Ljava/util/Optional;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=19, args_size=2
        start local 0 // java.security.interfaces.ECPrivateKey priv
        start local 1 // java.security.interfaces.ECPublicKey pubKey
         0: .line 215
            aload 0 /* priv */
            invokeinterface java.security.interfaces.ECPrivateKey.getParams:()Ljava/security/spec/ECParameterSpec;
            astore 2 /* ecSpec */
        start local 2 // java.security.spec.ECParameterSpec ecSpec
         1: .line 216
            aload 2 /* ecSpec */
            invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
            astore 3 /* curve */
        start local 3 // java.security.spec.EllipticCurve curve
         2: .line 217
            aload 2 /* ecSpec */
            invokestatic sun.security.ec.ECOperations.forParameters:(Ljava/security/spec/ECParameterSpec;)Ljava/util/Optional;
            astore 4 /* opsOpt */
        start local 4 // java.util.Optional opsOpt
         3: .line 218
            aload 4 /* opsOpt */
            invokevirtual java.util.Optional.isEmpty:()Z
            ifeq 5
         4: .line 219
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            areturn
         5: .line 221
      StackMap locals: java.security.spec.ECParameterSpec java.security.spec.EllipticCurve java.util.Optional
      StackMap stack:
            aload 4 /* opsOpt */
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            checkcast sun.security.ec.ECOperations
            astore 5 /* ops */
        start local 5 // sun.security.ec.ECOperations ops
         6: .line 222
            aload 0 /* priv */
            instanceof sun.security.ec.ECPrivateKeyImpl
            ifne 8
         7: .line 223
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            areturn
         8: .line 225
      StackMap locals: sun.security.ec.ECOperations
      StackMap stack:
            aload 0 /* priv */
            checkcast sun.security.ec.ECPrivateKeyImpl
            astore 6 /* privImpl */
        start local 6 // sun.security.ec.ECPrivateKeyImpl privImpl
         9: .line 226
            aload 6 /* privImpl */
            invokevirtual sun.security.ec.ECPrivateKeyImpl.getArrayS:()[B
            astore 7 /* sArr */
        start local 7 // byte[] sArr
        10: .line 230
            aload 5 /* ops */
            aload 1 /* pubKey */
            invokestatic sun.security.ec.ECDHKeyAgreement.validate:(Lsun/security/ec/ECOperations;Ljava/security/interfaces/ECPublicKey;)V
        11: .line 232
            aload 5 /* ops */
            invokevirtual sun.security.ec.ECOperations.getField:()Lsun/security/util/math/IntegerFieldModuloP;
            astore 8 /* field */
        start local 8 // sun.security.util.math.IntegerFieldModuloP field
        12: .line 234
            aload 8 /* field */
            aload 7 /* sArr */
            invokeinterface sun.security.util.math.IntegerFieldModuloP.getElement:([B)Lsun/security/util/math/ImmutableIntegerModuloP;
            invokeinterface sun.security.util.math.ImmutableIntegerModuloP.mutable:()Lsun/security/util/math/MutableIntegerModuloP;
            astore 9 /* scalar */
        start local 9 // sun.security.util.math.MutableIntegerModuloP scalar
        13: .line 236
            aload 8 /* field */
            aload 0 /* priv */
            invokeinterface java.security.interfaces.ECPrivateKey.getParams:()Ljava/security/spec/ECParameterSpec;
            invokevirtual java.security.spec.ECParameterSpec.getCofactor:()I
            invokeinterface sun.security.util.math.IntegerFieldModuloP.getSmallValue:(I)Lsun/security/util/math/SmallValue;
        14: .line 235
            astore 10 /* cofactor */
        start local 10 // sun.security.util.math.SmallValue cofactor
        15: .line 237
            aload 9 /* scalar */
            aload 10 /* cofactor */
            invokeinterface sun.security.util.math.MutableIntegerModuloP.setProduct:(Lsun/security/util/math/SmallValue;)Lsun/security/util/math/MutableIntegerModuloP;
            pop
        16: .line 238
            aload 3 /* curve */
            invokevirtual java.security.spec.EllipticCurve.getField:()Ljava/security/spec/ECField;
            invokeinterface java.security.spec.ECField.getFieldSize:()I
            bipush 7
            iadd
            bipush 8
            idiv
            istore 11 /* keySize */
        start local 11 // int keySize
        17: .line 239
            aload 9 /* scalar */
            iload 11 /* keySize */
            invokeinterface sun.security.util.math.MutableIntegerModuloP.asByteArray:(I)[B
            astore 12 /* privArr */
        start local 12 // byte[] privArr
        18: .line 242
            aload 8 /* field */
            aload 1 /* pubKey */
            invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
            invokevirtual java.security.spec.ECPoint.getAffineX:()Ljava/math/BigInteger;
            invokeinterface sun.security.util.math.IntegerFieldModuloP.getElement:(Ljava/math/BigInteger;)Lsun/security/util/math/ImmutableIntegerModuloP;
        19: .line 241
            astore 13 /* x */
        start local 13 // sun.security.util.math.ImmutableIntegerModuloP x
        20: .line 244
            aload 8 /* field */
            aload 1 /* pubKey */
            invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
            invokevirtual java.security.spec.ECPoint.getAffineY:()Ljava/math/BigInteger;
            invokeinterface sun.security.util.math.IntegerFieldModuloP.getElement:(Ljava/math/BigInteger;)Lsun/security/util/math/ImmutableIntegerModuloP;
        21: .line 243
            astore 14 /* y */
        start local 14 // sun.security.util.math.ImmutableIntegerModuloP y
        22: .line 245
            new sun.security.ec.point.AffinePoint
            dup
            aload 13 /* x */
            aload 14 /* y */
            invokespecial sun.security.ec.point.AffinePoint.<init>:(Lsun/security/util/math/ImmutableIntegerModuloP;Lsun/security/util/math/ImmutableIntegerModuloP;)V
            astore 15 /* affPub */
        start local 15 // sun.security.ec.point.AffinePoint affPub
        23: .line 246
            aload 5 /* ops */
            aload 15 /* affPub */
            aload 12 /* privArr */
            invokevirtual sun.security.ec.ECOperations.multiply:(Lsun/security/ec/point/AffinePoint;[B)Lsun/security/ec/point/MutablePoint;
            astore 16 /* product */
        start local 16 // sun.security.ec.point.Point product
        24: .line 247
            aload 5 /* ops */
            aload 16 /* product */
            invokevirtual sun.security.ec.ECOperations.isNeutral:(Lsun/security/ec/point/Point;)Z
            ifeq 26
        25: .line 248
            new java.security.ProviderException
            dup
            ldc "Product is zero"
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
        26: .line 250
      StackMap locals: java.security.interfaces.ECPrivateKey java.security.interfaces.ECPublicKey java.security.spec.ECParameterSpec java.security.spec.EllipticCurve java.util.Optional sun.security.ec.ECOperations sun.security.ec.ECPrivateKeyImpl byte[] sun.security.util.math.IntegerFieldModuloP sun.security.util.math.MutableIntegerModuloP sun.security.util.math.SmallValue int byte[] sun.security.util.math.ImmutableIntegerModuloP sun.security.util.math.ImmutableIntegerModuloP sun.security.ec.point.AffinePoint sun.security.ec.point.Point
      StackMap stack:
            aload 16 /* product */
            invokeinterface sun.security.ec.point.Point.asAffine:()Lsun/security/ec/point/AffinePoint;
            astore 17 /* affProduct */
        start local 17 // sun.security.ec.point.AffinePoint affProduct
        27: .line 252
            aload 17 /* affProduct */
            invokevirtual sun.security.ec.point.AffinePoint.getX:()Lsun/security/util/math/ImmutableIntegerModuloP;
            iload 11 /* keySize */
            invokeinterface sun.security.util.math.ImmutableIntegerModuloP.asByteArray:(I)[B
            astore 18 /* result */
        start local 18 // byte[] result
        28: .line 253
            aload 18 /* result */
            invokestatic sun.security.util.ArrayUtil.reverse:([B)V
        29: .line 255
            aload 18 /* result */
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            areturn
        end local 18 // byte[] result
        end local 17 // sun.security.ec.point.AffinePoint affProduct
        end local 16 // sun.security.ec.point.Point product
        end local 15 // sun.security.ec.point.AffinePoint affPub
        end local 14 // sun.security.util.math.ImmutableIntegerModuloP y
        end local 13 // sun.security.util.math.ImmutableIntegerModuloP x
        end local 12 // byte[] privArr
        end local 11 // int keySize
        end local 10 // sun.security.util.math.SmallValue cofactor
        end local 9 // sun.security.util.math.MutableIntegerModuloP scalar
        end local 8 // sun.security.util.math.IntegerFieldModuloP field
        end local 7 // byte[] sArr
        end local 6 // sun.security.ec.ECPrivateKeyImpl privImpl
        end local 5 // sun.security.ec.ECOperations ops
        end local 4 // java.util.Optional opsOpt
        end local 3 // java.security.spec.EllipticCurve curve
        end local 2 // java.security.spec.ECParameterSpec ecSpec
        end local 1 // java.security.interfaces.ECPublicKey pubKey
        end local 0 // java.security.interfaces.ECPrivateKey priv
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   30     0        priv  Ljava/security/interfaces/ECPrivateKey;
            0   30     1      pubKey  Ljava/security/interfaces/ECPublicKey;
            1   30     2      ecSpec  Ljava/security/spec/ECParameterSpec;
            2   30     3       curve  Ljava/security/spec/EllipticCurve;
            3   30     4      opsOpt  Ljava/util/Optional<Lsun/security/ec/ECOperations;>;
            6   30     5         ops  Lsun/security/ec/ECOperations;
            9   30     6    privImpl  Lsun/security/ec/ECPrivateKeyImpl;
           10   30     7        sArr  [B
           12   30     8       field  Lsun/security/util/math/IntegerFieldModuloP;
           13   30     9      scalar  Lsun/security/util/math/MutableIntegerModuloP;
           15   30    10    cofactor  Lsun/security/util/math/SmallValue;
           17   30    11     keySize  I
           18   30    12     privArr  [B
           20   30    13           x  Lsun/security/util/math/ImmutableIntegerModuloP;
           22   30    14           y  Lsun/security/util/math/ImmutableIntegerModuloP;
           23   30    15      affPub  Lsun/security/ec/point/AffinePoint;
           24   30    16     product  Lsun/security/ec/point/Point;
           27   30    17  affProduct  Lsun/security/ec/point/AffinePoint;
           28   30    18      result  [B
    Signature: (Ljava/security/interfaces/ECPrivateKey;Ljava/security/interfaces/ECPublicKey;)Ljava/util/Optional<[B>;
    MethodParameters:
        Name  Flags
      priv    
      pubKey  
}
SourceFile: "ECDHKeyAgreement.java"