Golioth Firmware SDK
golioth_pki_credentials_t Struct Reference

#include <golioth_client.h>

Data Fields

const uint8_t * ca_cert
size_t ca_cert_len
const uint8_t * public_cert
 PEM Public client cert. More...
size_t public_cert_len
const uint8_t * private_key
 PEM Private client key. More...
size_t private_key_len

Detailed Description

Public Key Infrastructure (PKI) credentials (aka "certificates").

All memory is owned by user and must persist for the lifetime of the golioth client.

Definition at line 81 of file golioth_client.h.

Field Documentation

◆ ca_cert

const uint8_t* golioth_pki_credentials_t::ca_cert

Definition at line 83 of file golioth_client.h.

◆ ca_cert_len

size_t golioth_pki_credentials_t::ca_cert_len

Definition at line 84 of file golioth_client.h.

◆ private_key

const uint8_t* golioth_pki_credentials_t::private_key

PEM Private client key.

Definition at line 91 of file golioth_client.h.

◆ private_key_len

size_t golioth_pki_credentials_t::private_key_len

Definition at line 92 of file golioth_client.h.

◆ public_cert

const uint8_t* golioth_pki_credentials_t::public_cert

PEM Public client cert.

Definition at line 87 of file golioth_client.h.

◆ public_cert_len

size_t golioth_pki_credentials_t::public_cert_len

Definition at line 88 of file golioth_client.h.

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