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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.byte[]
getIv()
getKeys()
Returns the root element XML namespace.int
getSid()
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, wait
Methods 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:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
toXML
-