26 uint32_t sig_creation_time,
77 char* out,
size_t out_size,
94 char* out,
size_t out_size,
113 uint8_t self_sig[64], uint8_t binding_sig[64]);
size_t buildCertSigPacket(const gpg_recv_key_t &key, uint8_t *out, size_t out_size)
Build the OpenPGP Signature Packet body certifying key.
bool gpgBuildOwnSubkeyMaterial(uint8_t dec_pubkey[64], uint32_t *dec_created_at, uint8_t self_sig[64], uint8_t binding_sig[64])
Gather the badge's own encryption-subkey material for transfer.
bool gpgBuildOwnSignedKeyArmored(char *out, size_t out_size, size_t *out_len)
Build an ASCII-armored OpenPGP block for the badge's own public key, appending every stored third-par...
bool 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 gpgBuildPublicKeyArmored(const gpg_recv_key_t &key, char *out, size_t out_size, size_t *out_len)
Build an ASCII-armored OpenPGP public-key block (no signature).
bool gpgBuildReceivedKeyArmored(const gpg_recv_key_t &key, char *out, size_t out_size, size_t *out_len)
Build an ASCII-armored OpenPGP block for a received peer key.
One GPG public key received from another badge.