Package com.sshtools.common.automate
Interface AuthorizedKeysFormat
- All Known Implementing Classes:
OpenSSHAuthorizedKeysFormat,SSH2AuthorizedKeysFormat,SshtoolsAuthorizedKeysFormat
public interface AuthorizedKeysFormat
- Version:
- $Revision: 1.13 $
- Author:
- $author$
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]format(AuthorizedKeys keys) byte[]format(AuthorizedKeys keys, AuthorizedKeysFileSaver saver) booleanunformat(byte[] formatted) unformat(byte[] formatted, AuthorizedKeysFileLoader loader)
-
Method Details
-
format
- Parameters:
keys-- Returns:
- Throws:
IOExceptionInvalidSshKeyException
-
format
byte[] format(AuthorizedKeys keys, AuthorizedKeysFileSaver saver) throws IOException, InvalidSshKeyException - Parameters:
keys-saver-- Returns:
- Throws:
IOExceptionInvalidSshKeyException
-
unformat
- Parameters:
formatted-- Returns:
- Throws:
IOExceptionInvalidSshKeyException
-
unformat
AuthorizedKeys unformat(byte[] formatted, AuthorizedKeysFileLoader loader) throws IOException, InvalidSshKeyException - Parameters:
formatted-loader-- Returns:
- Throws:
IOExceptionInvalidSshKeyException
-
requiresKeyFiles
boolean requiresKeyFiles()- Returns:
-