Golioth Firmware SDK
Loading...
Searching...
No Matches
golioth_pki_credential Struct Reference

#include <client.h>

Data Fields

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

Detailed Description

Public Key Infrastructure (PKI) credential (aka "certificate").

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

Definition at line 99 of file client.h.

Field Documentation

◆ ca_cert

const uint8_t* golioth_pki_credential::ca_cert

Definition at line 102 of file client.h.

◆ ca_cert_len

size_t golioth_pki_credential::ca_cert_len

Definition at line 103 of file client.h.

◆ private_key

const uint8_t* golioth_pki_credential::private_key

DER Private client key.

Definition at line 110 of file client.h.

◆ private_key_len

size_t golioth_pki_credential::private_key_len

Definition at line 111 of file client.h.

◆ public_cert

const uint8_t* golioth_pki_credential::public_cert

DER Public client cert.

Definition at line 106 of file client.h.

◆ public_cert_len

size_t golioth_pki_credential::public_cert_len

Definition at line 107 of file client.h.


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