Created
July 26, 2014 14:24
-
-
Save jordanbaucke/8e426a2a2cc2a5fa9464 to your computer and use it in GitHub Desktop.
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
String privateKeyPassword = "hongkong"; | |
PGPPrivateKey pgpPrivKey = pgpSec | |
.extractPrivateKey(new JcePBESecretKeyDecryptorBuilder() | |
.setProvider("BC").build(privateKeyPassword.toCharArray())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment