zrtp_shared_secret_t Struct Reference
[ZRTP Cache]

Shared secret structure

This structure stores ZRTP shared secret values used in the protocol. More...

#include <zrtp_types.h>

Collaboration diagram for zrtp_shared_secret_t:

Collaboration graph
[legend]

Data Fields

zrtp_string64_t value
 ZRTP secret value.
uint32_t lastused_at
 last usage time-stamp in seconds.
uint32_t ttl
 TTL value in seconds.
uint8_t _cachedflag
 Loaded secret flag.

Detailed Description

Shared secret structure

This structure stores ZRTP shared secret values used in the protocol.


Field Documentation

uint8_t _cachedflag

Loaded secret flag.

When the flag is set (= 1), the secret has been loaded from the cache. Otherwise the secret has been generated.

Warning:
For internal use only. Don't modify this flag in the application.

uint32_t lastused_at

last usage time-stamp in seconds.

Library updates this value on generation of the new value based on previous one.

uint32_t ttl

TTL value in seconds.

Available for reading after the Hello exchange. Updated on switching to Secure state.


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

Generated on Wed Dec 9 17:31:06 2009 for libzrtp  zfone