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 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 KexProposalOption Modifier and Type Field Description static Comparator<KexProposalOption>
KexProposalOption. BY_PROPOSAL_INDEX
Compares values according togetProposalIndex()
static Set<KexProposalOption>
KexProposalOption. CIPHER_PROPOSALS
static Set<KexProposalOption>
KexProposalOption. COMPRESSION_PROPOSALS
static Set<KexProposalOption>
KexProposalOption. FIRST_KEX_PACKET_GUESS_MATCHES
static Set<KexProposalOption>
KexProposalOption. LANGUAGE_PROPOSALS
static Set<KexProposalOption>
KexProposalOption. MAC_PROPOSALS
static List<KexProposalOption>
KexProposalOption. VALUES
AList
of all the options sorted according togetProposalIndex()
Methods in org.apache.sshd.common.kex that return KexProposalOption Modifier and Type Method Description static KexProposalOption
KexProposalOption. fromName(String n)
static KexProposalOption
KexProposalOption. fromProposalIndex(int index)
static KexProposalOption
KexProposalOption. 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 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 KexProposalOption Modifier and Type Method Description default 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
DefaultClientKexExtensionHandler. 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 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 String
SessionContext. 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 KexProposalOption Modifier and Type Method Description default 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 KexProposalOption Modifier and Type Field Description protected Map<KexProposalOption,String>
AbstractSession. clientProposal
protected Map<KexProposalOption,String>
AbstractSession. negotiationResult
protected Map<KexProposalOption,String>
AbstractSession. serverProposal
protected Map<KexProposalOption,String>
AbstractSession. unmodClientProposal
protected Map<KexProposalOption,String>
AbstractSession. unmodNegotiationResult
protected Map<KexProposalOption,String>
AbstractSession. unmodServerProposal
Methods 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 specifiedKexProposalOption
option value for client vs.String
AbstractSession. 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 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 KexProposalOption Modifier and Type Method Description protected void
AbstractServerSession. receiveKexInit(Map<KexProposalOption,String> proposal, byte[] seed)
protected byte[]
AbstractServerSession. sendKexInit(Map<KexProposalOption,String> proposal)
-