22 #ifndef ephemeral_keypair_h 23 #define ephemeral_keypair_h 28 #include "crypto_engine.h" wickr_buffer_t * wickr_ephemeral_keypair_serialize(const wickr_ephemeral_keypair_t *keypair)
A signing identity on the Wickr system.
Definition: identity.h:85
Representation of public and private Elliptic Curve Keypair information as buffers.
Definition: eckey.h:90
wickr_ephemeral_keypair_t * wickr_ephemeral_keypair_copy(const wickr_ephemeral_keypair_t *source)
wickr_ec_key_t * ec_key
Definition: ephemeral_keypair.h:64
Represents an array of bytes and the length of the allocation associated with those bytes.
Definition: buffer.h:51
void wickr_ephemeral_keypair_destroy(wickr_ephemeral_keypair_t **keypair)
wickr_ephemeral_keypair_t * wickr_ephemeral_keypair_create(uint64_t identifier, wickr_ec_key_t *ec_key, wickr_ecdsa_result_t *signature)
Elliptic Curve Digital Signature Algorithm Result.
Definition: ecdsa.h:54
wickr_ephemeral_keypair_t * wickr_ephemeral_keypair_create_from_buffer(const wickr_buffer_t *buffer, const wickr_crypto_engine_t *engine)
Represents a key pair used for message key exchanges within the Wickr Messaging Protocol.
Definition: ephemeral_keypair.h:62
wickr_ephemeral_keypair_t * wickr_ephemeral_keypair_generate_identity(const wickr_crypto_engine_t *engine, uint64_t identifier, const wickr_identity_t *identity)
wickr_ecdsa_result_t * signature
Definition: ephemeral_keypair.h:65
uint64_t identifier
Definition: ephemeral_keypair.h:63
void wickr_ephemeral_keypair_make_public(const wickr_ephemeral_keypair_t *keypair)
bool wickr_ephemeral_keypair_verify_owner(const wickr_ephemeral_keypair_t *keypair, const wickr_crypto_engine_t *engine, const wickr_identity_t *owner)
Interface to a set of cryptographic operations used throughout the library. Currently the default imp...
Definition: crypto_engine.h:53