public class PEMDecoder extends Object
| Constructor and Description |
|---|
PEMDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
decode(char[] pem,
String password)
Deprecated.
|
static KeyPair |
decodeKeyPair(char[] pem,
String password) |
static byte[] |
generateKeyFromPasswordSaltWithMD5(byte[] password,
byte[] salt,
int keyLen) |
static boolean |
isPEMEncrypted(PEMStructure ps) |
public static byte[] generateKeyFromPasswordSaltWithMD5(byte[] password,
byte[] salt,
int keyLen)
throws IOException
IOExceptionpublic static boolean isPEMEncrypted(PEMStructure ps) throws IOException
IOException@Deprecated public static Object decode(char[] pem, String password) throws IOException
IOExceptionpublic static KeyPair decodeKeyPair(char[] pem, String password) throws IOException
IOExceptionCopyright © 2018. All rights reserved.