|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.maverick.ssh.SubsystemChannel
com.sshtools.publickey.PublicKeySubsystem
This class implements version 1 of the public key subsystem.
| Constructor Summary | |
PublicKeySubsystem(Ssh2Session session)
|
|
| Method Summary | |
void |
add(SshPublicKey key,
java.lang.String comment)
Add a public key to the users list of acceptable keys. |
void |
associateCommand(SshPublicKey key,
java.lang.String command)
Associate a command with an accepted public key. |
SshPublicKey[] |
list()
List all of the users acceptable keys. |
void |
remove(SshPublicKey key)
Remove a public key from the users list of acceptable keys. |
| Methods inherited from class com.maverick.ssh.SubsystemChannel |
close, createPacket, isClosed, nextMessage, sendMessage, sendMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PublicKeySubsystem(Ssh2Session session)
throws SshException
| Method Detail |
public void add(SshPublicKey key,
java.lang.String comment)
throws SshException,
PublicKeySubsystemException
key - comment -
SshException
PublicKeyStatusException
PublicKeySubsystemException
public void remove(SshPublicKey key)
throws SshException,
PublicKeySubsystemException
key -
SshException
PublicKeyStatusException
PublicKeySubsystemException
public SshPublicKey[] list()
throws SshException,
PublicKeySubsystemException
SshException
PublicKeySubsystemException
public void associateCommand(SshPublicKey key,
java.lang.String command)
throws SshException,
PublicKeySubsystemException
key - command -
SshException
PublicKeyStatusException
PublicKeySubsystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||