public class SshtoolsAuthorizedKeysFormat extends java.lang.Object implements AuthorizedKeysFormat
Constructor and Description |
---|
SshtoolsAuthorizedKeysFormat() |
Modifier and Type | Method and Description |
---|---|
byte[] |
format(AuthorizedKeys keys) |
byte[] |
format(AuthorizedKeys keys,
AuthorizedKeysFileSaver saver) |
boolean |
requiresKeyFiles() |
AuthorizedKeys |
unformat(byte[] formatted) |
AuthorizedKeys |
unformat(byte[] formatted,
AuthorizedKeysFileLoader loader) |
public byte[] format(AuthorizedKeys keys)
format
in interface AuthorizedKeysFormat
keys
- java.lang.UnsupportedOperationException
public AuthorizedKeys unformat(byte[] formatted)
unformat
in interface AuthorizedKeysFormat
formatted
- java.lang.UnsupportedOperationException
public byte[] format(AuthorizedKeys keys, AuthorizedKeysFileSaver saver) throws java.io.IOException, InvalidSshKeyException
format
in interface AuthorizedKeysFormat
keys
- saver
- java.io.IOException
InvalidSshKeyException
public AuthorizedKeys unformat(byte[] formatted, AuthorizedKeysFileLoader loader) throws java.io.IOException, InvalidSshKeyException
unformat
in interface AuthorizedKeysFormat
formatted
- loader
- java.io.IOException
InvalidSshKeyException
public boolean requiresKeyFiles()
requiresKeyFiles
in interface AuthorizedKeysFormat
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.