Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

ZIDRecord.h File Reference

#include <string.h>

Go to the source code of this file.

Classes

struct  zidrecord
class  ZIDRecord

Defines

#define IDENTIFIER_LEN   12
#define RS_LENGTH   32

Typedefs

typedef zidrecord zidrecord_t

Variables

static const int valid = 0x1
static const int SASVerified = 0x2


Define Documentation

#define IDENTIFIER_LEN   12
 

Definition at line 23 of file ZIDRecord.h.

Referenced by ZIDFile::getRecord(), ZIDFile::open(), and ZIDRecord::ZIDRecord().

#define RS_LENGTH   32
 

Definition at line 24 of file ZIDRecord.h.

Referenced by ZRtp::computeSharedSecretSet(), and ZIDRecord::setNewRs1().


Typedef Documentation

typedef struct zidrecord zidrecord_t
 


Variable Documentation

const int SASVerified = 0x2 [static]
 

Definition at line 49 of file ZIDRecord.h.

Referenced by ZIDRecord::isSasVerified(), ZIDRecord::resetSasVerified(), ZIDRecord::setNewRs1(), and ZIDRecord::setSasVerified().

const int valid = 0x1 [static]
 

This class implements the ZID record.

The ZID record holds data about a peer. According to ZRTP specification we use a ZID to identify a peer. ZRTP uses the RS (Retained Secret) data to construct shared secrets. <p/> NOTE: ZIDRecord has ZIDFile as friend. ZIDFile knows about the private data of ZIDRecord - please keep both classes synchronized.

Author:
: Werner Dittmann <Werner.Dittmann@t-online.de>

Definition at line 48 of file ZIDRecord.h.

Referenced by ZIDRecord::isRs1Valid(), and ZIDRecord::isRs2Valid().


© sourcejam.com 2005-2008