Kaa client C SDK
|
External interface for client keys manipulations. More...
#include <kaa/kaa_error.h>
Go to the source code of this file.
Functions | |
kaa_error_t | kaa_init_rsa_keypair (void) |
Performs initialization of the RSA keypair (if required). More... | |
void | kaa_deinit_rsa_keypair (void) |
Performs deinitialization of the RSA keypair. More... | |
void | ext_get_endpoint_public_key (const uint8_t **buffer, size_t *buffer_size) |
Returns the endpoint public key. More... | |
void | ext_get_sha1_public (uint8_t **sha1, size_t *length) |
Return sha1 of the endpoint public key. More... | |
kaa_error_t | ext_get_sha1_base64_public (const uint8_t **sha1, size_t *length) |
Return sha1 of the endpoint public key in base64 format. More... | |
External interface for client keys manipulations.
void ext_get_endpoint_public_key | ( | const uint8_t ** | buffer, |
size_t * | buffer_size | ||
) |
Returns the endpoint public key.
[out] | buffer | Pointer which will be set to internal buffer containing the key. |
[out] | buffer_size | Pointer to buffer's size. |
kaa_error_t ext_get_sha1_base64_public | ( | const uint8_t ** | sha1, |
size_t * | length | ||
) |
Return sha1 of the endpoint public key in base64 format.
[out] | sha1 | The pointer *sha1 will be initialized with SHA1 address of the RSA public key in base64 encoding |
[out] | length | The length of the SHA1. |
void ext_get_sha1_public | ( | uint8_t ** | sha1, |
size_t * | length | ||
) |
Return sha1 of the endpoint public key.
[out] | sha1 | The pointer *sha1 will be initialized with SHA1 address of the RSA public key. |
[out] | length | The length of the SHA1. |
void kaa_deinit_rsa_keypair | ( | void | ) |
Performs deinitialization of the RSA keypair.
kaa_error_t kaa_init_rsa_keypair | ( | void | ) |
Performs initialization of the RSA keypair (if required).