Class OmemoMessage

java.lang.Object
org.jivesoftware.smackx.omemo.OmemoMessage
Direct Known Subclasses:
OmemoMessage.Received, OmemoMessage.Sent

public class OmemoMessage extends Object
  • Method Details

    • getElement

      Return the original OmemoElement (<encrypted/>).
      Returns:
      omemoElement of the message
    • getKey

      public byte[] getKey()
      Return the messageKey (or transported key in case of a KeyTransportMessage).
      Returns:
      encryption key that protects the message payload
    • getIv

      public byte[] getIv()
      Return the initialization vector belonging to the key.
      Returns:
      initialization vector