class SessionKeyAndNonce extends SessionKey
INVALID_KEY, KEYSIZE_BYTES
_data
Constructor and Description |
---|
SessionKeyAndNonce(byte[] data,
int nonce)
For Existing Session
|
SessionKeyAndNonce(HandshakeState state)
For New Session Replies
|
Modifier and Type | Method and Description |
---|---|
HandshakeState |
getHandshakeState()
For inbound NSR only, else null.
|
int |
getNonce()
For ES, else 0
|
String |
toString() |
getPreparedKey, length, setData, setPreparedKey
calculateHash, equals, fromBase64, fromByteArray, getData, hashCode, readBytes, toBase64, toByteArray, writeBytes
read
public SessionKeyAndNonce(byte[] data, int nonce)
public SessionKeyAndNonce(HandshakeState state)
public int getNonce()
public HandshakeState getHandshakeState()
public String toString()
toString
in class SimpleDataStructure