Uses of Enum
org.apache.sshd.common.kex.KexProposalOption
Packages that use KexProposalOption
Package
Description
-
Uses of KexProposalOption in org.apache.sshd.client.session
Method parameters in org.apache.sshd.client.session with type arguments of type KexProposalOptionModifier and TypeMethodDescriptionprotected void
AbstractClientSession.receiveKexInit
(Map<KexProposalOption, String> proposal, byte[] seed) protected byte[]
AbstractClientSession.sendKexInit
(Map<KexProposalOption, String> proposal) -
Uses of KexProposalOption in org.apache.sshd.common.kex
Fields in org.apache.sshd.common.kex with type parameters of type KexProposalOptionModifier and TypeFieldDescriptionstatic final Comparator<KexProposalOption>
KexProposalOption.BY_PROPOSAL_INDEX
Compares values according togetProposalIndex()
static final Set<KexProposalOption>
KexProposalOption.CIPHER_PROPOSALS
static final Set<KexProposalOption>
KexProposalOption.COMPRESSION_PROPOSALS
static final Set<KexProposalOption>
KexProposalOption.FIRST_KEX_PACKET_GUESS_MATCHES
static final Set<KexProposalOption>
KexProposalOption.LANGUAGE_PROPOSALS
static final Set<KexProposalOption>
KexProposalOption.MAC_PROPOSALS
static final List<KexProposalOption>
KexProposalOption.VALUES
AList
of all the options sorted according togetProposalIndex()
Methods in org.apache.sshd.common.kex that return KexProposalOptionModifier and TypeMethodDescriptionstatic KexProposalOption
static KexProposalOption
KexProposalOption.fromProposalIndex
(int index) static KexProposalOption
Returns the enum constant of this type with the specified name.static KexProposalOption[]
KexProposalOption.values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of KexProposalOption in org.apache.sshd.common.kex.extension
Methods in org.apache.sshd.common.kex.extension with parameters of type KexProposalOptionModifier and TypeMethodDescriptiondefault void
KexExtensionHandler.handleKexExtensionNegotiation
(Session session, KexProposalOption option, String nValue, Map<KexProposalOption, String> c2sOptions, String cValue, Map<KexProposalOption, String> s2cOptions, String sValue) Invoked during the KEX negotiation phase to inform about option being negotiated.Method parameters in org.apache.sshd.common.kex.extension with type arguments of type KexProposalOptionModifier and TypeMethodDescriptiondefault void
KexExtensionHandler.handleKexExtensionNegotiation
(Session session, KexProposalOption option, String nValue, Map<KexProposalOption, String> c2sOptions, String cValue, Map<KexProposalOption, String> s2cOptions, String sValue) Invoked during the KEX negotiation phase to inform about option being negotiated.void
DefaultServerKexExtensionHandler.handleKexInitProposal
(Session session, boolean initiator, Map<KexProposalOption, String> proposal) default void
KexExtensionHandler.handleKexInitProposal
(Session session, boolean initiator, Map<KexProposalOption, String> proposal) Invoked when a peer is ready to send the KEX options proposal or has received such a proposal. -
Uses of KexProposalOption in org.apache.sshd.common.session
Methods in org.apache.sshd.common.session that return types with arguments of type KexProposalOptionModifier and TypeMethodDescriptionSessionContext.getClientKexProposals()
SessionContext.getKexNegotiationResult()
SessionContext.getServerKexProposals()
Methods in org.apache.sshd.common.session with parameters of type KexProposalOptionModifier and TypeMethodDescriptionSessionContext.getNegotiatedKexParameter
(KexProposalOption paramType) Retrieve one of the negotiated values during the KEX stagedefault boolean
SessionDisconnectHandler.handleKexDisconnectReason
(Session session, Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions, Map<KexProposalOption, String> negotiatedGuess, KexProposalOption option) Invoked if after KEX negotiation parameters resolved one of the options violates some internal constraint (e.g., cannot negotiate a value, or RFC 8308 - section 2.2).Method parameters in org.apache.sshd.common.session with type arguments of type KexProposalOptionModifier and TypeMethodDescriptiondefault boolean
SessionDisconnectHandler.handleKexDisconnectReason
(Session session, Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions, Map<KexProposalOption, String> negotiatedGuess, KexProposalOption option) Invoked if after KEX negotiation parameters resolved one of the options violates some internal constraint (e.g., cannot negotiate a value, or RFC 8308 - section 2.2).default IoWriteFuture
ReservedSessionMessagesHandler.sendKexInitRequest
(Session session, Map<KexProposalOption, String> proposal, Buffer packet) Invoked before sending theSSH_MSG_KEXINIT
packetdefault void
SessionListener.sessionNegotiationEnd
(Session session, Map<KexProposalOption, String> clientProposal, Map<KexProposalOption, String> serverProposal, Map<KexProposalOption, String> negotiatedOptions, Throwable reason) Signals the end of the negotiation options handlingdefault void
SessionListener.sessionNegotiationOptionsCreated
(Session session, Map<KexProposalOption, String> proposal) default void
SessionListener.sessionNegotiationStart
(Session session, Map<KexProposalOption, String> clientProposal, Map<KexProposalOption, String> serverProposal) Signals the start of the negotiation options handling -
Uses of KexProposalOption in org.apache.sshd.common.session.helpers
Fields in org.apache.sshd.common.session.helpers with type parameters of type KexProposalOptionModifier and TypeFieldDescriptionprotected final Map<KexProposalOption,
String> AbstractSession.clientProposal
protected Map<KexProposalOption,
String> SessionHelper.initialKexProposal
Stores the initial KEX proposal after it has been run through the hooks allowing client code to modify it; seeSessionHelper.getKexProposal()
.protected final Map<KexProposalOption,
String> AbstractSession.negotiationResult
protected final Map<KexProposalOption,
String> AbstractSession.serverProposal
protected final Map<KexProposalOption,
String> AbstractSession.unmodClientProposal
protected final Map<KexProposalOption,
String> AbstractSession.unmodNegotiationResult
protected final Map<KexProposalOption,
String> AbstractSession.unmodServerProposal
Methods in org.apache.sshd.common.session.helpers that return types with arguments of type KexProposalOptionModifier and TypeMethodDescriptionprotected Map<KexProposalOption,
String> SessionHelper.createProposal
(String hostKeyTypes) Create our proposal for SSH negotiationAbstractSession.getClientKexProposals()
AbstractSession.getKexNegotiationResult()
protected Map<KexProposalOption,
String> SessionHelper.getKexProposal()
Retrieves this side's initial proposal for KEX negotiation.AbstractSession.getServerKexProposals()
protected Map<KexProposalOption,
String> SessionHelper.mergeProposals
(Map<KexProposalOption, String> current, Map<KexProposalOption, String> proposal) protected Map<KexProposalOption,
String> AbstractSession.negotiate()
Compute the negotiated proposals by merging the client and server proposal.protected Map<KexProposalOption,
String> AbstractSession.setNegotiationResult
(Map<KexProposalOption, String> guess) Methods in org.apache.sshd.common.session.helpers with parameters of type KexProposalOptionModifier and TypeMethodDescriptionAbstractSession.comparePreferredKexProposalOption
(KexProposalOption option) Compares the specifiedKexProposalOption
option value for client vs.AbstractSession.getNegotiatedKexParameter
(KexProposalOption paramType) Method parameters in org.apache.sshd.common.session.helpers with type arguments of type KexProposalOptionModifier and TypeMethodDescriptionprotected Map<KexProposalOption,
String> SessionHelper.mergeProposals
(Map<KexProposalOption, String> current, Map<KexProposalOption, String> proposal) protected abstract void
AbstractSession.receiveKexInit
(Map<KexProposalOption, String> proposal, byte[] seed) protected byte[]
AbstractSession.receiveKexInit
(Buffer buffer, Map<KexProposalOption, String> proposal) Receive the remote key exchange init message.protected byte[]
AbstractSession.sendKexInit
(Map<KexProposalOption, String> proposal) Send the key exchange initialization packet.protected Map<KexProposalOption,
String> AbstractSession.setNegotiationResult
(Map<KexProposalOption, String> guess) protected void
SessionHelper.signalNegotiationEnd
(Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions, Map<KexProposalOption, String> negotiatedGuess, Throwable reason) protected void
SessionHelper.signalNegotiationEnd
(SessionListener listener, Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions, Map<KexProposalOption, String> negotiatedGuess, Throwable reason) protected void
SessionHelper.signalNegotiationOptionsCreated
(Map<KexProposalOption, String> proposal) protected void
SessionHelper.signalNegotiationOptionsCreated
(SessionListener listener, Map<KexProposalOption, String> proposal) protected void
SessionHelper.signalNegotiationStart
(Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions) protected void
SessionHelper.signalNegotiationStart
(SessionListener listener, Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions) -
Uses of KexProposalOption in org.apache.sshd.server.session
Method parameters in org.apache.sshd.server.session with type arguments of type KexProposalOptionModifier and TypeMethodDescriptionprotected void
AbstractServerSession.receiveKexInit
(Map<KexProposalOption, String> proposal, byte[] seed) protected byte[]
AbstractServerSession.sendKexInit
(Map<KexProposalOption, String> proposal)