Skip to content

Instantly share code, notes, and snippets.

@MaartenSmeets
Created October 27, 2018 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaartenSmeets/5f97bda15aa116b467ed35d927c8461b to your computer and use it in GitHub Desktop.
Save MaartenSmeets/5f97bda15aa116b467ed35d927c8461b to your computer and use it in GitHub Desktop.
Build RSAKey from public and private keys
RSAKey rsaJWK = new RSAKey.Builder(myPublicKey).privateKey(myPrivateKey).keyID(prop.getProperty("keyalias")).build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment