| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.openssh.PEMcom.sshtools.j2ssh.openssh.PEMReaderpublic class PEMReaderextends PEMField 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 IOExceptionCreates 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: