Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8226900

No AlgorithmParameters implementation for XDH/XEC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 11, 12, 13
    • security-libs
    • None

      No XDH or XEC AlgorithmParameters impl in JDK.

      It order to get AlgorithmParameters from AlgorithmParameterSpec, applications could code as the general tyle for "EC" or other algorithms:
      AlgorithmParameters algParams =
          AlgorithmParameters.getInstance("x25519");
      algParams.init(x25519AlgorithmParamSpec);

      If no implementation of XDH AlgorithmParameters, it is tricky to get AlgorithmParameters object for x25519/x448. Some public APIs requires to use AlgorithmParameters object, for example AlgorithmConstraints.permits().

            kdriver Kevin Driver
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: