wickr-crypto-c
Data Fields
wickr_parse_result Struct Reference

result from parsing an inbound packet More...

#include <protocol.h>

Data Fields

wickr_decode_error err
 
wickr_packet_signature_status signature_status
 
wickr_key_exchange_set_tkey_exchange_set
 
wickr_key_exchange_tkey_exchange
 
wickr_cipher_result_tenc_payload
 

Detailed Description

result from parsing an inbound packet

Field Documentation

◆ enc_payload

wickr_parse_result::enc_payload

the encrypted payload of the message, to decrypt the payload you must call 'wickr_decode_result_from_parse_result' with the private key matching the 'ephemeral_key_id' from 'key_exchange'

◆ err

wickr_parse_result::err

status of the parse operation

◆ key_exchange

wickr_parse_result::key_exchange

if requested, a key exchange belonging to your node will be copied to this property and a failed search will lead to a decode error. If not requested key_exchange will be NULL

◆ key_exchange_set

wickr_parse_result::key_exchange_set

parsed key exchange set for the message after decrypting it with the header key

◆ signature_status

wickr_parse_result::signature_status

status of the message signature


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