public static class OmemoElement.OmemoHeader.Key extends Object implements NamedElement
Constructor and Description |
---|
Key(byte[] data,
int id) |
Key(byte[] data,
int id,
boolean preKey) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
String |
getElementName()
Returns the root element name.
|
int |
getId() |
boolean |
isPreKey() |
String |
toString() |
CharSequence |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public Key(byte[] data, int id)
public Key(byte[] data, int id, boolean preKey)
public int getId()
public byte[] getData()
public boolean isPreKey()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public CharSequence toXML(String enclosingNamespace)
Element