static void pgpPrtVal(const char * pre, pgpValTbl vs, uint8_t val) { if (!_print) return; if (pre && *pre) fprintf(stderr, "%s", pre); fprintf(stderr, "%s(%u)", pgpValStr(vs, val), (unsigned)val); }
static const char * rpmcdsaPubkeyAlgo2Name(uint32_t algo) { return pgpValStr(pgpPubkeyTbl, (rpmuint8_t)algo); }
static const char * rpmcdsaHashAlgo2Name(uint32_t algo) { return pgpValStr(pgpHashTbl, (rpmuint8_t)algo); }
const char * pgpValString(pgpValType type, uint8_t val) { pgpValTbl tbl = pgpValTable(type); return (tbl != NULL) ? pgpValStr(tbl, val) : NULL; }