Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.openssh.PEM
com.sshtools.j2ssh.openssh.PEMReader
public class PEMReader
extends PEM
Field Summary |
Fields inherited from class com.sshtools.j2ssh.openssh.PEM | |
DSA_PRIVATE_KEY , HEX_CHARS , MAX_LINE_LENGTH , PEM_BEGIN , PEM_BOUNDARY , PEM_END , RSA_PRIVATE_KEY |
Constructor Summary | |
|
Method Summary | |
byte[] |
|
Map | |
byte[] | |
String |
|
Methods inherited from class com.sshtools.j2ssh.openssh.PEM | |
getKeyFromPassphrase |
public PEMReader(Reader r) throws IOException
Creates a new PEMReader object.
- Parameters:
r
-
public byte[] decryptPayload(String passphrase) throws GeneralSecurityException
- Parameters:
passphrase
-
- Returns:
public Map getHeader()
- Returns:
public byte[] getPayload()
- Returns:
public String getType()
- Returns: