wickr-crypto-c

Data Fields
wickr_ephemeral_keypair Struct Reference
Wickr_ephemeral_keypair

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

## Detailed Description

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

## Field Documentation

## ◆ ec_key

wickr_ephemeral_keypair::ec_key

underlying Elliptic curve key pair to use

## ◆ identifier

wickr_ephemeral_keypair::identifier

identifier to associate with this key pair so it can be cataloged and later recalled when used

## ◆ signature

wickr_ephemeral_keypair::signature

a signature of the 'ec_key' public component

The documentation for this struct was generated from the following file:

- src/wickrcrypto/include/wickrcrypto/ephemeral_keypair.h