Top Description Fields Constructors Methods
org.apache.sshd.client.global

public Class OpenSshHostKeysHandler

extends AbstractOpenSshHostKeysHandler
Class Inheritance
Imports
java.security.PublicKey, java.util.Collection, org.apache.sshd.common.global.AbstractOpenSshHostKeysHandler, org.apache.sshd.common.session.Session, org.apache.sshd.common.util.GenericUtils, .ValidateUtils, org.apache.sshd.common.util.buffer.Buffer, org.apache.sshd.common.util.buffer.keys.BufferPublicKeyParser

A handler for the "[email protected]" request - for now, only reads the presented host key. One can override the handleHostKeys(Session, Collection, boolean, Buffer) methods in order to do something with the keys
Author
Apache MINA SSHD Project
See Also
OpenSSH protocol - section 2.5

Field Summary

Modifier and TypeField and Description
public static final OpenSshHostKeysHandler
public static final String

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
protected RequestHandler.Result
Inherited from org.apache.sshd.common.global.AbstractOpenSshHostKeysHandler:
getPublicKeysParsergetRequestNameisIgnoreInvalidKeysprocesssetIgnoreInvalidKeystoString

Field Detail

INSTANCEback to summary
public static final OpenSshHostKeysHandler INSTANCE
REQUESTback to summary
public static final String REQUEST

Constructor Detail

OpenSshHostKeysHandlerback to summary
public OpenSshHostKeysHandler()
OpenSshHostKeysHandlerback to summary
public OpenSshHostKeysHandler(BufferPublicKeyParser<? extends PublicKey> parser)

Method Detail

handleHostKeysback to summary
protected RequestHandler.Result handleHostKeys(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer) throws Exception

Implements abstract org.apache.sshd.common.global.AbstractOpenSshHostKeysHandler.handleHostKeys.

Annotations
@Override