public interface ZrtpControl extends SrtpControl
SrtpControl.TransformEngine
RTP_SAVP, RTP_SAVPF
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCipherString()
Gets the cipher information for the current media stream.
|
int |
getCurrentProtocolVersion()
Gets the negotiated ZRTP protocol version.
|
java.lang.String |
getHelloHash(int index)
Returns the zrtp hello hash String.
|
java.lang.String[] |
getHelloHashSep(int index)
Gets the ZRTP Hello Hash data - separate strings.
|
int |
getNumberSupportedVersions()
Gets the number of supported ZRTP protocol versions.
|
java.lang.String |
getPeerHelloHash()
Gets the peer's Hello Hash data as a String.
|
byte[] |
getPeerZid()
Gets other party's ZID (ZRTP Identifier) data that was received during
ZRTP processing.
|
java.lang.String |
getPeerZidString()
Gets other party's ZID (ZRTP Identifier) data that was received during
ZRTP processing as a String.
|
java.lang.String |
getSecurityString()
Gets the SAS for the current media stream.
|
long |
getTimeoutValue()
Returns the timeout value in milliseconds that we will wait and fire
timeout secure event if call is not secured.
|
boolean |
isSecurityVerified()
Gets the status of the SAS verification.
|
void |
setSASVerification(boolean verified)
Sets the SAS verification
|
cleanup, getSecureCommunicationStatus, getSrtpControlType, getSrtpListener, getTransformEngine, registerUser, requiresSecureSignalingTransport, setConnector, setMasterSession, setMultistream, setSrtpListener, start
java.lang.String getCipherString()
int getCurrentProtocolVersion()
java.lang.String getHelloHash(int index)
index
- Hello hash of the Hello packet identified by index. Must be
0 <= index < SUPPORTED_ZRTP_VERSIONS
.java.lang.String[] getHelloHashSep(int index)
index
- Hello hash of the Hello packet identified by index. Must be
0 <= index < SUPPORTED_ZRTP_VERSIONS
.int getNumberSupportedVersions()
java.lang.String getPeerHelloHash()
byte[] getPeerZid()
java.lang.String getPeerZidString()
java.lang.String getSecurityString()
long getTimeoutValue()
boolean isSecurityVerified()
void setSASVerification(boolean verified)
verified
- the new SAS verification status
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.