No AlgorithmParameters implementation for XDH/XEC

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 11, 12, 13
    • Component/s: 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().

            Assignee:
            Kevin Driver (Inactive)
            Reporter:
            Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: