wickr-crypto-c
|
Represents a key pair used for message key exchanges within the Wickr Messaging Protocol. More...
#include <ephemeral_keypair.h>
Data Fields | |
uint64_t | identifier |
wickr_ec_key_t * | ec_key |
wickr_ecdsa_result_t * | signature |
Represents a key pair used for message key exchanges within the Wickr Messaging Protocol.
Ephemeral kaypairs are identifiable by an integer value, and are signed by the node that generated the key. The additional properties outside of the key material itself provide clarity for both a message sender and receiver. For the sender, the signature can provide authenticity of the public key material if the key pair is retrived from a public place such as a server. The identifier can be passed as metadata by the sender so that the receiver has knowledge of which private key from their active pool to use decode the message. The goal of ephemeral keypairs is to provide an as constant as possible rotation / destruction cycle
wickr_ephemeral_keypair::ec_key |
underlying Elliptic curve key pair to use
wickr_ephemeral_keypair::identifier |
identifier to associate with this key pair so it can be cataloged and later recalled when used
wickr_ephemeral_keypair::signature |
a signature of the 'ec_key' public component