Package net.schmizz.sshj.transport
Class Proposal
java.lang.Object
net.schmizz.sshj.transport.Proposal
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilterKnownHostKeyAlgorithms
(List<String> configuredKeyAlgorithms, List<String> knownHostKeyAlgorithms) private static String
boolean
private static String
toCommaString
(List<String> sl)
-
Field Details
-
kex
-
sig
-
c2sCipher
-
s2cCipher
-
c2sMAC
-
s2cMAC
-
c2sComp
-
s2cComp
-
packet
-
-
Constructor Details
-
Proposal
-
Proposal
- Throws:
TransportException
-
-
Method Details
-
getKeyExchangeAlgorithms
-
isStrictKeyExchangeSupportedByServer
public boolean isStrictKeyExchangeSupportedByServer() -
getHostKeyAlgorithms
-
getClient2ServerCipherAlgorithms
-
getServer2ClientCipherAlgorithms
-
getClient2ServerMACAlgorithms
-
getServer2ClientMACAlgorithms
-
getClient2ServerCompressionAlgorithms
-
getServer2ClientCompressionAlgorithms
-
getPacket
-
negotiate
- Throws:
TransportException
-
filterKnownHostKeyAlgorithms
-
firstMatch
private static String firstMatch(String ofWhat, List<String> a, List<String> b) throws TransportException - Throws:
TransportException
-
toCommaString
-
fromCommaString
-