#include <string>#include <libzrtpcpp/ZrtpPacketBase.h>Go to the source code of this file.
Classes | |
| struct | srtpSecrets |
| class | ZrtpCallback |
Typedefs | |
| typedef srtpSecrets | SrtpSecret_t |
Enumerations | |
| enum | MessageSeverity { Info = 1, Warning, Error, Alert } |
| enum | Role { Responder = 1, Initiator } |
| enum | EnableSecurity { ForReceiver = 1, ForSender = 2 } |
|
|
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. |
|
|
Definition at line 117 of file ZrtpCallback.h. 00117 { 00118 ForReceiver = 1, 00119 ForSender = 2 00120 };
|
|
|
This enum defines the information message severity. The ZRTP implementation issues information messages to inform the user about ongoing processing, unusual behavior, or alerts in case of severe problems. The severity levels and their meaning are:
Definition at line 67 of file ZrtpCallback.h.
|
|
|
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.
Definition at line 89 of file ZrtpCallback.h.
|