ccRTP 2.1.2
|
Callback interface between ZRTP and the RTP stack implementation. More...
Go to the source code of this file.
Data Structures | |
struct | srtpSecrets |
This structure contains pointers to the SRTP secrets and the role info. More... | |
class | ZrtpCallback |
This abstract class defines the callback functions required by GNU ZRTP. More... | |
#define | __EXPORT |
#define | __LOCAL |
enum | Role { Responder = 1, Initiator } |
This enum defines which role a ZRTP peer has. More... | |
enum | SrtpAlgorithms { None, Aes = 1, TwoFish, Sha1, Skein } |
The algorihms that we support in SRTP and that ZRTP can negotiate. More... | |
enum | EnableSecurity { ForReceiver = 1, ForSender = 2 } |
typedef struct srtpSecrets | SrtpSecret_t |
This structure contains pointers to the SRTP secrets and the role info. More... | |
Callback interface between ZRTP and the RTP stack implementation.
Definition in file ZrtpCallback.h.
#define __EXPORT |
Definition at line 40 of file ZrtpCallback.h.
#define __LOCAL |
Definition at line 41 of file ZrtpCallback.h.
typedef struct srtpSecrets SrtpSecret_t |
This structure contains pointers to the SRTP secrets and the role info.
About the role and what the meaning of the role is refer to the of the enum Role. The pointers to the secrets are valid as long as the ZRtp object is active. To use these data after the ZRtp object's lifetime you may copy the data into a save place. The destructor of ZRtp clears the data.
enum EnableSecurity |
Enumerator | |
---|---|
ForReceiver |
Enable security for SRTP receiver. |
ForSender |
Enable security for SRTP sender. |
Definition at line 99 of file ZrtpCallback.h.
enum Role |
This enum defines which role a ZRTP peer has.
According to the ZRTP specification the role determines which keys to use to encrypt or decrypt SRTP data.
Enumerator | |
---|---|
Responder |
This client is in ZRTP Responder mode. |
Initiator |
This client is in ZRTP Initiator mode. |
Definition at line 60 of file ZrtpCallback.h.
enum SrtpAlgorithms |
The algorihms that we support in SRTP and that ZRTP can negotiate.
Definition at line 66 of file ZrtpCallback.h.