Created
October 27, 2018 10:18
-
-
Save MaartenSmeets/97857d59c5d59cbd3fd7489bb404279b to your computer and use it in GitHub Desktop.
Get RSA keys for use with JWT token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSAPrivateKey myPrivateKey = (RSAPrivateKey) pkEntry.getPrivateKey(); | |
RSAPublicKey myPublicKey = (RSAPublicKey) pkEntry.getCertificate().getPublicKey(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment