|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sshtools.j2ssh.openssh.OpenSSHPrivateKeyFormat
DOCUMENT ME!
| Constructor Summary | |
OpenSSHPrivateKeyFormat()
Creates a new OpenSSHPrivateKeyFormat object. |
|
| Method Summary | |
byte[] |
decryptKeyblob(byte[] formattedKey,
java.lang.String passphrase)
DOCUMENT ME! |
byte[] |
encryptKeyblob(byte[] keyblob,
java.lang.String passphrase)
DOCUMENT ME! |
java.lang.String |
getFormatType()
DOCUMENT ME! |
boolean |
isFormatted(byte[] formattedKey)
DOCUMENT ME! |
boolean |
isPassphraseProtected(byte[] formattedKey)
DOCUMENT ME! |
boolean |
supportsAlgorithm(java.lang.String algorithm)
DOCUMENT ME! |
java.lang.String |
toString()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OpenSSHPrivateKeyFormat()
| Method Detail |
public java.lang.String getFormatType()
getFormatType in interface SshPrivateKeyFormatpublic java.lang.String toString()
public byte[] decryptKeyblob(byte[] formattedKey,
java.lang.String passphrase)
throws InvalidSshKeyException
decryptKeyblob in interface SshPrivateKeyFormatformattedKey - DOCUMENT ME!passphrase - DOCUMENT ME!
InvalidSshKeyException - DOCUMENT ME!
public byte[] encryptKeyblob(byte[] keyblob,
java.lang.String passphrase)
throws InvalidSshKeyException
encryptKeyblob in interface SshPrivateKeyFormatkeyblob - DOCUMENT ME!passphrase - DOCUMENT ME!
InvalidSshKeyException - DOCUMENT ME!public boolean isFormatted(byte[] formattedKey)
isFormatted in interface SshPrivateKeyFormatformattedKey - DOCUMENT ME!
public boolean isPassphraseProtected(byte[] formattedKey)
isPassphraseProtected in interface SshPrivateKeyFormatformattedKey - DOCUMENT ME!
public boolean supportsAlgorithm(java.lang.String algorithm)
supportsAlgorithm in interface SshPrivateKeyFormatalgorithm - DOCUMENT ME!
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||