Package net.i2p.router.crypto.ratchet
Class NextSessionKey
- java.lang.Object
-
- net.i2p.data.DataStructureImpl
-
- net.i2p.data.SimpleDataStructure
-
- net.i2p.data.SessionKey
-
- net.i2p.router.crypto.ratchet.NextSessionKey
-
- All Implemented Interfaces:
Serializable
,DataStructure
class NextSessionKey extends SessionKey
A session key and key ID.- Since:
- 0.9.44
-
-
Field Summary
-
Fields inherited from class net.i2p.data.SessionKey
INVALID_KEY, KEYSIZE_BYTES
-
Fields inherited from class net.i2p.data.SimpleDataStructure
_data
-
-
Constructor Summary
Constructors Constructor Description NextSessionKey(byte[] data, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getID()
String
toString()
-
Methods inherited from class net.i2p.data.SessionKey
getPreparedKey, length, setData, setPreparedKey
-
Methods inherited from class net.i2p.data.SimpleDataStructure
calculateHash, equals, fromBase64, fromByteArray, getData, hashCode, readBytes, toBase64, toByteArray, writeBytes
-
Methods inherited from class net.i2p.data.DataStructureImpl
read
-
-
-
-
Method Detail
-
getID
public int getID()
-
toString
public String toString()
- Overrides:
toString
in classSimpleDataStructure
-
-