Uses of Class
org.apache.sshd.common.kex.KexProposalOption
-
-
Uses of KexProposalOption in org.apache.sshd.client.session
Method parameters in org.apache.sshd.client.session with type arguments of type KexProposalOption Modifier and Type Method Description protected 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 KexProposalOption Modifier and Type Field Description static Comparator<KexProposalOption>KexProposalOption. BY_PROPOSAL_INDEXCompares values according togetProposalIndex()static Set<KexProposalOption>KexProposalOption. CIPHER_PROPOSALSstatic Set<KexProposalOption>KexProposalOption. COMPRESSION_PROPOSALSstatic Set<KexProposalOption>KexProposalOption. FIRST_KEX_PACKET_GUESS_MATCHESstatic Set<KexProposalOption>KexProposalOption. LANGUAGE_PROPOSALSstatic Set<KexProposalOption>KexProposalOption. MAC_PROPOSALSstatic List<KexProposalOption>KexProposalOption. VALUESAListof all the options sorted according togetProposalIndex()Methods in org.apache.sshd.common.kex that return KexProposalOption Modifier and Type Method Description static KexProposalOptionKexProposalOption. fromName(String n)static KexProposalOptionKexProposalOption. fromProposalIndex(int index)static KexProposalOptionKexProposalOption. valueOf(String name)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 KexProposalOption Modifier and Type Method Description default 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 KexProposalOption Modifier and Type Method Description default 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.voidDefaultClientKexExtensionHandler. 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 KexProposalOption Modifier and Type Method Description Map<KexProposalOption,String>SessionContext. getClientKexProposals()Map<KexProposalOption,String>SessionContext. getKexNegotiationResult()Map<KexProposalOption,String>SessionContext. getServerKexProposals()Methods in org.apache.sshd.common.session with parameters of type KexProposalOption Modifier and Type Method Description StringSessionContext. 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 KexProposalOption Modifier and Type Method Description default 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 KexProposalOption Modifier and Type Field Description protected Map<KexProposalOption,String>AbstractSession. clientProposalprotected Map<KexProposalOption,String>AbstractSession. negotiationResultprotected Map<KexProposalOption,String>AbstractSession. serverProposalprotected Map<KexProposalOption,String>AbstractSession. unmodClientProposalprotected Map<KexProposalOption,String>AbstractSession. unmodNegotiationResultprotected Map<KexProposalOption,String>AbstractSession. unmodServerProposalMethods in org.apache.sshd.common.session.helpers that return types with arguments of type KexProposalOption Modifier and Type Method Description protected Map<KexProposalOption,String>SessionHelper. createProposal(String hostKeyTypes)Create our proposal for SSH negotiationMap<KexProposalOption,String>AbstractSession. getClientKexProposals()Map<KexProposalOption,String>AbstractSession. getKexNegotiationResult()Map<KexProposalOption,String>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 KexProposalOption Modifier and Type Method Description protected Map.Entry<String,String>AbstractSession. comparePreferredKexProposalOption(KexProposalOption option)Compares the specifiedKexProposalOptionoption value for client vs.StringAbstractSession. getNegotiatedKexParameter(KexProposalOption paramType)Method parameters in org.apache.sshd.common.session.helpers with type arguments of type KexProposalOption Modifier and Type Method Description 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 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 KexProposalOption Modifier and Type Method Description protected voidAbstractServerSession. receiveKexInit(Map<KexProposalOption,String> proposal, byte[] seed)protected byte[]AbstractServerSession. sendKexInit(Map<KexProposalOption,String> proposal)
-