public class OpenSSHPublicKeyFile extends Object implements SshPublicKeyFile
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Get the comment applied to the key file.
|
byte[] |
getFormattedKey()
Get the formatted key.
|
String |
getOptions()
Get the options string applied to the key file
|
SshPublicKey |
toPublicKey()
Convert the key file into a usable
SshPublicKey.
|
String |
toString() |
public byte[] getFormattedKey()
SshPublicKeyFilegetFormattedKey in interface SshPublicKeyFilepublic SshPublicKey toPublicKey() throws IOException
SshPublicKeyFiletoPublicKey in interface SshPublicKeyFileIOExceptionpublic String getOptions()
SshPublicKeyFilegetOptions in interface SshPublicKeyFilepublic String getComment()
SshPublicKeyFilegetComment in interface SshPublicKeyFileCopyright © 2013. All Rights Reserved.