|
||||||||||
| 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()
Retrieves the computed H parameter |
Digest |
getHash()
The message digest used by this key exchange algorithm. |
byte[] |
getK()
Retrieves the computed K parameter |
java.security.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 |
| Method Detail |
|---|
void init(AbstractSession session,
byte[] V_S,
byte[] V_C,
byte[] I_S,
byte[] I_C)
throws java.lang.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 packet
java.lang.Exception - if an error occurs
boolean next(Buffer buffer)
throws java.lang.Exception
buffer - the packet
java.lang.Exception - if an error occursDigest getHash()
byte[] getH()
byte[] getK()
java.security.PublicKey getServerKey()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||