Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.neomedia
Interface ZrtpControl

All Superinterfaces:
SrtpControl
All Known Implementing Classes:
ZrtpControlImpl

public interface ZrtpControl
extends SrtpControl

ZRTP based SRTP MediaStream encryption control.

Author:
Damian Minkov

Method Summary
 String getHelloHash()
          Return the zrtp hello hash String.
 String[] getHelloHashSep()
          Get the ZRTP Hello Hash data - separate strings.
 String getSecurityString()
          Gets the SAS for the current media stream.
 boolean isSecurityVerified()
          Gets the status of the SAS verification.
 void setSASVerification(boolean verified)
          Sets the SAS verification
 
Methods inherited from interface net.java.sip.communicator.service.neomedia.SrtpControl
cleanup, getSecureCommunicationStatus, getSrtpListener, getTransformEngine, requiresSecureSignalingTransport, setConnector, setMultistream, setSrtpListener, start
 

Method Detail

getHelloHash

String getHelloHash()
Return the zrtp hello hash String.

Returns:
String the zrtp hello hash.

getHelloHashSep

String[] getHelloHashSep()
Get the ZRTP Hello Hash data - separate strings.

Returns:
String array containing the version string at offset 0, the Hello hash value as hex-digits at offset 1. Hello hash is available immediately after class instantiation. Returns null if ZRTP is not available.

getSecurityString

String getSecurityString()
Gets the SAS for the current media stream.

Returns:
the four character ZRTP SAS.

isSecurityVerified

boolean isSecurityVerified()
Gets the status of the SAS verification.

Returns:
true when the SAS has been verified.

setSASVerification

void setSASVerification(boolean verified)
Sets the SAS verification

Parameters:
verified - the new SAS verification status

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.