public static class OmemoElement.OmemoHeader extends java.lang.Object implements 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()
Returns the root element name.
|
byte[] |
getIv() |
java.util.ArrayList<OmemoElement.OmemoHeader.Key> |
getKeys() |
int |
getSid()
Return the deviceId of the sender of the message.
|
java.lang.CharSequence |
toXML()
Returns the XML representation of this Element.
|
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()
NamedElement
getElementName
in interface NamedElement