KexExtensionHandler handling the
ServerSignatureAlgorithms KEX extension.
| Modifier and Type | Field and Description |
|---|---|
| public static final AttributeRepository. | CLIENT_REQUESTED_EXT_INFO
Session |
| public static final AttributeRepository. | EXT_INFO_SENT_AT_NEWKEYS
Session |
| public static final DefaultServerKexExtensionHandler | INSTANCE
Default singleton instance. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | collectExtensions(Session
Session to send the KEX extension information forKexPhase of the SSH protocolBiConsumer writing the extensions into an SSH messageCollects extension info records, handing them off to the given |
| public void | handleKexInitProposal(Session
The session, boolean Session initiating or receiving the proposaltrue if the proposal is about to be sent, false if this is a proposal received
from the peer.The proposal contents - Caveat emptor: the proposal is modifiable i.e., the
handler can modify it before being sent or before being processed (if incoming) proposal)Overrides default org. Invoked when a peer is ready to send the KEX options proposal or has received such a proposal Note this
method is called during the negotiation phase even if |
| public void | sendKexExtensions(Session
The session, KexExtensionHandler.SessionThe phase at which the handler is invoked phaseOverrides default org. Invoked in order to allow the handler to send an Note this method is
called only if |
| CLIENT_REQUESTED_EXT_INFO | back to summary |
|---|---|
| public static final AttributeRepository. Session
| |
| EXT_INFO_SENT_AT_NEWKEYS | back to summary |
|---|---|
| public static final AttributeRepository. Session
| |
| INSTANCE | back to summary |
|---|---|
| public static final DefaultServerKexExtensionHandler INSTANCE Default singleton instance. | |
| DefaultServerKexExtensionHandler | back to summary |
|---|---|
| public DefaultServerKexExtensionHandler() | |
| collectExtensions | back to summary |
|---|---|
| public void collectExtensions(Session session, KexExtensionHandler. Collects extension info records, handing them off to the given
This default implementation marshals a
| |
| handleKexInitProposal | back to summary |
|---|---|
| public void handleKexInitProposal(Session session, boolean initiator, Map<KexProposalOption, String> proposal) throws Exception Overrides default org. Doc from org. Invoked when a peer is ready to send the KEX options proposal or has received such a proposal Note this
method is called during the negotiation phase even if
| |
| sendKexExtensions | back to summary |
|---|---|
| public void sendKexExtensions(Session session, KexExtensionHandler. Overrides default org. Doc from org. Invoked in order to allow the handler to send an Note this method is
called only if | |