public abstract class AbstractDHServerKeyExchange extends AbstractDHKeyExchange
| Modifier and Type | Field and Description |
|---|---|
protected ServerSession |
session |
e, f, h, hash, i_c, i_s, k, v_c, v_slog| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDHServerKeyExchange() |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
getServerKey()
Retrieves the server's key
|
void |
init(AbstractSession s,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c)
Initialize the key exchange algorithm.
|
getH, getHash, getK, getSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextprotected ServerSession session
public void init(AbstractSession s, byte[] v_s, byte[] v_c, byte[] i_s, byte[] i_c) throws Exception
KeyExchangeinit in interface KeyExchangeinit in class AbstractDHKeyExchanges - 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 occurspublic PublicKey getServerKey()
KeyExchangePublicKeyCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.