Package net.i2p.router.crypto.ratchet
Class RatchetPayload.NextKeyBlock
- java.lang.Object
- 
- net.i2p.router.crypto.ratchet.RatchetPayload.Block
- 
- net.i2p.router.crypto.ratchet.RatchetPayload.NextKeyBlock
 
 
- 
- Enclosing class:
- RatchetPayload
 
 public static class RatchetPayload.NextKeyBlock extends RatchetPayload.Block 
- 
- 
Constructor SummaryConstructors Constructor Description NextKeyBlock(NextSessionKey nextKey)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDataLength()intwriteData(byte[] tgt, int off)- 
Methods inherited from class net.i2p.router.crypto.ratchet.RatchetPayload.BlockgetTotalLength, toString, write
 
- 
 
- 
- 
- 
Constructor Detail- 
NextKeyBlockpublic NextKeyBlock(NextSessionKey nextKey) 
 
- 
 - 
Method Detail- 
getDataLengthpublic int getDataLength() - Specified by:
- getDataLengthin class- RatchetPayload.Block
- Returns:
- the size of the block, NOT including the 3 byte header (type and size)
 
 - 
writeDatapublic int writeData(byte[] tgt, int off)- Specified by:
- writeDatain class- RatchetPayload.Block
- Returns:
- new offset
 
 
- 
 
-