|
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.neomedia.ZrtpControlImpl
public class ZrtpControlImpl
Controls zrtp in the MediaStream.
| Nested Class Summary | |
|---|---|
static class |
ZrtpControlImpl.ZRTPCustomInfoCodes
Additional info codes for and data to support ZRTP4J. |
| Constructor Summary | |
|---|---|
ZrtpControlImpl()
Creates the control. |
|
| Method Summary | |
|---|---|
void |
cleanup()
Cleans up the current zrtp control and its engine. |
String |
getHelloHash()
Return the zrtp hello hash String. |
String[] |
getHelloHashSep()
Get the ZRTP Hello Hash data - separate strings. |
boolean |
getSecureCommunicationStatus()
Method for getting the default secure status value for communication |
String |
getSecurityString()
Gets the SAS for the current media stream. |
SrtpListener |
getSrtpListener()
Returns the ZrtpListener which listens for security events. |
ZRTPTransformEngine |
getTransformEngine()
Returns the zrtp engine currently used by this stream. |
boolean |
isSecurityVerified()
Gets the status of the SAS verification. |
boolean |
requiresSecureSignalingTransport()
Returns false, ZRTP exchanges is keys over the media path. |
void |
setConnector(AbstractRTPConnector connector)
Sets the RTPConnector which is to use or uses this ZRTP engine. |
void |
setMultistream(SrtpControl master)
Start multi-stream ZRTP sessions. |
void |
setSASVerification(boolean verified)
Sets the SAS verification |
void |
setSrtpListener(SrtpListener zrtpListener)
Sets a ZrtpListener that will listen for zrtp security events. |
void |
start(boolean masterSession)
Starts and enables zrtp in the stream holding this control. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ZrtpControlImpl()
| Method Detail |
|---|
public void cleanup()
cleanup in interface SrtpControlpublic void setSrtpListener(SrtpListener zrtpListener)
setSrtpListener in interface SrtpControlzrtpListener - the ZrtpListener to setpublic SrtpListener getSrtpListener()
getSrtpListener in interface SrtpControlpublic boolean getSecureCommunicationStatus()
getSecureCommunicationStatus in interface SrtpControlpublic void setSASVerification(boolean verified)
setSASVerification in interface ZrtpControlverified - the new SAS verification statuspublic ZRTPTransformEngine getTransformEngine()
getTransformEngine in interface SrtpControlpublic void start(boolean masterSession)
start in interface SrtpControlmasterSession - whether this stream is master for the current
media session.public void setMultistream(SrtpControl master)
setMultistream in interface SrtpControlmaster - master SRTP datapublic String getHelloHash()
getHelloHash in interface ZrtpControlpublic String[] getHelloHashSep()
getHelloHashSep in interface ZrtpControlnull
if ZRTP is not available.public void setConnector(AbstractRTPConnector connector)
setConnector in interface SrtpControlconnector - the RTPConnector which is to use or uses this
ZRTP enginepublic String getSecurityString()
ZrtpControl
getSecurityString in interface ZrtpControlpublic boolean isSecurityVerified()
ZrtpControl
isSecurityVerified in interface ZrtpControlpublic boolean requiresSecureSignalingTransport()
requiresSecureSignalingTransport in interface SrtpControl
|
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 | |||||||||