| 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.PEMWriterpublic class PEMWriterextends 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 | |
void |
|
Map | |
byte[] | |
String |
|
void |
|
void |
|
void |
|
Methods inherited from class com.sshtools.j2ssh.openssh.PEM | |
getKeyFromPassphrase | |
public void encryptPayload(byte[] payload,
String passphrase)
throws GeneralSecurityException
- Parameters:
payload-passphrase-
public Map getHeader()
- Returns:
public byte[] getPayload()
- Returns:
public String getType()
- Returns:
public void setPayload(byte[] bs)
- Parameters:
bs-
public void setType(String string)
- Parameters:
string-
public void write(Writer w)
throws IOException
- Parameters:
w-