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
IOException
public static boolean isPEMEncrypted(PEMStructure ps) throws IOException
IOException
@Deprecated public static Object decode(char[] pem, String password) throws IOException
IOException
public static KeyPair decodeKeyPair(char[] pem, String password) throws IOException
IOException
Copyright © 2020. All rights reserved.