class SessionKeyAndNonce
extends net.i2p.data.SessionKey
| Constructor and Description |
|---|
SessionKeyAndNonce(byte[] data,
int nonce)
For outbound Existing Session
|
SessionKeyAndNonce(byte[] data,
int id,
int nonce,
net.i2p.data.PublicKey remoteKey)
For inbound Existing Session
|
SessionKeyAndNonce(HandshakeState state)
For New Session Replies
|
| Modifier and Type | Method and Description |
|---|---|
HandshakeState |
getHandshakeState()
For inbound NSR only, else null.
|
int |
getID()
For inbound ES, else 0
|
int |
getNonce()
For ES, else 0
|
net.i2p.data.PublicKey |
getRemoteKey()
For inbound ES, else null.
|
String |
toString() |
getPreparedKey, length, setData, setPreparedKeypublic SessionKeyAndNonce(byte[] data,
int nonce)
public SessionKeyAndNonce(byte[] data,
int id,
int nonce,
net.i2p.data.PublicKey remoteKey)
public SessionKeyAndNonce(HandshakeState state)
public int getNonce()
public int getID()
public net.i2p.data.PublicKey getRemoteKey()
public HandshakeState getHandshakeState()
public String toString()
toString in class net.i2p.data.SimpleDataStructure