|
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. |
byte[] |
getPeerZid()
Get other party's ZID (ZRTP Identifier) data This functions returns the other party's ZID that was receivied during ZRTP processing. |
String |
getPeerZidString()
Get other party's ZID (ZRTP Identifier) data as String This functions returns the other party's ZID that was receivied during ZRTP processing. |
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. |
long |
getTimeoutValue()
Returns the timeout value that will we will wait and fire timeout secure event if call is not secured. |
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 |
setMasterSession(boolean masterSession)
When in multistream mode, enables the master session. |
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(MediaType mediaType)
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 setMasterSession(boolean masterSession)
setMasterSession in interface SrtpControlmasterSession - whether current control, controls the master session.public void start(MediaType mediaType)
start in interface SrtpControlmediaType - the media type of the stream this control controls.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 byte[] getPeerZid()
ZrtpControl
getPeerZid in interface ZrtpControlpublic String getPeerZidString()
ZrtpControl
getPeerZidString in interface ZrtpControlpublic boolean requiresSecureSignalingTransport()
requiresSecureSignalingTransport in interface SrtpControlpublic long getTimeoutValue()
getTimeoutValue in interface ZrtpControl
|
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 | |||||||||