com.sshtools.common.automate
Interface AuthorizedKeysFormat

All Known Implementing Classes:
OpenSSHAuthorizedKeysFormat, SSH2AuthorizedKeysFormat, SshtoolsAuthorizedKeysFormat

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 Detail

format

byte[] format(AuthorizedKeys keys)
              throws java.io.IOException,
                     InvalidSshKeyException
Parameters:
keys -
Returns:
Throws:
java.io.IOException
InvalidSshKeyException

format

byte[] format(AuthorizedKeys keys,
              AuthorizedKeysFileSaver saver)
              throws java.io.IOException,
                     InvalidSshKeyException
Parameters:
keys -
saver -
Returns:
Throws:
java.io.IOException
InvalidSshKeyException

unformat

AuthorizedKeys unformat(byte[] formatted)
                        throws java.io.IOException,
                               InvalidSshKeyException
Parameters:
formatted -
Returns:
Throws:
java.io.IOException
InvalidSshKeyException

unformat

AuthorizedKeys unformat(byte[] formatted,
                        AuthorizedKeysFileLoader loader)
                        throws java.io.IOException,
                               InvalidSshKeyException
Parameters:
formatted -
loader -
Returns:
Throws:
java.io.IOException
InvalidSshKeyException

requiresKeyFiles

boolean requiresKeyFiles()
Returns:


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