java.lang.Object
it.auties.whatsapp.model.signal.session.SessionChain
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSessionChain
(int counter, byte[] key, @NonNull ConcurrentHashMap<Integer, byte[]> messageKeys) SessionChain
(int counter, byte @NonNull [] key) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
int
counter()
counter
(int counter) boolean
int
hashCode()
boolean
hasMessageKey
(int counter) void
byte[]
key()
key
(byte[] key) @NonNull ConcurrentHashMap<Integer,
byte[]> messageKeys
(@NonNull ConcurrentHashMap<Integer, byte[]> messageKeys) toString()
-
Constructor Details
-
SessionChain
public SessionChain(int counter, byte @NonNull [] key) -
SessionChain
public SessionChain(int counter, byte[] key, @NonNull @NonNull ConcurrentHashMap<Integer, byte[]> messageKeys)
-
-
Method Details
-
hasMessageKey
public boolean hasMessageKey(int counter) -
incrementCounter
public void incrementCounter() -
builder
-
counter
public int counter() -
key
public byte[] key() -
messageKeys
-
counter
- Returns:
this
.
-
key
- Returns:
this
.
-
messageKeys
- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-