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
IOException
public static void writePublicKey(OutputStream out, PublicKey key) throws IOException
IOException
public static KeyPair loadKeyPair(InputStream inputStream) throws IOException
IOException
public static void writeKeyPair(OutputStream out, KeyPair keyPair) throws IOException
IOException