Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.common.automate.OpenSSHAuthorizedKeysFormat
Method Summary | |
byte[] |
|
byte[] |
|
boolean | |
AuthorizedKeys |
|
AuthorizedKeys |
|
public byte[] format(AuthorizedKeys keys) throws IOException, InvalidSshKeyException
- Specified by:
- format in interface AuthorizedKeysFormat
- Parameters:
keys
-
- Returns:
- Throws:
InvalidSshKeyException
-
public byte[] format(AuthorizedKeys keys, AuthorizedKeysFileSaver saver) throws IOException, InvalidSshKeyException
- Specified by:
- format in interface AuthorizedKeysFormat
- Parameters:
keys
-saver
-
- Returns:
- Throws:
InvalidSshKeyException
-
public boolean requiresKeyFiles()
- Specified by:
- requiresKeyFiles in interface AuthorizedKeysFormat
- Returns:
public AuthorizedKeys unformat(byte[] formatted) throws IOException, InvalidSshKeyException
- Specified by:
- unformat in interface AuthorizedKeysFormat
- Parameters:
formatted
-
- Returns:
- Throws:
InvalidSshKeyException
-
public AuthorizedKeys unformat(byte[] formatted, AuthorizedKeysFileLoader loader) throws IOException, InvalidSshKeyException
- Specified by:
- unformat in interface AuthorizedKeysFormat
- Parameters:
formatted
-loader
-
- Returns:
- Throws:
InvalidSshKeyException
-