PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
static int | read_pubkey_keyid (PullFilter *pkt, uint8 *keyid_buf) |
static int | read_pubenc_keyid (PullFilter *pkt, uint8 *keyid_buf) |
static int | print_key (uint8 *keyid, char *dst) |
int | pgp_get_keyid (MBuf *pgp_data, char *dst) |
Variables | |
static const char | hextbl [] = "0123456789ABCDEF" |
static const uint8 | any_key [] |
int pgp_get_keyid | ( | MBuf * | pgp_data, |
char * | dst | ||
) |
Definition at line 112 of file pgp-info.c.
References any_key, len, pgp_create_pkt_reader(), pgp_parse_pkt_hdr(), PGP_PKT_MARKER, PGP_PKT_PRIV_61, PGP_PKT_PUBENCRYPTED_SESSKEY, PGP_PKT_PUBLIC_KEY, PGP_PKT_PUBLIC_SUBKEY, PGP_PKT_SECRET_KEY, PGP_PKT_SECRET_SUBKEY, PGP_PKT_SIGNATURE, PGP_PKT_SYMENCRYPTED_DATA, PGP_PKT_SYMENCRYPTED_DATA_MDC, PGP_PKT_SYMENCRYPTED_SESSKEY, PGP_PKT_TRUST, PGP_PKT_USER_ATTR, PGP_PKT_USER_ID, pgp_skip_packet(), print_key(), pullf_create_mbuf_reader(), pullf_free(), PXE_PGP_CORRUPT_DATA, PXE_PGP_MULTIPLE_KEYS, PXE_PGP_NO_USABLE_KEY, read_pubenc_keyid(), read_pubkey_keyid(), and res.
Referenced by pgp_key_id_w().
|
static |
|
static |
Definition at line 71 of file pgp-info.c.
References GETBYTE, pgp_skip_packet(), pullf_read_fixed(), and res.
Referenced by pgp_get_keyid().
|
static |
Definition at line 38 of file pgp-info.c.
References _pgp_read_public_key(), PGP_PubKey::algo, err(), PGP_PubKey::key_id, pgp_key_free(), PGP_PUB_ELG_ENCRYPT, PGP_PUB_RSA_ENCRYPT, PGP_PUB_RSA_ENCRYPT_SIGN, pgp_skip_packet(), and res.
Referenced by pgp_get_keyid().
|
static |
Definition at line 105 of file pgp-info.c.
Referenced by pgp_get_keyid().
|
static |
Definition at line 87 of file pgp-info.c.
Referenced by appendByteaLiteral(), ecpg_hex_encode(), and print_key().