|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sshtools.j2ssh.openssh.PEM
com.sshtools.j2ssh.openssh.PEMReader
public class PEMReader
| 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 | |
|---|---|
PEMReader(java.io.Reader r)
Creates a new PEMReader object. |
|
| Method Summary | |
|---|---|
byte[] |
decryptPayload(java.lang.String passphrase)
|
java.util.Map |
getHeader()
|
byte[] |
getPayload()
|
java.lang.String |
getType()
|
| Methods inherited from class com.sshtools.j2ssh.openssh.PEM |
|---|
getKeyFromPassphrase |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PEMReader(java.io.Reader r)
throws java.io.IOException
r -
java.io.IOException| Method Detail |
|---|
public java.util.Map getHeader()
public byte[] getPayload()
public java.lang.String getType()
public byte[] decryptPayload(java.lang.String passphrase)
throws java.security.GeneralSecurityException
passphrase -
java.security.GeneralSecurityException
java.security.NoSuchAlgorithmException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||