|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sshtools.j2ssh.transport.kex.SshKeyExchange
com.sshtools.j2ssh.transport.kex.DhGroup1Sha1
DOCUMENT ME!
Field Summary |
Fields inherited from class com.sshtools.j2ssh.transport.kex.SshKeyExchange |
exchangeHash, hostKey, messageStore, secret, signature, transport |
Constructor Summary | |
DhGroup1Sha1()
Creates a new DhGroup1Sha1 object. |
Method Summary | |
protected void |
calculateExchangeHash()
DOCUMENT ME! |
protected void |
onInit()
DOCUMENT ME! |
void |
performClientExchange(java.lang.String clientId,
java.lang.String serverId,
byte[] clientKexInit,
byte[] serverKexInit)
DOCUMENT ME! |
void |
performServerExchange(java.lang.String clientId,
java.lang.String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvKey)
DOCUMENT ME! |
Methods inherited from class com.sshtools.j2ssh.transport.kex.SshKeyExchange |
getExchangeHash, getHostKey, getSecret, getSignature, init, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DhGroup1Sha1()
Method Detail |
protected void onInit() throws java.io.IOException
onInit
in class SshKeyExchange
java.io.IOException
- DOCUMENT ME!
AlgorithmNotSupportedException
- DOCUMENT ME!public void performClientExchange(java.lang.String clientId, java.lang.String serverId, byte[] clientKexInit, byte[] serverKexInit) throws java.io.IOException
performClientExchange
in class SshKeyExchange
clientId
- DOCUMENT ME!serverId
- DOCUMENT ME!clientKexInit
- DOCUMENT ME!serverKexInit
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!
AlgorithmOperationException
- DOCUMENT ME!
KeyExchangeException
- DOCUMENT ME!public void performServerExchange(java.lang.String clientId, java.lang.String serverId, byte[] clientKexInit, byte[] serverKexInit, SshPrivateKey prvKey) throws java.io.IOException
performServerExchange
in class SshKeyExchange
clientId
- DOCUMENT ME!serverId
- DOCUMENT ME!clientKexInit
- DOCUMENT ME!serverKexInit
- DOCUMENT ME!prvKey
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!
KeyExchangeException
- DOCUMENT ME!protected void calculateExchangeHash() throws KeyExchangeException
KeyExchangeException
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |