Package | Description |
---|---|
org.apache.sshd.client.session | |
org.apache.sshd.common.kex | |
org.apache.sshd.common.session | |
org.apache.sshd.server.session |
Modifier and Type | Method and Description |
---|---|
protected void |
ClientSessionImpl.receiveKexInit(Map<KexProposalOption,String> proposal,
byte[] seed) |
protected byte[] |
ClientSessionImpl.sendKexInit(Map<KexProposalOption,String> proposal) |
Modifier and Type | Field and Description |
---|---|
static Comparator<KexProposalOption> |
KexProposalOption.BY_PROPOSAL_INDEX
Compares values according to
getProposalIndex() |
static List<KexProposalOption> |
KexProposalOption.VALUES
A
List of all the options sorted according to getProposalIndex() |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected Map<KexProposalOption,String> |
AbstractSession.clientProposal |
protected Map<KexProposalOption,String> |
AbstractSession.negotiationResult |
protected Map<KexProposalOption,String> |
AbstractSession.serverProposal |
Modifier and Type | Method and Description |
---|---|
protected Map<KexProposalOption,String> |
AbstractSession.createProposal(String hostKeyTypes)
Create our proposal for SSH negotiation
|
protected Map<KexProposalOption,String> |
AbstractSession.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) |
Modifier and Type | Method and Description |
---|---|
protected Pair<String,String> |
AbstractSession.comparePreferredKexProposalOption(KexProposalOption option) |
String |
Session.getNegotiatedKexParameter(KexProposalOption paramType)
Retrieve one of the negotiated values during the KEX stage
|
String |
AbstractSession.getNegotiatedKexParameter(KexProposalOption paramType) |
Modifier and Type | Method and Description |
---|---|
protected Map<KexProposalOption,String> |
AbstractSession.mergeProposals(Map<KexProposalOption,String> current,
Map<KexProposalOption,String> proposal) |
protected Map<KexProposalOption,String> |
AbstractSession.mergeProposals(Map<KexProposalOption,String> current,
Map<KexProposalOption,String> proposal) |
protected byte[] |
AbstractSession.receiveKexInit(Buffer buffer,
Map<KexProposalOption,String> proposal)
Receive the remote key exchange init message.
|
protected abstract void |
AbstractSession.receiveKexInit(Map<KexProposalOption,String> proposal,
byte[] seed) |
protected byte[] |
AbstractSession.sendKexInit(Map<KexProposalOption,String> proposal)
Send the key exchange initialization packet.
|
protected Map<KexProposalOption,String> |
AbstractSession.setNegotiationResult(Map<KexProposalOption,String> guess) |
Modifier and Type | Method and Description |
---|---|
protected void |
ServerSessionImpl.receiveKexInit(Map<KexProposalOption,String> proposal,
byte[] seed) |
protected byte[] |
ServerSessionImpl.sendKexInit(Map<KexProposalOption,String> proposal) |
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.