|
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.CryptoPacketExtension
public class CryptoPacketExtension
The element containing details about an encryption algorithm that could be used during a jingle session.
| Field Summary | |
|---|---|
static String |
CRYPTO_SUITE_ATTR_NAME
The name of the 'crypto-suite' argument. |
static String |
KEY_PARAMS_ATTR_NAME
The name of the 'key-params' argument. |
static String |
SESSION_PARAMS_ATTR_NAME
The name of the 'session-params' argument. |
static String |
TAG_ATTR_NAME
The name of the 'tag' argument. |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
attributes |
| Constructor Summary | |
|---|---|
CryptoPacketExtension()
Creates a new CryptoPacketExtension instance with the proper
element name and namespace. |
|
| Method Summary | |
|---|---|
String |
getCryptoSuite()
Returns the value of the crypto-suite attribute. |
String |
getKeyPaams()
Returns the value of the key-params attribute. |
String |
getSessionPaams()
Returns the value of the session-params attribute. |
String |
getTag()
Returns the value of the tag attribute. |
void |
setCryptoSuite(String cryptoSuite)
Sets the value of the crypto-suite attribute: an identifier that describes the encryption and authentication algorithms. |
void |
setKeyParams(String keyParams)
Sets the value of the key-params attribute that provides one or more sets of keying material for the crypto-suite in question). |
void |
setSessionParams(String sessionParams)
Sets the value of the session-params attribute that provides transport-specific parameters for SRTP negotiation. |
void |
setTag(String tag)
Sets the value of the tag attribute: a decimal number used as an identifier for a particular crypto element. |
| 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 CRYPTO_SUITE_ATTR_NAME
public static final String KEY_PARAMS_ATTR_NAME
public static final String SESSION_PARAMS_ATTR_NAME
public static final String TAG_ATTR_NAME
| Constructor Detail |
|---|
public CryptoPacketExtension()
CryptoPacketExtension instance with the proper
element name and namespace.
| Method Detail |
|---|
public void setCryptoSuite(String cryptoSuite)
cryptoSuite - a String that describes the encryption and
authentication algorithms.public String getCryptoSuite()
public void setKeyParams(String keyParams)
keyParams - a String that provides one or more sets of
keying material for the crypto-suite in question.public String getKeyPaams()
public void setSessionParams(String sessionParams)
sessionParams - a String that provides transport-specific
parameters for SRTP negotiation.public String getSessionPaams()
public void setTag(String tag)
tag - a String containing a decimal number used as an
identifier for a particular crypto element.public String getTag()
|
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 | |||||||||