Searched refs:keyjson (Results 1 – 1 of 1) sorted by relevance
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/ |
| H A D | packet-print.c | 481 const pgp_key_t *key, mj_t *keyjson, const char *header, in pgp_sprint_mj() argument 496 (void) memset(keyjson, 0x0, sizeof(*keyjson)); in pgp_sprint_mj() 497 mj_create(keyjson, "object"); in pgp_sprint_mj() 498 mj_append_field(keyjson, "header", "string", header, -1); in pgp_sprint_mj() 499 mj_append_field(keyjson, "key bits", "integer", (int64_t) numkeybits(pubkey)); in pgp_sprint_mj() 500 mj_append_field(keyjson, "pka", "string", pgp_show_pka(pubkey->alg), -1); in pgp_sprint_mj() 501 …mj_append_field(keyjson, "key id", "string", strhexdump(keyid, key->sigid, PGP_KEY_ID_SIZE, ""), -… in pgp_sprint_mj() 502 mj_append_field(keyjson, "fingerprint", "string", in pgp_sprint_mj() 504 mj_append_field(keyjson, "birthtime", "integer", pubkey->birthtime); in pgp_sprint_mj() 505 mj_append_field(keyjson, "duration", "integer", pubkey->duration); in pgp_sprint_mj() [all …]
|