public class PemWriter extends Object
| Constructor and Description |
|---|
PemWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
writePemFile(Key key,
String description,
String filename) |
static void |
writePrivateKey(RSAPrivateKey privateKey,
String description,
String filename) |
static void |
writePublicKey(RSAPublicKey publicKey,
String description,
String filename) |
public static void writePrivateKey(RSAPrivateKey privateKey, String description, String filename) throws IOException
IOExceptionpublic static void writePublicKey(RSAPublicKey publicKey, String description, String filename) throws IOException
IOExceptionpublic static void writePemFile(Key key, String description, String filename) throws IOException
IOExceptionCopyright © 2017. All Rights Reserved.