public class RSAKeyHelper extends Object
| Constructor and Description |
|---|
RSAKeyHelper() |
| Modifier and Type | Method and Description |
|---|---|
static RSAPrivateKey |
getPrivateKey(String filename) |
static RSAPublicKey |
getPublicKey(String filename) |
static RSAPrivateKey |
parsePrivateKey(String content) |
static RSAPublicKey |
parsePublicKey(String content) |
public static RSAPrivateKey parsePrivateKey(String content) throws Exception
Exceptionpublic static RSAPublicKey parsePublicKey(String content) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic static RSAPrivateKey getPrivateKey(String filename) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic static RSAPublicKey getPublicKey(String filename) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionCopyright © 2017. All rights reserved.