|
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.EncryptionPacketExtension
public class EncryptionPacketExtension
The element transporting encryption information during jingle session establishment.
| Field Summary | |
|---|---|
static String |
ELEMENT_NAME
The name of the "encryption" element. |
static String |
NAMESPACE
The namespace of the "encryption" element. |
static String |
REQUIRED_ATTR_NAME
The name of the required attribute. |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
attributes |
| Constructor Summary | |
|---|---|
EncryptionPacketExtension()
Creates a new instance of this EncryptionPacketExtension. |
|
| Method Summary | |
|---|---|
void |
addCrypto(CryptoPacketExtension crypto)
Adds a new crypto element to this encryption element. |
List<? extends org.jivesoftware.smack.packet.PacketExtension> |
getChildExtensions()
Returns a list containing all crypto sub-elements. |
List<CryptoPacketExtension> |
getCryptoList()
Returns a reference to the list of crypto elements that we have registered with this encryption element so far. |
boolean |
isRequired()
Returns true if encryption is required for this session and false otherwise. |
void |
setRequired(boolean required)
Specifies whether encryption is required for this session or not. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
addChildExtension, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, 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 NAMESPACE
public static final String ELEMENT_NAME
public static final String REQUIRED_ATTR_NAME
| Constructor Detail |
|---|
public EncryptionPacketExtension()
| Method Detail |
|---|
public void addCrypto(CryptoPacketExtension crypto)
crypto - the new crypto element to add.public List<CryptoPacketExtension> getCryptoList()
public void setRequired(boolean required)
required - true if encryption is required for this session
and false otherwise.public boolean isRequired()
public List<? extends org.jivesoftware.smack.packet.PacketExtension> getChildExtensions()
getChildExtensions in class AbstractPacketExtensionList containing all our crypto sub-elements.
|
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 | |||||||||