public interface SshKeyExchange<T extends SshContext>
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
byte[] |
getExchangeHash() |
String |
getHashAlgorithm() |
BigInteger |
getSecret() |
boolean |
hasReceivedNewKeys() |
boolean |
hasSentNewKeys() |
void |
init(TransportProtocol<T> transport,
String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
boolean |
processMessage(byte[] msg) |
void |
setReceivedNewKeys(boolean b) |
void |
setSentNewKeys(boolean b) |
void |
test() |
String getHashAlgorithm()
void test() throws IOException, SshException
IOException
SshException
void init(TransportProtocol<T> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, SshPrivateKey prvkey, SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) throws IOException, SshException
IOException
SshException
void setReceivedNewKeys(boolean b)
boolean processMessage(byte[] msg) throws SshException, IOException
SshException
IOException
void setSentNewKeys(boolean b)
byte[] getExchangeHash()
boolean hasReceivedNewKeys()
boolean hasSentNewKeys()
BigInteger getSecret()
String getAlgorithm()
Copyright © 2016. All rights reserved.