public abstract class AbstractDHServerKeyExchange extends AbstractDHKeyExchange implements ServerSessionHolder
e, f, h, hash, i_c, i_s, k, v_c, v_slogGROUP_KEX_OPCODES_MAP, SIMPLE_KEX_OPCODES_MAPBY_NAME_COMPARATOR, NAME_EXTRACTOR| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDHServerKeyExchange() |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
getServerKey()
Retrieves the server's key
|
ServerSession |
getServerSession() |
void |
init(Session s,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c)
Initialize the key exchange algorithm.
|
getH, getHash, getK, getSession, toStringgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGroupKexOpcodeName, getSimpleKexOpcodeName, nextfindByName, getName, getNameList, getNames, removeByNamepublic final ServerSession getServerSession()
getServerSession in interface ServerSessionHolderServerSession usedpublic void init(Session 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 initialization packeti_c - the client key initialization packetException - if an error occurspublic PublicKey getServerKey()
KeyExchangegetServerKey in interface KeyExchangePublicKeyCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.