|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
net.java.sip.communicator.impl.protocol.jabber.extensions.jingle.ZrtpHashPacketExtension
public class ZrtpHashPacketExtension
An implementation of the "zrtp-hash" attribute as described in the currently deferred XEP-0262.
| Field Summary | |
|---|---|
static String |
ELEMENT_NAME
The name of the "zrtp-hash" element. |
static String |
NAMESPACE
The namespace for the "zrtp-hash" element. |
static String |
VERSION_ATTR_NAME
The name of the version attribute. |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
attributes |
| Constructor Summary | |
|---|---|
ZrtpHashPacketExtension()
Creates a ZrtpHashPacketExtension instance for the specified
namespace and elementName. |
|
| Method Summary | |
|---|---|
String |
getValue()
Returns the value of the ZRTP hash this element is carrying. |
String |
getVersion()
Returns the ZRTP version used by the implementation that created the hash. |
void |
setValue(String value)
Sets the value of the ZRTP hash this element will be carrying. |
void |
setVersion(String version)
Sets the ZRTP version used by the implementation that created the hash. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
addChildExtension, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getText, removeAttribute, setAttribute, setNamespace, setText, toXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public static final String VERSION_ATTR_NAME
| Constructor Detail |
|---|
public ZrtpHashPacketExtension()
ZrtpHashPacketExtension instance for the specified
namespace and elementName.
| Method Detail |
|---|
public String getVersion()
public void setVersion(String version)
version - the ZRTP version used by the implementation that created
the hash.public String getValue()
public void setValue(String value)
value - the value of the ZRTP hash this element will be carrying.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||