public static class OmemoElement.OmemoHeader
extends java.lang.Object
implements org.jivesoftware.smack.packet.NamedElement
| Modifier and Type | Class and Description |
|---|---|
static class |
OmemoElement.OmemoHeader.Key
Small class to collect key (byte[]), its id and whether its a prekey or not.
|
| Constructor and Description |
|---|
OmemoHeader(int sid,
java.util.ArrayList<OmemoElement.OmemoHeader.Key> keys,
byte[] iv) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getElementName() |
byte[] |
getIv() |
java.util.ArrayList<OmemoElement.OmemoHeader.Key> |
getKeys() |
int |
getSid()
Return the deviceId of the sender of the message.
|
java.lang.CharSequence |
toXML() |
public OmemoHeader(int sid,
java.util.ArrayList<OmemoElement.OmemoHeader.Key> keys,
byte[] iv)
public int getSid()
public java.util.ArrayList<OmemoElement.OmemoHeader.Key> getKeys()
public byte[] getIv()
public java.lang.String getElementName()
getElementName in interface org.jivesoftware.smack.packet.NamedElementpublic java.lang.CharSequence toXML()
toXML in interface org.jivesoftware.smack.packet.Element