CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
xsig.h File Reference
#include "mod_gpg/GpgRecvStore.h"
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::mod_gpg

Functions

bool cdc::mod_gpg::gpgCrossSign (const gpg_recv_key_t &target, uint32_t sig_creation_time, uint8_t out_sig[64])
 Cross-sign a received key with the badge's own SIG ECC slot.
bool cdc::mod_gpg::gpgBuildSignedKeyArmored (const gpg_recv_key_t &key, char *out, size_t out_size, size_t *out_len)
 Build an ASCII-armored OpenPGP block carrying the cross-signed key.