public class JGitKexExtensionHandler
extends org.apache.sshd.common.util.logging.AbstractLoggingBean
implements org.apache.sshd.common.kex.extension.KexExtensionHandler
Modifier and Type | Field and Description |
---|---|
static JGitKexExtensionHandler |
INSTANCE
Singleton instance.
|
static org.apache.sshd.common.AttributeRepository.AttributeKey<Set<String>> |
SERVER_ALGORITHMS
Session
AttributeRepository.AttributeKey storing the algorithms announced by the
server as known. |
Modifier and Type | Method and Description |
---|---|
boolean |
handleKexExtensionRequest(org.apache.sshd.common.session.Session session,
int index,
int count,
String name,
byte[] data) |
void |
handleKexInitProposal(org.apache.sshd.common.session.Session session,
boolean initiator,
Map<org.apache.sshd.common.kex.KexProposalOption,String> proposal) |
protected void |
handleServerSignatureAlgorithms(org.apache.sshd.common.session.Session session,
Collection<String> serverAlgorithms)
Perform updates after a server-sig-algs extension has been received.
|
boolean |
isKexExtensionsAvailable(org.apache.sshd.common.session.Session session,
org.apache.sshd.common.kex.extension.KexExtensionHandler.AvailabilityPhase phase) |
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
public static final JGitKexExtensionHandler INSTANCE
public boolean isKexExtensionsAvailable(org.apache.sshd.common.session.Session session, org.apache.sshd.common.kex.extension.KexExtensionHandler.AvailabilityPhase phase) throws IOException
isKexExtensionsAvailable
in interface org.apache.sshd.common.kex.extension.KexExtensionHandler
IOException
public void handleKexInitProposal(org.apache.sshd.common.session.Session session, boolean initiator, Map<org.apache.sshd.common.kex.KexProposalOption,String> proposal) throws IOException
handleKexInitProposal
in interface org.apache.sshd.common.kex.extension.KexExtensionHandler
IOException
public boolean handleKexExtensionRequest(org.apache.sshd.common.session.Session session, int index, int count, String name, byte[] data) throws IOException
handleKexExtensionRequest
in interface org.apache.sshd.common.kex.extension.KexExtensionHandler
IOException
protected void handleServerSignatureAlgorithms(org.apache.sshd.common.session.Session session, Collection<String> serverAlgorithms)
session
- the message was received forserverAlgorithms
- signature algorithm names announced by the serverCopyright © 2021 Eclipse JGit Project. All rights reserved.