wickr-crypto-c
|
Data Structures | |
struct | wickr_storage_keys |
Key's used for the client to encrypt data meant for itself, and not for other clients. More... | |
Functions | |
wickr_storage_keys_t * | wickr_storage_keys_create (wickr_cipher_key_t *local, wickr_cipher_key_t *remote) |
wickr_storage_keys_t * | wickr_storage_keys_copy (const wickr_storage_keys_t *source) |
wickr_storage_keys_t * | wickr_storage_keys_create_from_buffer (const wickr_buffer_t *buffer) |
wickr_buffer_t * | wickr_storage_keys_serialize (const wickr_storage_keys_t *keys) |
void | wickr_storage_keys_destroy (wickr_storage_keys_t **keys) |
wickr_storage_keys_t* wickr_storage_keys_copy | ( | const wickr_storage_keys_t * | source | ) |
Copy a storage key set
source | the storage key set to copy |
wickr_storage_keys_t* wickr_storage_keys_create | ( | wickr_cipher_key_t * | local, |
wickr_cipher_key_t * | remote | ||
) |
Create a storage key set from components
local | see 'wickr_storage_keys' property documentation |
remote | see 'wickr_storage_keys' property documentation |
wickr_storage_keys_t* wickr_storage_keys_create_from_buffer | ( | const wickr_buffer_t * | buffer | ) |
Create a storage key set from a previously serialized storage key set
buffer | a buffer containing the output of 'wickr_storage_keys_serialize' |
void wickr_storage_keys_destroy | ( | wickr_storage_keys_t ** | keys | ) |
Destroy a storage key set
keys | a pointer to the storage key set to destroy. All properties of '*keys' will also be destroyed |
wickr_buffer_t* wickr_storage_keys_serialize | ( | const wickr_storage_keys_t * | keys | ) |
Serialize a storage key set to a buffer
keys | the keys to serialize |