public class sun.security.ec.XDHKeyAgreement extends javax.crypto.KeyAgreementSpi
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.security.ec.XDHKeyAgreement
  super_class: javax.crypto.KeyAgreementSpi
{
  private byte[] privateKey;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private byte[] secret;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private sun.security.ec.XECOperations ops;
    descriptor: Lsun/security/ec/XECOperations;
    flags: (0x0002) ACC_PRIVATE

  private sun.security.ec.XECParameters lockedParams;
    descriptor: Lsun/security/ec/XECParameters;
    flags: (0x0002) ACC_PRIVATE

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.security.ec.XDHKeyAgreement this
         0: .line 50
            aload 0 /* this */
            invokespecial javax.crypto.KeyAgreementSpi.<init>:()V
         1: .line 48
            aload 0 /* this */
            aconst_null
            putfield sun.security.ec.XDHKeyAgreement.lockedParams:Lsun/security/ec/XECParameters;
         2: .line 52
            return
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/security/ec/XDHKeyAgreement;

  void <init>(java.security.spec.AlgorithmParameterSpec);
    descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.security.ec.XDHKeyAgreement this
        start local 1 // java.security.spec.AlgorithmParameterSpec paramSpec
         0: .line 54
            aload 0 /* this */
            invokespecial javax.crypto.KeyAgreementSpi.<init>:()V
         1: .line 48
            aload 0 /* this */
            aconst_null
            putfield sun.security.ec.XDHKeyAgreement.lockedParams:Lsun/security/ec/XECParameters;
         2: .line 55
            aload 0 /* this */
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  java/security/ProviderException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/ProviderException;
            aload 1 /* paramSpec */
            invokestatic sun.security.ec.XECParameters.get:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/ec/XECParameters;
            putfield sun.security.ec.XDHKeyAgreement.lockedParams:Lsun/security/ec/XECParameters;
         3: .line 56
            return
        end local 1 // java.security.spec.AlgorithmParameterSpec paramSpec
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lsun/security/ec/XDHKeyAgreement;
            0    4     1  paramSpec  Ljava/security/spec/AlgorithmParameterSpec;
    MethodParameters:
           Name  Flags
      paramSpec  

  protected void engineInit(java.security.Key, java.security.SecureRandom);
    descriptor: (Ljava/security/Key;Ljava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // sun.security.ec.XDHKeyAgreement this
        start local 1 // java.security.Key key
        start local 2 // java.security.SecureRandom random
         0: .line 62
            aload 0 /* this */
            aload 1 /* key */
            invokevirtual sun.security.ec.XDHKeyAgreement.initImpl:(Ljava/security/Key;)V
         1: .line 63
            return
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.Key key
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lsun/security/ec/XDHKeyAgreement;
            0    2     1     key  Ljava/security/Key;
            0    2     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=5, args_size=4
        start local 0 // sun.security.ec.XDHKeyAgreement 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 70
            aload 0 /* this */
            aload 1 /* key */
            invokevirtual sun.security.ec.XDHKeyAgreement.initImpl:(Ljava/security/Key;)V
         1: .line 73
            aload 2 /* params */
            ifnull 8
         2: .line 75
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  java/security/InvalidAlgorithmParameterException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/InvalidAlgorithmParameterException;
            aload 2 /* params */
         3: .line 74
            invokestatic sun.security.ec.XECParameters.get:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/ec/XECParameters;
            astore 4 /* xecParams */
        start local 4 // sun.security.ec.XECParameters xecParams
         4: .line 76
            aload 4 /* xecParams */
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.ops:Lsun/security/ec/XECOperations;
            invokevirtual sun.security.ec.XECOperations.getParameters:()Lsun/security/ec/XECParameters;
            invokevirtual sun.security.ec.XECParameters.oidEquals:(Lsun/security/ec/XECParameters;)Z
            ifne 8
         5: .line 77
            new java.security.InvalidKeyException
            dup
         6: .line 78
            ldc "Incorrect private key parameters"
         7: .line 77
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // sun.security.ec.XECParameters xecParams
         8: .line 82
      StackMap locals:
      StackMap stack:
            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.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    9     0       this  Lsun/security/ec/XDHKeyAgreement;
            0    9     1        key  Ljava/security/Key;
            0    9     2     params  Ljava/security/spec/AlgorithmParameterSpec;
            0    9     3     random  Ljava/security/SecureRandom;
            4    8     4  xecParams  Lsun/security/ec/XECParameters;
    Exceptions:
      throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
    MethodParameters:
        Name  Flags
      key     
      params  final
      random  

  private <T extends java.lang.Throwable> void checkLockedParams(java.util.function.Function<java.lang.String, T>, sun.security.ec.XECParameters) throws T;
    descriptor: (Ljava/util/function/Function;Lsun/security/ec/XECParameters;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // sun.security.ec.XDHKeyAgreement this
        start local 1 // java.util.function.Function exception
        start local 2 // sun.security.ec.XECParameters params
         0: .line 89
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.lockedParams:Lsun/security/ec/XECParameters;
            ifnull 4
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.lockedParams:Lsun/security/ec/XECParameters;
            aload 2 /* params */
            if_acmpeq 4
         1: .line 90
            aload 1 /* exception */
            new java.lang.StringBuilder
            dup
            ldc "Parameters must be "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         2: .line 91
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.lockedParams:Lsun/security/ec/XECParameters;
            invokevirtual sun.security.ec.XECParameters.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         3: .line 90
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Throwable
            athrow
         4: .line 93
      StackMap locals:
      StackMap stack:
            return
        end local 2 // sun.security.ec.XECParameters params
        end local 1 // java.util.function.Function exception
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lsun/security/ec/XDHKeyAgreement;
            0    5     1  exception  Ljava/util/function/Function<Ljava/lang/String;TT;>;
            0    5     2     params  Lsun/security/ec/XECParameters;
    Exceptions:
      throws java.lang.Throwable
    Signature: <T:Ljava/lang/Throwable;>(Ljava/util/function/Function<Ljava/lang/String;TT;>;Lsun/security/ec/XECParameters;)V^TT;
    MethodParameters:
           Name  Flags
      exception  
      params     

  private void initImpl(java.security.Key);
    descriptor: (Ljava/security/Key;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // sun.security.ec.XDHKeyAgreement this
        start local 1 // java.security.Key key
         0: .line 97
            aload 1 /* key */
            instanceof java.security.interfaces.XECPrivateKey
            ifne 4
         1: .line 98
            new java.security.InvalidKeyException
            dup
         2: .line 99
            ldc "Unsupported key type"
         3: .line 98
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 101
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            checkcast java.security.interfaces.XECPrivateKey
            astore 2 /* privateKey */
        start local 2 // java.security.interfaces.XECPrivateKey privateKey
         5: .line 103
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  java/security/InvalidKeyException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/InvalidKeyException;
            aload 2 /* privateKey */
            invokeinterface java.security.interfaces.XECPrivateKey.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
         6: .line 102
            invokestatic sun.security.ec.XECParameters.get:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/ec/XECParameters;
            astore 3 /* xecParams */
        start local 3 // sun.security.ec.XECParameters xecParams
         7: .line 104
            aload 0 /* this */
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  java/security/InvalidKeyException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/InvalidKeyException;
            aload 3 /* xecParams */
            invokevirtual sun.security.ec.XDHKeyAgreement.checkLockedParams:(Ljava/util/function/Function;Lsun/security/ec/XECParameters;)V
         8: .line 106
            aload 0 /* this */
            new sun.security.ec.XECOperations
            dup
            aload 3 /* xecParams */
            invokespecial sun.security.ec.XECOperations.<init>:(Lsun/security/ec/XECParameters;)V
            putfield sun.security.ec.XDHKeyAgreement.ops:Lsun/security/ec/XECOperations;
         9: .line 107
            aload 0 /* this */
            aload 2 /* privateKey */
            invokeinterface java.security.interfaces.XECPrivateKey.getScalar:()Ljava/util/Optional;
        10: .line 108
            invokedynamic get()Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  sun/security/ec/XDHKeyAgreement.lambda$4()Ljava/security/InvalidKeyException; (6)
                  ()Ljava/security/InvalidKeyException;
        11: .line 107
            invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast byte[]
            putfield sun.security.ec.XDHKeyAgreement.privateKey:[B
        12: .line 110
            aload 0 /* this */
            aconst_null
            putfield sun.security.ec.XDHKeyAgreement.secret:[B
        13: .line 111
            return
        end local 3 // sun.security.ec.XECParameters xecParams
        end local 2 // java.security.interfaces.XECPrivateKey privateKey
        end local 1 // java.security.Key key
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   14     0        this  Lsun/security/ec/XDHKeyAgreement;
            0   14     1         key  Ljava/security/Key;
            5   14     2  privateKey  Ljava/security/interfaces/XECPrivateKey;
            7   14     3   xecParams  Lsun/security/ec/XECParameters;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
      Name  Flags
      key   

  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=6, args_size=3
        start local 0 // sun.security.ec.XDHKeyAgreement this
        start local 1 // java.security.Key key
        start local 2 // boolean lastPhase
         0: .line 117
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.privateKey:[B
            ifnonnull 2
         1: .line 118
            new java.lang.IllegalStateException
            dup
            ldc "Not initialized"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.secret:[B
            ifnull 4
         3: .line 121
            new java.lang.IllegalStateException
            dup
            ldc "Phase already executed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 123
      StackMap locals:
      StackMap stack:
            iload 2 /* lastPhase */
            ifne 8
         5: .line 124
            new java.lang.IllegalStateException
            dup
         6: .line 125
            ldc "Only two party agreement supported, lastPhase must be true"
         7: .line 124
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 127
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.interfaces.XECPublicKey
            ifne 12
         9: .line 128
            new java.security.InvalidKeyException
            dup
        10: .line 129
            ldc "Unsupported key type"
        11: .line 128
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        12: .line 132
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            checkcast java.security.interfaces.XECPublicKey
            astore 3 /* publicKey */
        start local 3 // java.security.interfaces.XECPublicKey publicKey
        13: .line 135
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  java/security/InvalidKeyException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/InvalidKeyException;
        14: .line 136
            aload 3 /* publicKey */
            invokeinterface java.security.interfaces.XECPublicKey.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
        15: .line 135
            invokestatic sun.security.ec.XECParameters.get:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/ec/XECParameters;
            astore 4 /* xecParams */
        start local 4 // sun.security.ec.XECParameters xecParams
        16: .line 137
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.ops:Lsun/security/ec/XECOperations;
            invokevirtual sun.security.ec.XECOperations.getParameters:()Lsun/security/ec/XECParameters;
            aload 4 /* xecParams */
            invokevirtual sun.security.ec.XECParameters.oidEquals:(Lsun/security/ec/XECParameters;)Z
            ifne 20
        17: .line 138
            new java.security.InvalidKeyException
            dup
        18: .line 139
            ldc "Public key parameters are not compatible with private key."
        19: .line 138
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        20: .line 144
      StackMap locals: java.security.interfaces.XECPublicKey sun.security.ec.XECParameters
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.ops:Lsun/security/ec/XECOperations;
        21: .line 145
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.privateKey:[B
        22: .line 146
            aload 3 /* publicKey */
            invokeinterface java.security.interfaces.XECPublicKey.getU:()Ljava/math/BigInteger;
        23: .line 144
            invokevirtual sun.security.ec.XECOperations.encodedPointMultiply:([BLjava/math/BigInteger;)[B
            astore 5 /* computedSecret */
        start local 5 // byte[] computedSecret
        24: .line 149
            aload 0 /* this */
            aload 5 /* computedSecret */
            invokevirtual sun.security.ec.XDHKeyAgreement.allZero:([B)Z
            ifeq 26
        25: .line 150
            new java.security.InvalidKeyException
            dup
            ldc "Point has small order"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        26: .line 153
      StackMap locals: byte[]
      StackMap stack:
            aload 0 /* this */
            aload 5 /* computedSecret */
            putfield sun.security.ec.XDHKeyAgreement.secret:[B
        27: .line 155
            aconst_null
            areturn
        end local 5 // byte[] computedSecret
        end local 4 // sun.security.ec.XECParameters xecParams
        end local 3 // java.security.interfaces.XECPublicKey publicKey
        end local 2 // boolean lastPhase
        end local 1 // java.security.Key key
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   28     0            this  Lsun/security/ec/XDHKeyAgreement;
            0   28     1             key  Ljava/security/Key;
            0   28     2       lastPhase  Z
           13   28     3       publicKey  Ljava/security/interfaces/XECPublicKey;
           16   28     4       xecParams  Lsun/security/ec/XECParameters;
           24   28     5  computedSecret  [B
    Exceptions:
      throws java.security.InvalidKeyException, java.lang.IllegalStateException
    MethodParameters:
           Name  Flags
      key        
      lastPhase  

  private boolean allZero(byte[]);
    descriptor: ([B)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // sun.security.ec.XDHKeyAgreement this
        start local 1 // byte[] arr
         0: .line 162
            iconst_0
            istore 2 /* orValue */
        start local 2 // byte orValue
         1: .line 163
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 5
         3: .line 164
      StackMap locals: int int
      StackMap stack:
            iload 2 /* orValue */
            aload 1 /* arr */
            iload 3 /* i */
            baload
            ior
            i2b
            istore 2 /* orValue */
         4: .line 163
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 3 /* i */
            aload 1 /* arr */
            arraylength
            if_icmplt 3
        end local 3 // int i
         6: .line 167
            iload 2 /* orValue */
            ifne 7
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         7: iconst_0
            ireturn
        end local 2 // byte orValue
        end local 1 // byte[] arr
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lsun/security/ec/XDHKeyAgreement;
            0    8     1      arr  [B
            1    8     2  orValue  B
            2    6     3        i  I
    MethodParameters:
      Name  Flags
      arr   

  protected byte[] engineGenerateSecret();
    descriptor: ()[B
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // sun.security.ec.XDHKeyAgreement this
         0: .line 172
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.secret:[B
            ifnonnull 2
         1: .line 173
            new java.lang.IllegalStateException
            dup
            ldc "Not initialized correctly"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 176
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.secret:[B
            astore 1 /* result */
        start local 1 // byte[] result
         3: .line 177
            aload 0 /* this */
            aconst_null
            putfield sun.security.ec.XDHKeyAgreement.secret:[B
         4: .line 178
            aload 1 /* result */
            areturn
        end local 1 // byte[] result
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lsun/security/ec/XDHKeyAgreement;
            3    5     1  result  [B
    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.XDHKeyAgreement this
        start local 1 // byte[] sharedSecret
        start local 2 // int offset
         0: .line 185
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.secret:[B
            ifnonnull 2
         1: .line 186
            new java.lang.IllegalStateException
            dup
            ldc "Not initialized correctly"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 188
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.secret:[B
            arraylength
            istore 3 /* secretLen */
        start local 3 // int secretLen
         3: .line 189
            iload 3 /* secretLen */
            aload 1 /* sharedSecret */
            arraylength
            iload 2 /* offset */
            isub
            if_icmple 8
         4: .line 190
            new javax.crypto.ShortBufferException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Need "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 3 /* secretLen */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         5: .line 191
            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;
         6: .line 192
            ldc " available"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         7: .line 190
            invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 195
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyAgreement.secret:[B
            iconst_0
            aload 1 /* sharedSecret */
            iload 2 /* offset */
            iload 3 /* secretLen */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         9: .line 196
            aload 0 /* this */
            aconst_null
            putfield sun.security.ec.XDHKeyAgreement.secret:[B
        10: .line 197
            iload 3 /* secretLen */
            ireturn
        end local 3 // int secretLen
        end local 2 // int offset
        end local 1 // byte[] sharedSecret
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   11     0          this  Lsun/security/ec/XDHKeyAgreement;
            0   11     1  sharedSecret  [B
            0   11     2        offset  I
            3   11     3     secretLen  I
    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=3, locals=2, args_size=2
        start local 0 // sun.security.ec.XDHKeyAgreement this
        start local 1 // java.lang.String algorithm
         0: .line 205
            new java.security.NoSuchAlgorithmException
            dup
            ldc "Not supported"
            invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.lang.String algorithm
        end local 0 // sun.security.ec.XDHKeyAgreement this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lsun/security/ec/XDHKeyAgreement;
            0    1     1  algorithm  Ljava/lang/String;
    Exceptions:
      throws java.lang.IllegalStateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
    MethodParameters:
           Name  Flags
      algorithm  

  private static java.security.InvalidKeyException lambda$4();
    descriptor: ()Ljava/security/InvalidKeyException;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 108
            new java.security.InvalidKeyException
            dup
            ldc "No private key value"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "XDHKeyAgreement.java"
NestMembers:
  sun.security.ec.XDHKeyAgreement$X25519  sun.security.ec.XDHKeyAgreement$X448
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  X25519 = sun.security.ec.XDHKeyAgreement$X25519 of sun.security.ec.XDHKeyAgreement
  X448 = sun.security.ec.XDHKeyAgreement$X448 of sun.security.ec.XDHKeyAgreement