| Modifier and Type | Class and Description |
|---|---|
| public static enum | KexExtensionHandler.
Provides a hint as to the context in which |
| public static enum | KexExtensionHandler.
The phase at which |
| Modifier and Type | Method and Description |
|---|---|
| public default boolean | Returns: true if message handled - if false then SSH_MSG_UNIMPLEMENTED will be
generatedThe session, Buffer Session through which the message was receivedThe message buffer buffer)Parses the Note this method is called regardless of whether
|
| public default void | handleKexExtensionNegotiation(Session
The session, KexProposalOption Session executing the negotiationThe negotiated option, String KexProposalOptionThe negotiated option value (may be nValue, Map<KexProposalOption, String> null/empty).The client proposals c2sOptions, String The client-side value for the option (may be cValue, Map<KexProposalOption, String> null/empty).The server proposals s2cOptions, String The server-side value for the option (may be sValue)null/empty).Invoked during the KEX negotiation phase to inform about option being negotiated Note this method is
called during the negotiation phase even if |
| public default boolean | Returns: true whether to proceed to the next extension or stop processing the restThe session, int Session through which the message was receivedThe 0-based extension index index, int The total extensions in the message count, String The extension name name, byte[] The extension data data)Invoked by |
| public default boolean | Returns: true if message handled - if false then SSH_MSG_UNIMPLEMENTED will be
generatedThe session, Buffer Session through which the message was receivedThe message buffer buffer)Parses the Note this method is called regardless of whether
|
| public default 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)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 default boolean | Returns: true whether to KEX extensions are supported/allowed for the sessionThe session, KexExtensionHandler.Session about to execute KEXThe phaseAvailabilityPhase hint as to why the query is being made
|
| public default void | sendKexExtensions(Session
The session, KexExtensionHandler.SessionThe phase at which the handler is invoked phaseInvoked in order to allow the handler to send an Note this method is
called only if |
| handleKexCompressionMessage | back to summary |
|---|---|
| public default boolean handleKexCompressionMessage(Session session, Buffer buffer) throws Exception Parses the Note this method is called regardless of whether
| |
| handleKexExtensionNegotiation | back to summary |
|---|---|
| public default void handleKexExtensionNegotiation(Session session, KexProposalOption option, String nValue, Map<KexProposalOption, String> c2sOptions, String cValue, Map<KexProposalOption, String> s2cOptions, String sValue) throws Exception Invoked during the KEX negotiation phase to inform about option being negotiated Note this method is
called during the negotiation phase even if
| |
| handleKexExtensionRequest | back to summary |
|---|---|
| public default boolean handleKexExtensionRequest(Session session, int index, int count, String name, byte[] data) throws Exception Invoked by
| |
| handleKexExtensionsMessage | back to summary |
|---|---|
| public default boolean handleKexExtensionsMessage(Session session, Buffer buffer) throws Exception Parses the Note this method is called regardless of whether
| |
| handleKexInitProposal | back to summary |
|---|---|
| public default void handleKexInitProposal(Session session, boolean initiator, Map<KexProposalOption, String> proposal) throws Exception 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
| |
| isKexExtensionsAvailable | back to summary |
|---|---|
public default boolean isKexExtensionsAvailable(Session session, KexExtensionHandler.
| |
| sendKexExtensions | back to summary |
|---|---|
| public default void sendKexExtensions(Session session, KexExtensionHandler. Invoked in order to allow the handler to send an Note this method is
called only if
| |
isKexExtensionsAvailable is invoked
| Modifier and Type | Field and Description |
|---|---|
| public static final KexExtensionHandler. | AUTHOK
About to send Note currently invoked only by server sessions, but code should not rely on this implicit assumption. |
| public static final KexExtensionHandler. | NEWKEYS
About to send the |
| public static final KexExtensionHandler. | PREKEX
Decide whether to delay sending the KEX-INIT message until the peer one has been received Note currently invoked only by client sessions, but code should not rely on this implicit assumption. |
| public static final KexExtensionHandler. | PROPOSAL
About to create the KEX-INIT proposal - should this session declare it support the KEX negotiation extension mechanism or not. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static KexExtensionHandler. | |
| public static KexExtensionHandler. |
| AUTHOK | back to summary |
|---|---|
| public static final KexExtensionHandler. About to send Note currently invoked only by server sessions, but code should not rely on this implicit assumption. | |
| NEWKEYS | back to summary |
|---|---|
| public static final KexExtensionHandler. About to send the | |
| PREKEX | back to summary |
|---|---|
| public static final KexExtensionHandler. Decide whether to delay sending the KEX-INIT message until the peer one has been received Note currently invoked only by client sessions, but code should not rely on this implicit assumption. | |
| PROPOSAL | back to summary |
|---|---|
| public static final KexExtensionHandler. About to create the KEX-INIT proposal - should this session declare it support the KEX negotiation extension mechanism or not. | |
| AvailabilityPhase | back to summary |
|---|---|
| private AvailabilityPhase() | |
| valueOf | back to summary |
|---|---|
| public static KexExtensionHandler. | |
| values | back to summary |
|---|---|
| public static KexExtensionHandler. | |
sendKexExtensions is invoked
| Modifier and Type | Field and Description |
|---|---|
| public static final KexExtensionHandler. | |
| public static final KexExtensionHandler. | |
| public static final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static KexExtensionHandler. | |
| public static KexExtensionHandler. |
| AUTHOK | back to summary |
|---|---|
| public static final KexExtensionHandler. | |
| NEWKEYS | back to summary |
|---|---|
| public static final KexExtensionHandler. | |
| VALUES | back to summary |
|---|---|
| public static final Set<KexExtensionHandler. | |
| KexPhase | back to summary |
|---|---|
| private KexPhase() | |
| valueOf | back to summary |
|---|---|
| public static KexExtensionHandler. | |
| values | back to summary |
|---|---|
| public static KexExtensionHandler. | |