wickr-crypto-c

Data Fields
wickr_ctx Struct Reference
Wickr_ctx

Wickr encryption context for high level management of sending / receiving packets using the Wickr protocol. More...

`#include <wickr_ctx.h>`

## Data Fields
wickr_crypto_engine_t | engine
wickr_dev_info_t * | dev_info
wickr_identity_chain_t * | id_chain
wickr_storage_keys_t * | storage_keys
wickr_cipher_key_t * | packet_header_key
uint8_t | pkt_enc_version

## Detailed Description

Wickr encryption context for high level management of sending / receiving packets using the Wickr protocol.

## Field Documentation

## ◆ dev_info

wickr_ctx::dev_info

set of device identifiers to use for messaging and server communication, storage keys and message key exchanges are bound to the dev_info identifiers

## ◆ engine

wickr_ctx::engine

crypto engine to use by default for all cryptographic operations required by the Wickr protocol

## ◆ id_chain

wickr_ctx::id_chain

the identity chain for this context, it contains the node and root level signature chains

## ◆ packet_header_key

wickr_ctx::packet_header_key

the active header key to use on all outbound packets

## ◆ pkt_enc_version

wickr_ctx::pkt_enc_version

the packet version to use for encoding, this is useful for supporting older clients

## ◆ storage_keys

wickr_ctx::storage_keys

active remote and local storage keys for this context

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

- src/wickrcrypto/include/wickrcrypto/wickr_ctx.h