wickr-crypto-c

Data Fields
wickr_key_exchange Struct Reference
Key Exchange

Public key exchange protected data. After a shared secret is generated using a public key with identifier 'key_id', and run through a KDF, it is used to encrypt data to be protected by the exchange and the ciphertext is stored in 'exchange_ciphertext'. More...

`#include <key_exchange.h>`

## Data Fields
wickr_buffer_t * | exchange_id
uint64_t | key_id
wickr_cipher_result_t * | exchange_ciphertext

## Detailed Description

Public key exchange protected data. After a shared secret is generated using a public key with identifier 'key_id', and run through a KDF, it is used to encrypt data to be protected by the exchange and the ciphertext is stored in 'exchange_ciphertext'.

## Field Documentation

## ◆ exchange_ciphertext

wickr_key_exchange::exchange_ciphertext

ciphered shared secret + KDF protected data

## ◆ exchange_id

wickr_key_exchange::exchange_id

a unique identifier to be assoiciated with the exchange to aid a recipient in finding a particular exchange within an exchange set

## ◆ key_id

wickr_key_exchange::key_id

the identifier of the recipient's public key was used to compute the key protecting 'exchange_ciphertext'. This aids a recipient in finding the particular private key they need to use to unlock 'exchange_ciphertext' upon receipt

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

- src/wickrcrypto/include/wickrcrypto/key_exchange.h