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 91 of file client.h.

Field Documentation

◆ ca_cert

const uint8_t* golioth_pki_credential::ca_cert

Definition at line 94 of file client.h.

◆ ca_cert_len

size_t golioth_pki_credential::ca_cert_len

Definition at line 95 of file client.h.

◆ private_key

const uint8_t* golioth_pki_credential::private_key

DER Private client key.

Definition at line 102 of file client.h.

◆ private_key_len

size_t golioth_pki_credential::private_key_len

Definition at line 103 of file client.h.

◆ public_cert

const uint8_t* golioth_pki_credential::public_cert

DER Public client cert.

Definition at line 98 of file client.h.

◆ public_cert_len

size_t golioth_pki_credential::public_cert_len

Definition at line 99 of file client.h.

◆ secondary_ca_cert

const uint8_t* golioth_pki_credential::secondary_ca_cert

DER secondary Common CA cert.

Definition at line 106 of file client.h.

◆ secondary_ca_cert_len

size_t golioth_pki_credential::secondary_ca_cert_len

Definition at line 107 of file client.h.


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