public interface KeyExchange
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getH()
Retrieves the computed
h parameter |
Digest |
getHash()
The message digest used by this key exchange algorithm.
|
byte[] |
getK()
Retrieves the computed k parameter
|
PublicKey |
getServerKey()
Retrieves the server's key
|
void |
init(AbstractSession session,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c)
Initialize the key exchange algorithm.
|
boolean |
next(Buffer buffer)
Process the next packet
|
void init(AbstractSession session, byte[] v_s, byte[] v_c, byte[] i_s, byte[] i_c) throws Exception
session - the session using this algorithmv_s - the server identification stringv_c - the client identification stringi_s - the server key init packeti_c - the client key init packetException - if an error occursboolean next(Buffer buffer) throws Exception
buffer - the packetException - if an error occursDigest getHash()
byte[] getH()
h parameterh parameterbyte[] getK()
k parameterCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.