com.sshtools.common.automate

Interface AuthorizedKeysFormat

Known Implementing Classes:
OpenSSHAuthorizedKeysFormat, SshtoolsAuthorizedKeysFormat, SSH2AuthorizedKeysFormat

public interface AuthorizedKeysFormat

Version:
$Revision: 1.13 $
Author:
$author$

Method Summary

byte[]
format(AuthorizedKeys keys)
byte[]
format(AuthorizedKeys keys, AuthorizedKeysFileSaver saver)
boolean
requiresKeyFiles()
AuthorizedKeys
unformat(byte[] formatted)
AuthorizedKeys
unformat(byte[] formatted, AuthorizedKeysFileLoader loader)

Method Details

format

public byte[] format(AuthorizedKeys keys)
            throws IOException,
                   InvalidSshKeyException
Parameters:
keys -
Returns:

format

public byte[] format(AuthorizedKeys keys,
                     AuthorizedKeysFileSaver saver)
            throws IOException,
                   InvalidSshKeyException
Parameters:
keys -
saver -
Returns:

requiresKeyFiles

public boolean requiresKeyFiles()
Returns:

unformat

public AuthorizedKeys unformat(byte[] formatted)
            throws IOException,
                   InvalidSshKeyException
Parameters:
formatted -
Returns:

unformat

public AuthorizedKeys unformat(byte[] formatted,
                               AuthorizedKeysFileLoader loader)
            throws IOException,
                   InvalidSshKeyException
Parameters:
formatted -
loader -
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.