Google Cloud IoT device SDK for embedded C  1.0.2
iotc_crypto_key_union_u Union Reference

#include <iotc_types.h>

Data Fields

struct {
   char *   key
 
key_pem
 
struct {
   uint8_t   slot_id
 
key_slot
 
struct {
   void *   data
 
   size_t   data_size
 
key_custom
 

Detailed Description

The public or private key data.

Definition at line 220 of file iotc_types.h.

Field Documentation

◆ data

void* data

The data in the format that the BSP determined.

Definition at line 236 of file iotc_types.h.

◆ data_size

size_t data_size

The size, in bytes, of the untyped data.

Definition at line 238 of file iotc_types.h.

◆ key

char* key

The text of the public or private key.

Definition at line 224 of file iotc_types.h.

◆ key_custom

struct { ... } key_custom

Untyped data. The BSP determines the data format.

◆ key_pem

struct { ... } key_pem

A PEM-formatted public or private key.

◆ key_slot

struct { ... } key_slot

The slot IDs of secure elements.

◆ slot_id

uint8_t slot_id

A slot ID.

Definition at line 230 of file iotc_types.h.


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