|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyExchange
Key exchange algorithm.
Method Summary | |
---|---|
byte[] |
getH()
|
Digest |
getHash()
The message digest used by this key exchange algorithm. |
PublicKey |
getHostKey()
|
BigInteger |
getK()
|
void |
init(Transport trans,
String V_S,
String V_C,
byte[] I_S,
byte[] I_C)
Initialize the key exchange algorithm. |
boolean |
next(Message msg,
SSHPacket buffer)
Process the next packet |
Method Detail |
---|
void init(Transport trans, String V_S, String V_C, byte[] I_S, byte[] I_C) throws GeneralSecurityException, TransportException
trans
- the transportV_S
- the server identification stringV_C
- the client identification stringI_S
- the server key init packetI_C
- the client key init packet
GeneralSecurityException
TransportException
- if there is an error sending a packetbyte[] getH()
BigInteger getK()
Digest getHash()
PublicKey getHostKey()
boolean next(Message msg, SSHPacket buffer) throws GeneralSecurityException, TransportException
msg
- message identifierbuffer
- the packet
GeneralSecurityException
TransportException
- if there is an error sending a packet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |