|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat
com.sshtools.j2ssh.transport.publickey.SshtoolsPrivateKeyFormat
DOCUMENT ME!
| Field Summary |
| Fields inherited from class com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat |
begin, end |
| Constructor Summary | |
SshtoolsPrivateKeyFormat()
Creates a new SshtoolsPrivateKeyFormat object. |
|
SshtoolsPrivateKeyFormat(java.lang.String subject,
java.lang.String comment)
Creates a new SshtoolsPrivateKeyFormat 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 |
isPassphraseProtected(byte[] formattedKey)
DOCUMENT ME! |
boolean |
supportsAlgorithm(java.lang.String algorithm)
DOCUMENT ME! |
| Methods inherited from class com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat |
formatKey, getHeaderValue, getKeyBlob, isFormatted, setHeaderValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sshtools.j2ssh.transport.publickey.SshPrivateKeyFormat |
isFormatted |
| Constructor Detail |
public SshtoolsPrivateKeyFormat(java.lang.String subject,
java.lang.String comment)
subject - DOCUMENT ME!comment - DOCUMENT ME!public SshtoolsPrivateKeyFormat()
| Method Detail |
public java.lang.String getFormatType()
getFormatType in interface SshPrivateKeyFormatgetFormatType in class Base64EncodedFileFormatpublic boolean isPassphraseProtected(byte[] formattedKey)
isPassphraseProtected in interface SshPrivateKeyFormatformattedKey - DOCUMENT ME!
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)
encryptKeyblob in interface SshPrivateKeyFormatkeyblob - DOCUMENT ME!passphrase - 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 | |||||||||