Client side certificate I/O functions for TNG devices. More...
Functions | |
int | tng_atcacert_max_device_cert_size (size_t *max_cert_size) |
Return the maximum possible certificate size in bytes for a TNG device certificate. Certificate can be variable size, so this gives an appropriate buffer size when reading the certificate. | |
int | tng_atcacert_read_device_cert (uint8_t *cert, size_t *cert_size, const uint8_t *signer_cert) |
Reads the device certificate for a TNG device. | |
int | tng_atcacert_device_public_key (uint8_t *public_key, uint8_t *cert) |
Reads the device public key. | |
int | tng_atcacert_max_signer_cert_size (size_t *max_cert_size) |
Return the maximum possible certificate size in bytes for a TNG signer certificate. Certificate can be variable size, so this gives an appropriate buffer size when reading the certificate. | |
int | tng_atcacert_read_signer_cert (uint8_t *cert, size_t *cert_size) |
Reads the signer certificate for a TNG device. | |
int | tng_atcacert_signer_public_key (uint8_t *public_key, uint8_t *cert) |
Reads the signer public key. | |
int | tng_atcacert_root_cert_size (size_t *cert_size) |
Get the size of the TNG root cert. | |
int | tng_atcacert_root_cert (uint8_t *cert, size_t *cert_size) |
Get the TNG root cert. | |
int | tng_atcacert_root_public_key (uint8_t *public_key) |
Gets the root public key. | |
Client side certificate I/O functions for TNG devices.