public class PemUtils extends Object
| Constructor and Description |
|---|
PemUtils() |
| Modifier and Type | Method and Description |
|---|---|
static KeyPair |
loadKeyPair(InputStream inputStream) |
static PublicKey |
loadPublicKey(InputStream inputStream) |
static void |
writeKeyPair(OutputStream out,
KeyPair keyPair) |
static void |
writePublicKey(OutputStream out,
PublicKey key) |
public static PublicKey loadPublicKey(InputStream inputStream) throws IOException
IOExceptionpublic static void writePublicKey(OutputStream out, PublicKey key) throws IOException
IOExceptionpublic static KeyPair loadKeyPair(InputStream inputStream) throws IOException
IOExceptionpublic static void writeKeyPair(OutputStream out, KeyPair keyPair) throws IOException
IOException