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
 
const uint8_t * secondary_ca_cert
 DER secondary Common CA cert.
 
size_t secondary_ca_cert_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 97 of file client.h.

Field Documentation

◆ ca_cert

const uint8_t* golioth_pki_credential::ca_cert

Definition at line 100 of file client.h.

◆ ca_cert_len

size_t golioth_pki_credential::ca_cert_len

Definition at line 101 of file client.h.

◆ private_key

const uint8_t* golioth_pki_credential::private_key

DER Private client key.

Definition at line 108 of file client.h.

◆ private_key_len

size_t golioth_pki_credential::private_key_len

Definition at line 109 of file client.h.

◆ public_cert

const uint8_t* golioth_pki_credential::public_cert

DER Public client cert.

Definition at line 104 of file client.h.

◆ public_cert_len

size_t golioth_pki_credential::public_cert_len

Definition at line 105 of file client.h.

◆ secondary_ca_cert

const uint8_t* golioth_pki_credential::secondary_ca_cert

DER secondary Common CA cert.

Definition at line 112 of file client.h.

◆ secondary_ca_cert_len

size_t golioth_pki_credential::secondary_ca_cert_len

Definition at line 113 of file client.h.


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