JWK factory method for PrivateKeyEntry

Issue #349 new
Max Fichtelmann created an issue

I often use java.security.KeyStore.PrivateKeyEntry to hold a PrivateKey alongside the X.509 Certificate it belongs to.

As far as I can see, there is a factory method to create a JWK based off a KeyStore, but not a straightforward way to do the same from a PrivateKeyEntry.

Are you open for a contribution implementing such a method?

Comments (1)

  1. Yavor Vasilev

    Hi Max,

    Yes, that will be appreciated. Feel free to submit a pull request.

    How do you plan to verify that the PrivateKeyEntry belongs to a given certificate?

  2. Log in to comment