ccRTP 2.1.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Fields
srtpSecrets Struct Reference

This structure contains pointers to the SRTP secrets and the role info. More...

#include <ZrtpCallback.h>

Collaboration diagram for srtpSecrets:
Collaboration graph
[legend]

Data Fields

SrtpAlgorithms symEncAlgorithm
 symmetrical cipher algorithm More...
 
const uint8_t * keyInitiator
 Initiator's key. More...
 
int32_t initKeyLen
 Initiator's key length. More...
 
const uint8_t * saltInitiator
 Initiator's salt. More...
 
int32_t initSaltLen
 Initiator's salt length. More...
 
const uint8_t * keyResponder
 Responder's key. More...
 
int32_t respKeyLen
 Responder's key length. More...
 
const uint8_t * saltResponder
 Responder's salt. More...
 
int32_t respSaltLen
 Responder's salt length. More...
 
SrtpAlgorithms authAlgorithm
 SRTP authentication algorithm. More...
 
int32_t srtpAuthTagLen
 SRTP authentication length. More...
 
std::string sas
 The SAS string. More...
 
Role role
 ZRTP role of this client. More...
 

Detailed Description

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 83 of file ZrtpCallback.h.

Field Documentation

SrtpAlgorithms srtpSecrets::authAlgorithm

SRTP authentication algorithm.

Definition at line 93 of file ZrtpCallback.h.

int32_t srtpSecrets::initKeyLen

Initiator's key length.

Definition at line 86 of file ZrtpCallback.h.

int32_t srtpSecrets::initSaltLen

Initiator's salt length.

Definition at line 88 of file ZrtpCallback.h.

const uint8_t* srtpSecrets::keyInitiator

Initiator's key.

Definition at line 85 of file ZrtpCallback.h.

const uint8_t* srtpSecrets::keyResponder

Responder's key.

Definition at line 89 of file ZrtpCallback.h.

int32_t srtpSecrets::respKeyLen

Responder's key length.

Definition at line 90 of file ZrtpCallback.h.

int32_t srtpSecrets::respSaltLen

Responder's salt length.

Definition at line 92 of file ZrtpCallback.h.

Role srtpSecrets::role

ZRTP role of this client.

Definition at line 96 of file ZrtpCallback.h.

const uint8_t* srtpSecrets::saltInitiator

Initiator's salt.

Definition at line 87 of file ZrtpCallback.h.

const uint8_t* srtpSecrets::saltResponder

Responder's salt.

Definition at line 91 of file ZrtpCallback.h.

std::string srtpSecrets::sas

The SAS string.

Definition at line 95 of file ZrtpCallback.h.

int32_t srtpSecrets::srtpAuthTagLen

SRTP authentication length.

Definition at line 94 of file ZrtpCallback.h.

SrtpAlgorithms srtpSecrets::symEncAlgorithm

symmetrical cipher algorithm

Definition at line 84 of file ZrtpCallback.h.


The documentation for this struct was generated from the following file: