public class CLI extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
_main(String[] _args) |
static KeyPair |
loadKey(File f) |
static KeyPair |
loadKey(File f,
String passwd)
Loads RSA/DSA private key in a PEM format into
KeyPair. |
static KeyPair |
loadKey(String pemString) |
static KeyPair |
loadKey(String pemString,
String passwd)
Loads RSA/DSA private key in a PEM format into
KeyPair. |
static void |
main(String[] _args) |
public static KeyPair loadKey(File f, String passwd) throws IOException, GeneralSecurityException
KeyPair.IOExceptionGeneralSecurityExceptionpublic static KeyPair loadKey(File f) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic static KeyPair loadKey(String pemString, String passwd) throws IOException, GeneralSecurityException
KeyPair.IOExceptionGeneralSecurityExceptionpublic static KeyPair loadKey(String pemString) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionCopyright © 2004–2020. All rights reserved.