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

Introduce AsymmetricKey interface with a getParams method

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 22
    • None
    • security-libs
    • None
    • b22

    Description

      Currently, every algorithm-specific asymmetric key interface (Ex: `ECKey`) in JDK has a `getParams()` method. It will be nice if this method is in `PublicKey` and `PrivateKey` (returning null by default) or a superclass so that it's available for all asymmetric keys. Once we have this method, even if a new algorithm is introduced in a future release, developers do not need to rewrite their applications to use any new algorithm-specific API.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: