|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sshtools.publickey.Base64EncodedFileFormat
com.sshtools.publickey.SECSHPublicKeyFile
public class SECSHPublicKeyFile
| Field Summary |
|---|
| Fields inherited from class com.sshtools.publickey.Base64EncodedFileFormat |
|---|
begin, end |
| Method Summary | |
|---|---|
java.lang.String |
getComment()
Get the comment applied to the key file. |
byte[] |
getFormattedKey()
Get the formatted key. |
void |
setComment(java.lang.String comment)
|
SshPublicKey |
toPublicKey()
Convert the key file into a usable SshPublicKey. |
java.lang.String |
toString()
|
| Methods inherited from class com.sshtools.publickey.Base64EncodedFileFormat |
|---|
formatKey, getHeaderValue, getKeyBlob, isFormatted, setHeaderValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getComment()
SshPublicKeyFile
getComment in interface SshPublicKeyFile
public SshPublicKey toPublicKey()
throws java.io.IOException
SshPublicKeyFile
toPublicKey in interface SshPublicKeyFilejava.io.IOException
public byte[] getFormattedKey()
throws java.io.IOException
SshPublicKeyFile
getFormattedKey in interface SshPublicKeyFilejava.io.IOExceptionpublic void setComment(java.lang.String comment)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||