Add a new method that returns the ZRTP Hello hash as separate strings.

The caller of this method is responsible to combine or use the two strings
that are in accordance with the ZRTP specification and/or the specifications
of the used signaling protocol.
cusax-fix
Werner Dittmann 16 years ago
parent a9643de3fb
commit 37b03cd101

@ -1110,6 +1110,21 @@ public String getHelloHash()
return new String();
}
/**
* Get the ZRTP Hello Hash data - separate strings.
*
* @return 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. Retruns <code>null</code>
* if ZRTP is not available.
*/
public String[] getHelloHashSep() {
if (zrtpEngine != null)
return zrtpEngine.getHelloHashSep();
else
return null;
}
/**
* Gets the multistream params
*

Loading…
Cancel
Save