public class sun.security.ec.XDHKeyFactory extends java.security.KeyFactorySpi
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.security.ec.XDHKeyFactory
  super_class: java.security.KeyFactorySpi
{
  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.XDHKeyFactory this
         0: .line 51
            aload 0 /* this */
            invokespecial java.security.KeyFactorySpi.<init>:()V
         1: .line 49
            aload 0 /* this */
            aconst_null
            putfield sun.security.ec.XDHKeyFactory.lockedParams:Lsun/security/ec/XECParameters;
         2: .line 53
            return
        end local 0 // sun.security.ec.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/security/ec/XDHKeyFactory;

  protected void <init>(java.security.spec.AlgorithmParameterSpec);
    descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.security.ec.XDHKeyFactory this
        start local 1 // java.security.spec.AlgorithmParameterSpec paramSpec
         0: .line 55
            aload 0 /* this */
            invokespecial java.security.KeyFactorySpi.<init>:()V
         1: .line 49
            aload 0 /* this */
            aconst_null
            putfield sun.security.ec.XDHKeyFactory.lockedParams:Lsun/security/ec/XECParameters;
         2: .line 56
            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.XDHKeyFactory.lockedParams:Lsun/security/ec/XECParameters;
         3: .line 57
            return
        end local 1 // java.security.spec.AlgorithmParameterSpec paramSpec
        end local 0 // sun.security.ec.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lsun/security/ec/XDHKeyFactory;
            0    4     1  paramSpec  Ljava/security/spec/AlgorithmParameterSpec;
    MethodParameters:
           Name  Flags
      paramSpec  

  protected java.security.Key engineTranslateKey(java.security.Key);
    descriptor: (Ljava/security/Key;)Ljava/security/Key;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // sun.security.ec.XDHKeyFactory this
        start local 1 // java.security.Key key
         0: .line 62
            aload 1 /* key */
            ifnonnull 2
         1: .line 63
            new java.security.InvalidKeyException
            dup
            ldc "Key must not be null"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 66
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.interfaces.XECKey
            ifeq 18
         3: .line 67
            aload 1 /* key */
            checkcast java.security.interfaces.XECKey
            astore 2 /* xecKey */
        start local 2 // java.security.interfaces.XECKey xecKey
         4: .line 68
            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;
         5: .line 69
            aload 2 /* xecKey */
            invokeinterface java.security.interfaces.XECKey.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
         6: .line 68
            invokestatic sun.security.ec.XECParameters.get:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/ec/XECParameters;
            astore 3 /* params */
        start local 3 // sun.security.ec.XECParameters params
         7: .line 70
            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 /* params */
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Lsun/security/ec/XECParameters;)V
         8: .line 72
            aload 2 /* xecKey */
            instanceof java.security.interfaces.XECPublicKey
            ifeq 11
         9: .line 73
            aload 2 /* xecKey */
            checkcast java.security.interfaces.XECPublicKey
            astore 4 /* publicKey */
        start local 4 // java.security.interfaces.XECPublicKey publicKey
        10: .line 74
            new sun.security.ec.XDHPublicKeyImpl
            dup
            aload 3 /* params */
            aload 4 /* publicKey */
            invokeinterface java.security.interfaces.XECPublicKey.getU:()Ljava/math/BigInteger;
            invokespecial sun.security.ec.XDHPublicKeyImpl.<init>:(Lsun/security/ec/XECParameters;Ljava/math/BigInteger;)V
            areturn
        end local 4 // java.security.interfaces.XECPublicKey publicKey
        11: .line 75
      StackMap locals: java.security.interfaces.XECKey sun.security.ec.XECParameters
      StackMap stack:
            aload 2 /* xecKey */
            instanceof java.security.interfaces.XECPrivateKey
            ifeq 17
        12: .line 76
            aload 2 /* xecKey */
            checkcast java.security.interfaces.XECPrivateKey
            astore 4 /* privateKey */
        start local 4 // java.security.interfaces.XECPrivateKey privateKey
        13: .line 77
            aload 4 /* privateKey */
            invokeinterface java.security.interfaces.XECPrivateKey.getScalar:()Ljava/util/Optional;
        14: .line 78
            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/XDHKeyFactory.lambda$3()Ljava/security/InvalidKeyException; (6)
                  ()Ljava/security/InvalidKeyException;
        15: .line 77
            invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast byte[]
            astore 5 /* scalar */
        start local 5 // byte[] scalar
        16: .line 79
            new sun.security.ec.XDHPrivateKeyImpl
            dup
            aload 3 /* params */
            aload 5 /* scalar */
            invokespecial sun.security.ec.XDHPrivateKeyImpl.<init>:(Lsun/security/ec/XECParameters;[B)V
            areturn
        end local 5 // byte[] scalar
        end local 4 // java.security.interfaces.XECPrivateKey privateKey
        17: .line 81
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "Unsupported XECKey subclass"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // sun.security.ec.XECParameters params
        end local 2 // java.security.interfaces.XECKey xecKey
        18: .line 83
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.PublicKey
            ifeq 23
        19: .line 84
            aload 1 /* key */
            invokeinterface java.security.Key.getFormat:()Ljava/lang/String;
            ldc "X.509"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 23
        20: .line 85
            new sun.security.ec.XDHPublicKeyImpl
            dup
            aload 1 /* key */
            invokeinterface java.security.Key.getEncoded:()[B
            invokespecial sun.security.ec.XDHPublicKeyImpl.<init>:([B)V
            astore 2 /* result */
        start local 2 // sun.security.ec.XDHPublicKeyImpl result
        21: .line 86
            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 2 /* result */
            invokevirtual sun.security.ec.XDHPublicKeyImpl.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)V
        22: .line 87
            aload 2 /* result */
            areturn
        end local 2 // sun.security.ec.XDHPublicKeyImpl result
        23: .line 88
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.PrivateKey
            ifeq 28
        24: .line 89
            aload 1 /* key */
            invokeinterface java.security.Key.getFormat:()Ljava/lang/String;
            ldc "PKCS#8"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 28
        25: .line 90
            new sun.security.ec.XDHPrivateKeyImpl
            dup
            aload 1 /* key */
            invokeinterface java.security.Key.getEncoded:()[B
            invokespecial sun.security.ec.XDHPrivateKeyImpl.<init>:([B)V
            astore 2 /* result */
        start local 2 // sun.security.ec.XDHPrivateKeyImpl result
        26: .line 91
            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 2 /* result */
            invokevirtual sun.security.ec.XDHPrivateKeyImpl.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)V
        27: .line 92
            aload 2 /* result */
            areturn
        end local 2 // sun.security.ec.XDHPrivateKeyImpl result
        28: .line 94
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "Unsupported key type or format"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.Key key
        end local 0 // sun.security.ec.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   29     0        this  Lsun/security/ec/XDHKeyFactory;
            0   29     1         key  Ljava/security/Key;
            4   18     2      xecKey  Ljava/security/interfaces/XECKey;
            7   18     3      params  Lsun/security/ec/XECParameters;
           10   11     4   publicKey  Ljava/security/interfaces/XECPublicKey;
           13   17     4  privateKey  Ljava/security/interfaces/XECPrivateKey;
           16   17     5      scalar  [B
           21   23     2      result  Lsun/security/ec/XDHPublicKeyImpl;
           26   28     2      result  Lsun/security/ec/XDHPrivateKeyImpl;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
      Name  Flags
      key   

  private <T extends java.lang.Throwable> void checkLockedParams(java.util.function.Function<java.lang.String, T>, java.security.spec.AlgorithmParameterSpec) throws T;
    descriptor: (Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // sun.security.ec.XDHKeyFactory this
        start local 1 // java.util.function.Function exception
        start local 2 // java.security.spec.AlgorithmParameterSpec spec
         0: .line 103
            aload 1 /* exception */
            aload 2 /* spec */
            invokestatic sun.security.ec.XECParameters.get:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/ec/XECParameters;
            astore 3 /* params */
        start local 3 // sun.security.ec.XECParameters params
         1: .line 104
            aload 0 /* this */
            aload 1 /* exception */
            aload 3 /* params */
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Lsun/security/ec/XECParameters;)V
         2: .line 105
            return
        end local 3 // sun.security.ec.XECParameters params
        end local 2 // java.security.spec.AlgorithmParameterSpec spec
        end local 1 // java.util.function.Function exception
        end local 0 // sun.security.ec.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lsun/security/ec/XDHKeyFactory;
            0    3     1  exception  Ljava/util/function/Function<Ljava/lang/String;TT;>;
            0    3     2       spec  Ljava/security/spec/AlgorithmParameterSpec;
            1    3     3     params  Lsun/security/ec/XECParameters;
    Exceptions:
      throws java.lang.Throwable
    Signature: <T:Ljava/lang/Throwable;>(Ljava/util/function/Function<Ljava/lang/String;TT;>;Ljava/security/spec/AlgorithmParameterSpec;)V^TT;
    MethodParameters:
           Name  Flags
      exception  
      spec       

  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.XDHKeyFactory this
        start local 1 // java.util.function.Function exception
        start local 2 // sun.security.ec.XECParameters params
         0: .line 112
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyFactory.lockedParams:Lsun/security/ec/XECParameters;
            ifnull 4
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyFactory.lockedParams:Lsun/security/ec/XECParameters;
            aload 2 /* params */
            if_acmpeq 4
         1: .line 113
            aload 1 /* exception */
            new java.lang.StringBuilder
            dup
            ldc "Parameters must be "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         2: .line 114
            aload 0 /* this */
            getfield sun.security.ec.XDHKeyFactory.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 113
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Throwable
            athrow
         4: .line 116
      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.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lsun/security/ec/XDHKeyFactory;
            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     

  protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec);
    descriptor: (Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // sun.security.ec.XDHKeyFactory this
        start local 1 // java.security.spec.KeySpec keySpec
         0: .line 123
            aload 0 /* this */
            aload 1 /* keySpec */
            invokevirtual sun.security.ec.XDHKeyFactory.generatePublicImpl:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
         1: areturn
         2: .line 124
      StackMap locals:
      StackMap stack: java.security.InvalidKeyException
            astore 2 /* ex */
        start local 2 // java.security.InvalidKeyException ex
         3: .line 125
            new java.security.spec.InvalidKeySpecException
            dup
            aload 2 /* ex */
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.InvalidKeyException ex
        end local 1 // java.security.spec.KeySpec keySpec
        end local 0 // sun.security.ec.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lsun/security/ec/XDHKeyFactory;
            0    4     1  keySpec  Ljava/security/spec/KeySpec;
            3    4     2       ex  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.security.InvalidKeyException
    Exceptions:
      throws java.security.spec.InvalidKeySpecException
    MethodParameters:
         Name  Flags
      keySpec  

  protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec);
    descriptor: (Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // sun.security.ec.XDHKeyFactory this
        start local 1 // java.security.spec.KeySpec keySpec
         0: .line 134
            aload 0 /* this */
            aload 1 /* keySpec */
            invokevirtual sun.security.ec.XDHKeyFactory.generatePrivateImpl:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
         1: areturn
         2: .line 135
      StackMap locals:
      StackMap stack: java.security.InvalidKeyException
            astore 2 /* ex */
        start local 2 // java.security.InvalidKeyException ex
         3: .line 136
            new java.security.spec.InvalidKeySpecException
            dup
            aload 2 /* ex */
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.InvalidKeyException ex
        end local 1 // java.security.spec.KeySpec keySpec
        end local 0 // sun.security.ec.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lsun/security/ec/XDHKeyFactory;
            0    4     1  keySpec  Ljava/security/spec/KeySpec;
            3    4     2       ex  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.security.InvalidKeyException
    Exceptions:
      throws java.security.spec.InvalidKeySpecException
    MethodParameters:
         Name  Flags
      keySpec  

  private java.security.PublicKey generatePublicImpl(java.security.spec.KeySpec);
    descriptor: (Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // sun.security.ec.XDHKeyFactory this
        start local 1 // java.security.spec.KeySpec keySpec
         0: .line 144
            aload 1 /* keySpec */
            instanceof java.security.spec.X509EncodedKeySpec
            ifeq 8
         1: .line 145
            aload 1 /* keySpec */
            checkcast java.security.spec.X509EncodedKeySpec
            astore 2 /* x509Spec */
        start local 2 // java.security.spec.X509EncodedKeySpec x509Spec
         2: .line 147
            new sun.security.ec.XDHPublicKeyImpl
            dup
            aload 2 /* x509Spec */
            invokevirtual java.security.spec.X509EncodedKeySpec.getEncoded:()[B
            invokespecial sun.security.ec.XDHPublicKeyImpl.<init>:([B)V
         3: .line 146
            astore 3 /* result */
        start local 3 // sun.security.ec.XDHPublicKeyImpl result
         4: .line 148
            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/spec/InvalidKeySpecException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/spec/InvalidKeySpecException;
         5: .line 149
            aload 3 /* result */
            invokevirtual sun.security.ec.XDHPublicKeyImpl.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
         6: .line 148
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)V
         7: .line 150
            aload 3 /* result */
            areturn
        end local 3 // sun.security.ec.XDHPublicKeyImpl result
        end local 2 // java.security.spec.X509EncodedKeySpec x509Spec
         8: .line 151
      StackMap locals:
      StackMap stack:
            aload 1 /* keySpec */
            instanceof java.security.spec.XECPublicKeySpec
            ifeq 14
         9: .line 152
            aload 1 /* keySpec */
            checkcast java.security.spec.XECPublicKeySpec
            astore 2 /* publicKeySpec */
        start local 2 // java.security.spec.XECPublicKeySpec publicKeySpec
        10: .line 154
            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/spec/InvalidKeySpecException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/spec/InvalidKeySpecException;
            aload 2 /* publicKeySpec */
            invokevirtual java.security.spec.XECPublicKeySpec.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
        11: .line 153
            invokestatic sun.security.ec.XECParameters.get:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/ec/XECParameters;
            astore 3 /* params */
        start local 3 // sun.security.ec.XECParameters params
        12: .line 155
            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/spec/InvalidKeySpecException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/spec/InvalidKeySpecException;
            aload 3 /* params */
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Lsun/security/ec/XECParameters;)V
        13: .line 156
            new sun.security.ec.XDHPublicKeyImpl
            dup
            aload 3 /* params */
            aload 2 /* publicKeySpec */
            invokevirtual java.security.spec.XECPublicKeySpec.getU:()Ljava/math/BigInteger;
            invokespecial sun.security.ec.XDHPublicKeyImpl.<init>:(Lsun/security/ec/XECParameters;Ljava/math/BigInteger;)V
            areturn
        end local 3 // sun.security.ec.XECParameters params
        end local 2 // java.security.spec.XECPublicKeySpec publicKeySpec
        14: .line 158
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
        15: .line 159
            ldc "Only X509EncodedKeySpec and XECPublicKeySpec are supported"
        16: .line 158
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.spec.KeySpec keySpec
        end local 0 // sun.security.ec.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   17     0           this  Lsun/security/ec/XDHKeyFactory;
            0   17     1        keySpec  Ljava/security/spec/KeySpec;
            2    8     2       x509Spec  Ljava/security/spec/X509EncodedKeySpec;
            4    8     3         result  Lsun/security/ec/XDHPublicKeyImpl;
           10   14     2  publicKeySpec  Ljava/security/spec/XECPublicKeySpec;
           12   14     3         params  Lsun/security/ec/XECParameters;
    Exceptions:
      throws java.security.InvalidKeyException, java.security.spec.InvalidKeySpecException
    MethodParameters:
         Name  Flags
      keySpec  

  private java.security.PrivateKey generatePrivateImpl(java.security.spec.KeySpec);
    descriptor: (Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // sun.security.ec.XDHKeyFactory this
        start local 1 // java.security.spec.KeySpec keySpec
         0: .line 166
            aload 1 /* keySpec */
            instanceof java.security.spec.PKCS8EncodedKeySpec
            ifeq 8
         1: .line 167
            aload 1 /* keySpec */
            checkcast java.security.spec.PKCS8EncodedKeySpec
            astore 2 /* pkcsSpec */
        start local 2 // java.security.spec.PKCS8EncodedKeySpec pkcsSpec
         2: .line 169
            new sun.security.ec.XDHPrivateKeyImpl
            dup
            aload 2 /* pkcsSpec */
            invokevirtual java.security.spec.PKCS8EncodedKeySpec.getEncoded:()[B
            invokespecial sun.security.ec.XDHPrivateKeyImpl.<init>:([B)V
         3: .line 168
            astore 3 /* result */
        start local 3 // sun.security.ec.XDHPrivateKeyImpl result
         4: .line 170
            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/spec/InvalidKeySpecException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/spec/InvalidKeySpecException;
         5: .line 171
            aload 3 /* result */
            invokevirtual sun.security.ec.XDHPrivateKeyImpl.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
         6: .line 170
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)V
         7: .line 172
            aload 3 /* result */
            areturn
        end local 3 // sun.security.ec.XDHPrivateKeyImpl result
        end local 2 // java.security.spec.PKCS8EncodedKeySpec pkcsSpec
         8: .line 173
      StackMap locals:
      StackMap stack:
            aload 1 /* keySpec */
            instanceof java.security.spec.XECPrivateKeySpec
            ifeq 14
         9: .line 174
            aload 1 /* keySpec */
            checkcast java.security.spec.XECPrivateKeySpec
            astore 2 /* privateKeySpec */
        start local 2 // java.security.spec.XECPrivateKeySpec privateKeySpec
        10: .line 176
            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/spec/InvalidKeySpecException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/spec/InvalidKeySpecException;
            aload 2 /* privateKeySpec */
            invokevirtual java.security.spec.XECPrivateKeySpec.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
        11: .line 175
            invokestatic sun.security.ec.XECParameters.get:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/ec/XECParameters;
            astore 3 /* params */
        start local 3 // sun.security.ec.XECParameters params
        12: .line 177
            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/spec/InvalidKeySpecException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/spec/InvalidKeySpecException;
            aload 3 /* params */
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Lsun/security/ec/XECParameters;)V
        13: .line 178
            new sun.security.ec.XDHPrivateKeyImpl
            dup
            aload 3 /* params */
            aload 2 /* privateKeySpec */
            invokevirtual java.security.spec.XECPrivateKeySpec.getScalar:()[B
            invokespecial sun.security.ec.XDHPrivateKeyImpl.<init>:(Lsun/security/ec/XECParameters;[B)V
            areturn
        end local 3 // sun.security.ec.XECParameters params
        end local 2 // java.security.spec.XECPrivateKeySpec privateKeySpec
        14: .line 180
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
        15: .line 181
            ldc "Only PKCS8EncodedKeySpec and XECPrivateKeySpec supported"
        16: .line 180
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.security.spec.KeySpec keySpec
        end local 0 // sun.security.ec.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   17     0            this  Lsun/security/ec/XDHKeyFactory;
            0   17     1         keySpec  Ljava/security/spec/KeySpec;
            2    8     2        pkcsSpec  Ljava/security/spec/PKCS8EncodedKeySpec;
            4    8     3          result  Lsun/security/ec/XDHPrivateKeyImpl;
           10   14     2  privateKeySpec  Ljava/security/spec/XECPrivateKeySpec;
           12   14     3          params  Lsun/security/ec/XECParameters;
    Exceptions:
      throws java.security.InvalidKeyException, java.security.spec.InvalidKeySpecException
    MethodParameters:
         Name  Flags
      keySpec  

  protected <T extends java.security.spec.KeySpec> T engineGetKeySpec(java.security.Key, java.lang.Class<T>);
    descriptor: (Ljava/security/Key;Ljava/lang/Class;)Ljava/security/spec/KeySpec;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // sun.security.ec.XDHKeyFactory this
        start local 1 // java.security.Key key
        start local 2 // java.lang.Class keySpec
         0: .line 188
            aload 1 /* key */
            instanceof java.security.interfaces.XECPublicKey
            ifeq 16
         1: .line 189
            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/spec/InvalidKeySpecException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/spec/InvalidKeySpecException;
         2: .line 190
            aload 1 /* key */
            checkcast java.security.interfaces.XECPublicKey
            invokeinterface java.security.interfaces.XECPublicKey.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
         3: .line 189
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)V
         4: .line 192
            aload 2 /* keySpec */
            ldc Ljava/security/spec/X509EncodedKeySpec;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 8
         5: .line 193
            aload 1 /* key */
            invokeinterface java.security.Key.getFormat:()Ljava/lang/String;
            ldc "X.509"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 7
         6: .line 194
            new java.security.spec.InvalidKeySpecException
            dup
            ldc "Format is not X.509"
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 196
      StackMap locals:
      StackMap stack:
            aload 2 /* keySpec */
            new java.security.spec.X509EncodedKeySpec
            dup
            aload 1 /* key */
            invokeinterface java.security.Key.getEncoded:()[B
            invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.security.spec.KeySpec
            areturn
         8: .line 197
      StackMap locals:
      StackMap stack:
            aload 2 /* keySpec */
            ldc Ljava/security/spec/XECPublicKeySpec;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 13
         9: .line 198
            aload 1 /* key */
            checkcast java.security.interfaces.XECPublicKey
            astore 3 /* xecKey */
        start local 3 // java.security.interfaces.XECPublicKey xecKey
        10: .line 199
            aload 2 /* keySpec */
        11: .line 200
            new java.security.spec.XECPublicKeySpec
            dup
            aload 3 /* xecKey */
            invokeinterface java.security.interfaces.XECPublicKey.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
            aload 3 /* xecKey */
            invokeinterface java.security.interfaces.XECPublicKey.getU:()Ljava/math/BigInteger;
            invokespecial java.security.spec.XECPublicKeySpec.<init>:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/math/BigInteger;)V
        12: .line 199
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.security.spec.KeySpec
            areturn
        end local 3 // java.security.interfaces.XECPublicKey xecKey
        13: .line 202
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
        14: .line 203
            ldc "KeySpec must be X509EncodedKeySpec or XECPublicKeySpec"
        15: .line 202
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 205
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            instanceof java.security.interfaces.XECPrivateKey
            ifeq 35
        17: .line 206
            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/spec/InvalidKeySpecException.<init>(Ljava/lang/String;)V (8)
                  (Ljava/lang/String;)Ljava/security/spec/InvalidKeySpecException;
        18: .line 207
            aload 1 /* key */
            checkcast java.security.interfaces.XECPrivateKey
            invokeinterface java.security.interfaces.XECPrivateKey.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
        19: .line 206
            invokevirtual sun.security.ec.XDHKeyFactory.checkLockedParams:(Ljava/util/function/Function;Ljava/security/spec/AlgorithmParameterSpec;)V
        20: .line 209
            aload 2 /* keySpec */
            ldc Ljava/security/spec/PKCS8EncodedKeySpec;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 24
        21: .line 210
            aload 1 /* key */
            invokeinterface java.security.Key.getFormat:()Ljava/lang/String;
            ldc "PKCS#8"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 23
        22: .line 211
            new java.security.spec.InvalidKeySpecException
            dup
            ldc "Format is not PKCS#8"
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        23: .line 213
      StackMap locals:
      StackMap stack:
            aload 2 /* keySpec */
            new java.security.spec.PKCS8EncodedKeySpec
            dup
            aload 1 /* key */
            invokeinterface java.security.Key.getEncoded:()[B
            invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.security.spec.KeySpec
            areturn
        24: .line 214
      StackMap locals:
      StackMap stack:
            aload 2 /* keySpec */
            ldc Ljava/security/spec/XECPrivateKeySpec;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 32
        25: .line 215
            aload 1 /* key */
            checkcast java.security.interfaces.XECPrivateKey
            astore 3 /* xecKey */
        start local 3 // java.security.interfaces.XECPrivateKey xecKey
        26: .line 216
            aload 3 /* xecKey */
            invokeinterface java.security.interfaces.XECPrivateKey.getScalar:()Ljava/util/Optional;
        27: .line 217
            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/XDHKeyFactory.lambda$14()Ljava/security/spec/InvalidKeySpecException; (6)
                  ()Ljava/security/spec/InvalidKeySpecException;
        28: .line 216
            invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast byte[]
            astore 4 /* scalar */
        start local 4 // byte[] scalar
        29: .line 219
            aload 2 /* keySpec */
        30: .line 220
            new java.security.spec.XECPrivateKeySpec
            dup
            aload 3 /* xecKey */
            invokeinterface java.security.interfaces.XECPrivateKey.getParams:()Ljava/security/spec/AlgorithmParameterSpec;
            aload 4 /* scalar */
            invokespecial java.security.spec.XECPrivateKeySpec.<init>:(Ljava/security/spec/AlgorithmParameterSpec;[B)V
        31: .line 219
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.security.spec.KeySpec
            areturn
        end local 4 // byte[] scalar
        end local 3 // java.security.interfaces.XECPrivateKey xecKey
        32: .line 222
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
        33: .line 223
            ldc "KeySpec must be PKCS8EncodedKeySpec or XECPrivateKeySpec"
        34: .line 222
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        35: .line 226
      StackMap locals:
      StackMap stack:
            new java.security.spec.InvalidKeySpecException
            dup
            ldc "Unsupported key type"
            invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.Class keySpec
        end local 1 // java.security.Key key
        end local 0 // sun.security.ec.XDHKeyFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   36     0     this  Lsun/security/ec/XDHKeyFactory;
            0   36     1      key  Ljava/security/Key;
            0   36     2  keySpec  Ljava/lang/Class<TT;>;
           10   13     3   xecKey  Ljava/security/interfaces/XECPublicKey;
           26   32     3   xecKey  Ljava/security/interfaces/XECPrivateKey;
           29   32     4   scalar  [B
    Exceptions:
      throws java.security.spec.InvalidKeySpecException
    Signature: <T::Ljava/security/spec/KeySpec;>(Ljava/security/Key;Ljava/lang/Class<TT;>;)TT;
    MethodParameters:
         Name  Flags
      key      
      keySpec  

  private static java.security.InvalidKeyException lambda$3();
    descriptor: ()Ljava/security/InvalidKeyException;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 78
            new java.security.InvalidKeyException
            dup
            ldc "No private key data"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

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