Class OmemoHeaderElement
java.lang.Object
org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
- All Implemented Interfaces:
Element,NamedElement,XmlElement,XmlLangElement
- Direct Known Subclasses:
OmemoHeaderElement_VAxolotl
Header element of the message. The header contains information about the sender and the encrypted keys for
the recipients, as well as the iv element for AES.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.byte[]getIv()getKeys()Returns the root element XML namespace.intgetSid()Return the deviceId of the sender of the message.toXML(XmlEnvironment enclosingXmlEnvironment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
ATTR_SID
- See Also:
-
ATTR_IV
- See Also:
-
-
Constructor Details
-
OmemoHeaderElement
-
-
Method Details
-
getSid
Return the deviceId of the sender of the message.- Returns:
- senders id
-
getKeys
-
getIv
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
toXML
-