Class OmemoMessage

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      OmemoElement getElement()
      Return the original OmemoElement (<encrypted/>).
      byte[] getIv()
      Return the initialization vector belonging to the key.
      byte[] getKey()
      Return the messageKey (or transported key in case of a KeyTransportMessage).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getElement

        public OmemoElement 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