|
wickr-crypto-c
|
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_t * | key_exchange_set |
| wickr_key_exchange_t * | key_exchange |
| wickr_cipher_result_t * | enc_payload |
result from parsing an inbound packet
| 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'
| wickr_parse_result::err |
status of the parse operation
| 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
| wickr_parse_result::key_exchange_set |
parsed key exchange set for the message after decrypting it with the header key
| wickr_parse_result::signature_status |
status of the message signature