Package com.trilead.ssh2.crypto
Class PEMDecoder
- java.lang.Object
-
- com.trilead.ssh2.crypto.PEMDecoder
-
public class PEMDecoder extends java.lang.Object
PEM Support.
-
-
Constructor Summary
Constructors Constructor Description PEMDecoder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
decode(char[] pem, java.lang.String password)
static boolean
isPEMEncrypted(PEMStructure ps)
-
-
-
Method Detail
-
isPEMEncrypted
public static final boolean isPEMEncrypted(PEMStructure ps) throws java.io.IOException
- Throws:
java.io.IOException
-
decode
public static java.lang.Object decode(char[] pem, java.lang.String password) throws java.io.IOException
- Throws:
java.io.IOException
-
-