-
-
Save ryctabo/0c875ba95ec77785f5e7b9697669c502 to your computer and use it in GitHub Desktop.
Save pair keys in binary file
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
try (FileOutputStream out = new FileOutputStream(fileName)) { | |
out.write(key.getEncoded()); | |
} catch (IOException ex) { | |
LOG.log(Level.SEVERE, ex.getMessage(), ex); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment