Package org.activecomponents.udp
Class SymCipherSuite
- java.lang.Object
- 
- org.activecomponents.udp.SymCipherSuite
 
- 
 public class SymCipherSuite extends java.lang.ObjectClass containing a symmetric cipher and associated security data.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.concurrent.atomic.AtomicLongmessageidcounterCounters for message IDs.protected java.util.concurrent.atomic.AtomicLongpacketidcounterCounters for packet IDs, must be greater than Long.MIN_VALUE to allow replay identification to work.protected IdReplayTrackerpacketidreplaytrackerTracker for identifying packet replaysprotected ISymCiphersymcipherThe symmetric cipher.
 - 
Constructor SummaryConstructors Constructor Description SymCipherSuite(ISymCipher symcipher)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.atomic.AtomicLonggetMessageidcounter()Gets the message ID counter.java.util.concurrent.atomic.AtomicLonggetPacketidcounter()Gets the packet ID counter.IdReplayTrackergetPacketIdReplayTracker()Returns Packet ID tracker for identifying replay attacks.ISymCiphergetSymCipher()Gets the symmetric cipher.
 
- 
- 
- 
Field Detail- 
packetidcounterprotected java.util.concurrent.atomic.AtomicLong packetidcounter Counters for packet IDs, must be greater than Long.MIN_VALUE to allow replay identification to work.
 - 
messageidcounterprotected java.util.concurrent.atomic.AtomicLong messageidcounter Counters for message IDs.
 - 
packetidreplaytrackerprotected IdReplayTracker packetidreplaytracker Tracker for identifying packet replays
 - 
symcipherprotected ISymCipher symcipher The symmetric cipher.
 
- 
 - 
Constructor Detail- 
SymCipherSuitepublic SymCipherSuite(ISymCipher symcipher) 
 
- 
 - 
Method Detail- 
getPacketidcounterpublic java.util.concurrent.atomic.AtomicLong getPacketidcounter() Gets the packet ID counter.- Returns:
- The packet ID counter.
 
 - 
getMessageidcounterpublic java.util.concurrent.atomic.AtomicLong getMessageidcounter() Gets the message ID counter.- Returns:
- The message ID counter.
 
 - 
getPacketIdReplayTrackerpublic IdReplayTracker getPacketIdReplayTracker() Returns Packet ID tracker for identifying replay attacks.- Returns:
- Packet ID tracker.
 
 - 
getSymCipherpublic ISymCipher getSymCipher() Gets the symmetric cipher.- Returns:
- The symmetric cipher.
 
 
- 
 
-