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 voidAbstractClientSession.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_INDEXCompares values according togetProposalIndex()static final Set<KexProposalOption> KexProposalOption.CIPHER_PROPOSALSstatic final Set<KexProposalOption> KexProposalOption.COMPRESSION_PROPOSALSstatic final Set<KexProposalOption> KexProposalOption.FIRST_KEX_PACKET_GUESS_MATCHESstatic final Set<KexProposalOption> KexProposalOption.LANGUAGE_PROPOSALSstatic final Set<KexProposalOption> KexProposalOption.MAC_PROPOSALSstatic final List<KexProposalOption> KexProposalOption.VALUESAListof all the options sorted according togetProposalIndex()Methods in org.apache.sshd.common.kex that return KexProposalOptionModifier and TypeMethodDescriptionstatic KexProposalOptionstatic KexProposalOptionKexProposalOption.fromProposalIndex(int index) static KexProposalOptionReturns 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 voidKexExtensionHandler.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 voidKexExtensionHandler.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.voidDefaultServerKexExtensionHandler.handleKexInitProposal(Session session, boolean initiator, Map<KexProposalOption, String> proposal) default voidKexExtensionHandler.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 booleanSessionDisconnectHandler.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 booleanSessionDisconnectHandler.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 IoWriteFutureReservedSessionMessagesHandler.sendKexInitRequest(Session session, Map<KexProposalOption, String> proposal, Buffer packet) Invoked before sending theSSH_MSG_KEXINITpacketdefault voidSessionListener.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 voidSessionListener.sessionNegotiationOptionsCreated(Session session, Map<KexProposalOption, String> proposal) default voidSessionListener.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.clientProposalprotected Map<KexProposalOption, String> SessionHelper.initialKexProposalStores 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.negotiationResultprotected final Map<KexProposalOption, String> AbstractSession.serverProposalprotected final Map<KexProposalOption, String> AbstractSession.unmodClientProposalprotected final Map<KexProposalOption, String> AbstractSession.unmodNegotiationResultprotected final Map<KexProposalOption, String> AbstractSession.unmodServerProposalMethods 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 negotiationprotected Map<KexProposalOption, String> AbstractSession.doStrictKexProposal(Map<KexProposalOption, String> proposal) AbstractSession.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 specifiedKexProposalOptionoption value for client vs.AbstractSession.getNegotiatedKexParameter(KexProposalOption paramType) protected booleanAbstractSession.removeValue(Map<KexProposalOption, String> options, KexProposalOption option, String toRemove) Given a KEX proposal and aKexProposalOption, removes all occurrences of a value from a comma-separated value list.Method parameters in org.apache.sshd.common.session.helpers with type arguments of type KexProposalOptionModifier and TypeMethodDescriptionprotected Map<KexProposalOption, String> AbstractSession.doStrictKexProposal(Map<KexProposalOption, String> proposal) protected Map<KexProposalOption, String> SessionHelper.mergeProposals(Map<KexProposalOption, String> current, Map<KexProposalOption, String> proposal) protected abstract voidAbstractSession.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 booleanAbstractSession.removeValue(Map<KexProposalOption, String> options, KexProposalOption option, String toRemove) Given a KEX proposal and aKexProposalOption, removes all occurrences of a value from a comma-separated value list.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 voidSessionHelper.signalNegotiationEnd(Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions, Map<KexProposalOption, String> negotiatedGuess, Throwable reason) protected voidSessionHelper.signalNegotiationEnd(SessionListener listener, Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions, Map<KexProposalOption, String> negotiatedGuess, Throwable reason) protected voidSessionHelper.signalNegotiationOptionsCreated(Map<KexProposalOption, String> proposal) protected voidSessionHelper.signalNegotiationOptionsCreated(SessionListener listener, Map<KexProposalOption, String> proposal) protected voidSessionHelper.signalNegotiationStart(Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions) protected voidSessionHelper.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 voidAbstractServerSession.receiveKexInit(Map<KexProposalOption, String> proposal, byte[] seed) protected byte[]AbstractServerSession.sendKexInit(Map<KexProposalOption, String> proposal)