public class ZrtpHashPacketExtension extends AbstractPacketExtension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The name of the "zrtp-hash" element.
|
static java.lang.String |
NAMESPACE
The namespace for the "zrtp-hash" element.
|
static java.lang.String |
VERSION_ATTR_NAME
The name of the version attribute.
|
attributes
Constructor and Description |
---|
ZrtpHashPacketExtension()
Creates a
ZrtpHashPacketExtension instance for the specified
namespace and elementName. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
Returns the value of the ZRTP hash this element is carrying.
|
java.lang.String |
getVersion()
Returns the ZRTP version used by the implementation that created the
hash.
|
void |
setValue(java.lang.String value)
Sets the value of the ZRTP hash this element will be carrying.
|
void |
setVersion(java.lang.String version)
Sets the ZRTP version used by the implementation that created the
hash.
|
addChildExtension, addPacket, clone, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getPackets, getText, removeAttribute, setAttribute, setNamespace, setText, toXML
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public static final java.lang.String VERSION_ATTR_NAME
public ZrtpHashPacketExtension()
ZrtpHashPacketExtension
instance for the specified
namespace and elementName.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- the ZRTP version used by the implementation that created
the hash.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the value of the ZRTP hash this element will be carrying.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.