#include <zrtp.h>
Collaboration diagram for zrtp_conn_ctx:
Data Fields | |
| uint32_t | id |
| zrtp_string16_t | zid |
| Local-side ZID The unique 12-characters string that identifies the local ZRTP endpoint. It must be generated by the user application on installation and used permanently for every ZRTP session. This ID allows remote peers to recognize this ZRTP endpoint. | |
| zrtp_string16_t | peer_zid |
| Remote-side ZID Extracted from the Hello packet of the very first ZRTP stream. Uniquely identifies the remote ZRTP peer. Used in combination with the local zid to restore secrets and other data from the previous call. Available for reading after the discovering phase. | |
| zrtp_profile_t | profile |
| zrtp_secrets_t | secrets |
| Set of retained secrets and flags for the current ZRTP session. libzrtp uploads secrets and flags from the cache on the very first stream within every ZRTP session. | |
| zrtp_string64_t | zrtpsess |
| zrtp_sas_values_t | sas_values |
Short authentication strings Depending on the SAS scheme used in negotiation, sas_values may contain:
| |
| zrtp_global_ctx_t * | zrtp_global |
| void * | ctx_usr_data |
| uint8_t | _is_initiator |
| zrtp_hash_t * | _hash |
| zrtp_cipher_t * | _blockcipher |
| zrtp_auth_tag_length_t * | _authtaglength |
| zrtp_sas_scheme_t * | _sasscheme |
| zrtp_stream_ctx_t | _streams [ZRTP_MAX_STREAMS_PER_SESSION] |
| zrtp_mutex_t * | _streams_protector |
| zrtp_mutex_t * | _init_protector |
| mlist_t | _mlist |
Definition at line 352 of file zrtp.h.
| uint32_t zrtp_conn_ctx::id |
Remote-side ZID Extracted from the Hello packet of the very first ZRTP stream. Uniquely identifies the remote ZRTP peer. Used in combination with the local zid to restore secrets and other data from the previous call. Available for reading after the discovering phase.
ZRTP profile, defined crypto options and behavior for every stream within cirrent session
| zrtp_profile_t zrtp_conn_ctx::profile |
| zrtp_sas_values_t zrtp_conn_ctx::sas_values |
Short authentication strings Depending on the SAS scheme used in negotiation, sas_values may contain:
sas_values contain a binary digest as well. SAS stringcan be read after switching to SECURE. Back-pointer to the ZRTP global data
| zrtp_global_ctx_t* zrtp_conn_ctx::zrtp_global |
| uint8_t zrtp_conn_ctx::_is_initiator |
| zrtp_hash_t* zrtp_conn_ctx::_hash |
| zrtp_cipher_t* zrtp_conn_ctx::_blockcipher |
| zrtp_auth_tag_length_t* zrtp_conn_ctx::_authtaglength |
| zrtp_sas_scheme_t* zrtp_conn_ctx::_sasscheme |
| zrtp_stream_ctx_t zrtp_conn_ctx::_streams[ZRTP_MAX_STREAMS_PER_SESSION] |
| zrtp_mutex_t* zrtp_conn_ctx::_streams_protector |
| zrtp_mutex_t* zrtp_conn_ctx::_init_protector |
| mlist_t zrtp_conn_ctx::_mlist |