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

Enhance the Named framework to return algorithm-specific keys

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • security-libs
    • None

      As the comment in NamedKeyPairGenerator says:

      /// Note: A limitation of `NamedKeyPairGenerator` and `NamedKeyFactory` is
      /// that the keys generated by their implementations will always be of type
      /// `NamedX509Key` or `NamedPKCS8Key`. Existing implementations of algorithms
      /// like EdDSA and XDH have been generating keys implementing `EdECKey` or
      /// `XECKey` interfaces, and they are not rewritten with this framework.
      /// `NamedParamterSpec` fields not implemented with this framework include
      /// Ed25519, Ed448, X25519, and X448.

      We can investigate how to solve this limitation.

            Unassigned Unassigned
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: