22 #ifndef wickr_root_keys_h 23 #define wickr_root_keys_h 28 #include "crypto_engine.h" wickr_cipher_key_t * remote_storage_root
Definition: root_keys.h:53
Representation of public and private Elliptic Curve Keypair information as buffers.
Definition: eckey.h:90
Key's used for the client to encrypt data meant for itself, and not for other clients.
Definition: storage.h:48
wickr_storage_keys_t * wickr_root_keys_localize(const wickr_root_keys_t *keys, const wickr_crypto_engine_t *engine, const wickr_dev_info_t *dev_info)
wickr_root_keys_t * wickr_root_keys_generate(const wickr_crypto_engine_t *engine)
Represents an array of bytes and the length of the allocation associated with those bytes.
Definition: buffer.h:51
Root level crypto keys for signatures, local encryption, and remote encryption.
Definition: root_keys.h:50
wickr_cipher_result_t * wickr_root_keys_export(const wickr_root_keys_t *keys, const wickr_crypto_engine_t *engine, const wickr_cipher_key_t *export_key)
Device Information used to make a uniquely identifying set of data for each context running the Wickr...
Definition: devinfo.h:58
wickr_root_keys_t * wickr_root_keys_create_from_buffer(const wickr_crypto_engine_t *engine, const wickr_buffer_t *buffer)
wickr_root_keys_t * wickr_root_keys_copy(const wickr_root_keys_t *source)
wickr_ec_key_t * node_signature_root
Definition: root_keys.h:51
wickr_root_keys_t * wickr_root_keys_create(wickr_ec_key_t *node_signature_root, wickr_cipher_key_t *node_storage_root, wickr_cipher_key_t *remote_storage_root)
void wickr_root_keys_destroy(wickr_root_keys_t **keys)
wickr_buffer_t * wickr_root_keys_serialize(const wickr_root_keys_t *keys)
Interface to a set of cryptographic operations used throughout the library. Currently the default imp...
Definition: crypto_engine.h:53
wickr_cipher_key_t * node_storage_root
Definition: root_keys.h:52