Class GroupCipher


  • public class GroupCipher
    extends java.lang.Object
    The main entry point for Signal Protocol group encrypt/decrypt operations. Once a session has been established with GroupSessionBuilder and a SenderKeyDistributionMessage has been distributed to each member of the group, this class can be used for all subsequent encrypt/decrypt operations within that session (ie: until group membership changes). This class is not thread-safe.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] decrypt​(byte[] senderKeyMessageBytes)
      Decrypt a SenderKey group message.
      CiphertextMessage encrypt​(java.util.UUID distributionId, byte[] paddedPlaintext)
      Encrypt a message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait