Software APIs
Data Fields
perso_tlv_cert_obj Struct Reference

A helper structure for quick access to a certificate stored as a perso LTV object. More...

#include <sw/device/silicon_creator/manuf/base/perso_tlv_data.h>

Data Fields

uint8_t * obj_p
 Pointer to the start of the perso LTV object.
 
size_t obj_size
 LTV object size (in bytes).
 
uint32_t obj_type
 LTV object type.
 
uint8_t * cert_body_p
 Pointer to the start of the certificate body (i.e., ASN.1 object for X.509 certificates, or CBOR object for CWT certificates).
 
size_t cert_body_size
 Certificate (ASN.1 or CBOR) body size (in bytes). More...
 
char name [kCrthNameSizeFieldMask+1]
 Certificate name string.
 

Detailed Description

A helper structure for quick access to a certificate stored as a perso LTV object.

Definition at line 116 of file perso_tlv_data.h.

Field Documentation

◆ cert_body_p

uint8_t* perso_tlv_cert_obj::cert_body_p

Pointer to the start of the certificate body (i.e., ASN.1 object for X.509 certificates, or CBOR object for CWT certificates).

Definition at line 133 of file perso_tlv_data.h.

◆ cert_body_size

size_t perso_tlv_cert_obj::cert_body_size

Certificate (ASN.1 or CBOR) body size (in bytes).

Equal to: obj_size - obj_hdr_size - cert_hdr_size - cert_name_len

Definition at line 139 of file perso_tlv_data.h.

◆ name

char perso_tlv_cert_obj::name[kCrthNameSizeFieldMask+1]

Certificate name string.

Definition at line 143 of file perso_tlv_data.h.

◆ obj_p

uint8_t* perso_tlv_cert_obj::obj_p

Pointer to the start of the perso LTV object.

Definition at line 120 of file perso_tlv_data.h.

◆ obj_size

size_t perso_tlv_cert_obj::obj_size

LTV object size (in bytes).

Definition at line 124 of file perso_tlv_data.h.

◆ obj_type

uint32_t perso_tlv_cert_obj::obj_type

LTV object type.

Definition at line 128 of file perso_tlv_data.h.