Class OpenSshHostKeysHandler
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.session.helpers.AbstractConnectionServiceRequestHandler
org.apache.sshd.common.global.AbstractOpenSshHostKeysHandler
org.apache.sshd.client.global.OpenSshHostKeysHandler
- All Implemented Interfaces:
RequestHandler<ConnectionService>, ConnectionServiceRequestHandler
A handler for the "hostkeys-00@openssh.com" request.
- Author:
- Apache MINA SSHD Project
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface RequestHandler
RequestHandler.Result -
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface ConnectionServiceRequestHandler
SVC2HNDLR -
Constructor Summary
ConstructorsConstructorDescriptionOpenSshHostKeysHandler(org.apache.sshd.common.util.buffer.keys.BufferPublicKeyParser<? extends PublicKey> parser) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleHostKeyRotation(ClientSession client, List<PublicKey> proposedKeys, org.apache.sshd.common.util.buffer.Buffer reply) protected RequestHandler.ResulthandleHostKeys(Session session, Collection<PublicKey> keys, boolean wantReply, org.apache.sshd.common.util.buffer.Buffer buffer) Methods inherited from class AbstractOpenSshHostKeysHandler
getPublicKeysParser, getRequestName, isIgnoreInvalidKeys, process, setIgnoreInvalidKeys, toStringMethods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Field Details
-
REQUEST
- See Also:
-
INSTANCE
-
-
Constructor Details
-
OpenSshHostKeysHandler
public OpenSshHostKeysHandler() -
OpenSshHostKeysHandler
public OpenSshHostKeysHandler(org.apache.sshd.common.util.buffer.keys.BufferPublicKeyParser<? extends PublicKey> parser)
-
-
Method Details
-
handleHostKeys
protected RequestHandler.Result handleHostKeys(Session session, Collection<PublicKey> keys, boolean wantReply, org.apache.sshd.common.util.buffer.Buffer buffer) throws Exception - Specified by:
handleHostKeysin classAbstractOpenSshHostKeysHandler- Throws:
Exception
-
handleHostKeyRotation
protected void handleHostKeyRotation(ClientSession client, List<PublicKey> proposedKeys, org.apache.sshd.common.util.buffer.Buffer reply)
-