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

Get public key from EC private key in PKCS11

XMLWordPrintable

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

      DHKEM requires the ability to get the public key from a private key, at https://www.rfc-editor.org/rfc/rfc9180.html#section-3-2.4:

      pk(skX): The KEM public key corresponding to the KEM private key skX.

      Back in JDK-8305310, we did this for EC and XDH in the SunEC provider. The function is still not available in PKCS #11. Note that there is no XDH support in SunPKCS11 yet.

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

              Created:
              Updated: