ZRTP Cache
[Library Interfaces Overview]

Collaboration diagram for ZRTP Cache:

Data Structures

struct  zrtp_callback_cache_t
 Data types and functions related to shared secrets. More...
struct  zrtp_shared_secret_t
 Shared secret structure

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


Detailed Description

The secret cache implementation should have a two-layer structure: each pair of ZIDs should have a relevant pair of secrets (current and previous). In addition to the value of the secret, the cache should contain: verification flag, last usage time-stamp and cache TTL value.

The simplest secret cache scheme implementation is:

 [local_ZID][remote_ZID][curr_cache][prev_cache][verified][used at][cache ttl]
Warning:
Libzrtp doen't provide synchronization for cache read/write operation. Cache is not thread safe by default. Implementor must take care of synchronization inside his implementation.
For more information see corresponding section XXX. Samples can be found at XXX (zrtp_iface_builtin.h, zrtp_iface_cache.c)

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