30 #include "crypto_engine.h"
31 #include "root_keys.h"
33 #include "ephemeral_keypair.h"
40 typedef wickr_array_t wickr_node_array_t;
Represents a root -> node relationship as well as it's signature status.
Definition: identity.h:116
wickr_buffer_t * dev_id
Definition: node.h:88
wickr_node_t * wickr_node_array_fetch_item(const wickr_array_t *array, uint32_t index)
Interface to a set of cryptographic operations used throughout the library. Currently the default imp...
Definition: crypto_engine.h:53
bool wickr_node_rotate_keypair(wickr_node_t *node, wickr_ephemeral_keypair_t *new_keypair, bool copy)
bool wickr_node_array_set_item(wickr_array_t *array, uint32_t index, wickr_node_t *node)
wickr_ephemeral_keypair_t * ephemeral_keypair
Definition: node.h:90
Represents a message destination at a point in time.
Definition: node.h:87
wickr_node_status status
Definition: node.h:91
wickr_node_t * wickr_node_create_from_buffer(const wickr_buffer_t *buffer, const wickr_crypto_engine_t *engine)
wickr_node_array_t * wickr_node_array_new(uint32_t node_count)
wickr_buffer_t * wickr_node_serialize(const wickr_node_t *node)
Represents a key pair used for message key exchanges within the Wickr Messaging Protocol.
Definition: ephemeral_keypair.h:62
wickr_node_status
Definition: node.h:57
wickr_buffer_t * _status_cache
Definition: node.h:92
bool wickr_node_verify_signature_chain(wickr_node_t *node, 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
wickr_node_t * wickr_node_copy(const wickr_node_t *source)
wickr_node_t * wickr_node_create(wickr_buffer_t *dev_id, wickr_identity_chain_t *id_chain, wickr_ephemeral_keypair_t *ephemeral_keypair)
wickr_node_array_t * wickr_node_array_copy(const wickr_node_array_t *array)
void wickr_node_destroy(wickr_node_t **node)
void wickr_node_array_destroy(wickr_node_array_t **array)
wickr_identity_chain_t * id_chain
Definition: node.h:89