CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::mod_gpg::gpg_self_cert_t Struct Reference

One third-party certification received over the badge's own key. More...

#include <GpgSelfCertStore.h>

Public Attributes

uint8_t issuer_fp_v4 [20]
 Issuer (signer) v4 fingerprint.
char issuer_uid [64]
 Issuer user-id (display only).
uint32_t received_at
 Receive timestamp (RTC).
uint16_t sig_pkt_len
 Length of sig_pkt.
uint8_t sig_pkt [kGpgSelfCertSigMax]

Detailed Description

One third-party certification received over the badge's own key.

Persisted as a single NVS blob per issuer. sig_pkt holds the verbatim OpenPGP Signature Packet body (Tag 2 content, no tag/length header) produced by the issuer over this badge's public key; it is re-emitted unchanged when the badge exports its own public key, so the certification merges onto the key in a GPG keyring.

Definition at line 21 of file GpgSelfCertStore.h.

Member Data Documentation

◆ issuer_fp_v4

uint8_t cdc::mod_gpg::gpg_self_cert_t::issuer_fp_v4[20]

◆ issuer_uid

char cdc::mod_gpg::gpg_self_cert_t::issuer_uid[64]

◆ received_at

uint32_t cdc::mod_gpg::gpg_self_cert_t::received_at

Receive timestamp (RTC).

Definition at line 24 of file GpgSelfCertStore.h.

Referenced by cdc::mod_gpg::gpgParseCertPayload(), and cdc::mod_gpg::GpgSelfCertStore::listIndex().

◆ sig_pkt

uint8_t cdc::mod_gpg::gpg_self_cert_t::sig_pkt[kGpgSelfCertSigMax]

◆ sig_pkt_len

uint16_t cdc::mod_gpg::gpg_self_cert_t::sig_pkt_len

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