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) boolean
unformat
(byte[] formatted) unformat
(byte[] formatted, AuthorizedKeysFileLoader loader)
-
Method Details
-
format
- Parameters:
keys
-- Returns:
- Throws:
IOException
InvalidSshKeyException
-
format
byte[] format(AuthorizedKeys keys, AuthorizedKeysFileSaver saver) throws IOException, InvalidSshKeyException - Parameters:
keys
-saver
-- Returns:
- Throws:
IOException
InvalidSshKeyException
-
unformat
- Parameters:
formatted
-- Returns:
- Throws:
IOException
InvalidSshKeyException
-
unformat
AuthorizedKeys unformat(byte[] formatted, AuthorizedKeysFileLoader loader) throws IOException, InvalidSshKeyException - Parameters:
formatted
-loader
-- Returns:
- Throws:
IOException
InvalidSshKeyException
-
requiresKeyFiles
boolean requiresKeyFiles()- Returns:
-