Class OmemoKeyElement
java.lang.Object
org.jivesoftware.smackx.omemo.element.OmemoKeyElement
- All Implemented Interfaces:
Element,NamedElement,XmlElement,XmlLangElement
Small class to collect key (byte[]), its id and whether its a preKey or not.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOmemoKeyElement(byte[] data, int id) OmemoKeyElement(byte[] data, int id, boolean preKey) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
ATTR_RID
- See Also:
-
ATTR_PREKEY
- See Also:
-
-
Constructor Details
-
OmemoKeyElement
-
OmemoKeyElement
-
-
Method Details
-
getId
-
getData
-
isPreKey
-
toString
-
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
-