public class ChatSession extends java.lang.Object implements StorableObject
Constructor and Description |
---|
ChatSession(java.util.UUID uuid,
java.security.PrivateKey privateKey,
ProfileKey profileKey) |
Modifier and Type | Method and Description |
---|---|
ProfileKey |
getProfileKey() |
java.util.UUID |
getUuid() |
byte[] |
sign(java.util.function.Consumer<DataConsumer> dataConsumer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearOnServerSwitch, onRemove
public ChatSession(java.util.UUID uuid, java.security.PrivateKey privateKey, ProfileKey profileKey)
public java.util.UUID getUuid()
public ProfileKey getProfileKey()
public byte[] sign(java.util.function.Consumer<DataConsumer> dataConsumer) throws java.security.SignatureException
java.security.SignatureException