ZrtpQueue.h | ZrtpQueue.h | |||
---|---|---|---|---|
skipping to change at line 594 | skipping to change at line 594 | |||
/** | /** | |||
* Stops the ZRTP protocol engine. | * Stops the ZRTP protocol engine. | |||
* | * | |||
* Applications call this method to stop the ZRTP protocol | * Applications call this method to stop the ZRTP protocol | |||
* engine. | * engine. | |||
* | * | |||
*/ | */ | |||
void stopZrtp(); | void stopZrtp(); | |||
/** | ||||
* Get other party's ZID (ZRTP Identifier) data | ||||
* | ||||
* This functions returns the other party's ZID that was receivied | ||||
* during ZRTP processing. | ||||
* | ||||
* The ZID data can be retrieved after ZRTP receive the first Hello | ||||
* packet from the other party. The application may call this metho | ||||
d | ||||
* for example during SAS processing in showSAS(...) user callback | ||||
* method. | ||||
* | ||||
* @param data | ||||
* Pointer to a data buffer. This buffer must have a size of | ||||
* at least 12 bytes (96 bit) (ZRTP Identifier, see chap. 4.9) | ||||
* @return | ||||
* Number of bytes copied into the data buffer - must be equival | ||||
ent | ||||
* to 96 bit, usually 12 bytes. | ||||
*/ | ||||
int32 getZid(uint8* data); | ||||
protected: | protected: | |||
friend class TimeoutProvider<std::string, ost::ZrtpQueue*>; | friend class TimeoutProvider<std::string, ost::ZrtpQueue*>; | |||
/** | /** | |||
* A hook that gets called if the decoding of an incoming SRTP | * A hook that gets called if the decoding of an incoming SRTP | |||
* was erroneous | * was erroneous | |||
* | * | |||
* @param pkt | * @param pkt | |||
* The SRTP packet with error. | * The SRTP packet with error. | |||
* @param errorCode | * @param errorCode | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 22 lines changed or added | |||