Files | |
file | rpmkeyring.h |
Functions | |
rpmKeyring | rpmKeyringNew (void) |
Create a new, empty keyring. | |
rpmKeyring | rpmKeyringFree (rpmKeyring keyring) |
Free keyring and the keys within it. | |
int | rpmKeyringAddKey (rpmKeyring keyring, rpmPubkey key) |
Add a public key to keyring. | |
rpmRC | rpmKeyringLookup (rpmKeyring keyring, pgpDig sig) |
Perform keyring lookup for a key matching a signature. | |
rpmKeyring | rpmKeyringLink (rpmKeyring keyring) |
Reference a keyring. | |
rpmKeyring | rpmKeyringUnlink (rpmKeyring keyring) |
Unreference a keyring. | |
rpmPubkey | rpmPubkeyNew (const uint8_t *pkt, size_t pktlen) |
Create a new rpmPubkey from OpenPGP packet. | |
rpmPubkey | rpmPubkeyRead (const char *filename) |
Create a new rpmPubkey from ASCII-armored pubkey file. | |
rpmPubkey | rpmPubkeyFree (rpmPubkey key) |
Free a pubkey. | |
rpmPubkey | rpmPubkeyLink (rpmPubkey key) |
Reference a pubkey. | |
rpmPubkey | rpmPubkeyUnlink (rpmPubkey key) |
Unreference a pubkey. | |
pgpDig | rpmPubkeyDig (rpmPubkey key) |
Parse OpenPGP pubkey parameters. | |
char * | rpmPubkeyBase64 (rpmPubkey key) |
Return base64 encoding of pubkey. |
int rpmKeyringAddKey | ( | rpmKeyring | keyring, | |
rpmPubkey | key | |||
) |
Add a public key to keyring.
keyring | keyring handle | |
key | pubkey handle |
rpmKeyring rpmKeyringFree | ( | rpmKeyring | keyring | ) |
Free keyring and the keys within it.
rpmKeyring rpmKeyringLink | ( | rpmKeyring | keyring | ) |
Reference a keyring.
keyring | keyring handle |
rpmRC rpmKeyringLookup | ( | rpmKeyring | keyring, | |
pgpDig | sig | |||
) |
Perform keyring lookup for a key matching a signature.
keyring | keyring handle | |
sig | OpenPGP packet container of signature |
rpmKeyring rpmKeyringNew | ( | void | ) |
Create a new, empty keyring.
rpmKeyring rpmKeyringUnlink | ( | rpmKeyring | keyring | ) |
Unreference a keyring.
keyring | keyring handle |
char* rpmPubkeyBase64 | ( | rpmPubkey | key | ) |
Return base64 encoding of pubkey.
key | Pubkey |
Parse OpenPGP pubkey parameters.
key | Pubkey |
Free a pubkey.
key | Pubkey to free |
Reference a pubkey.
key | Pubkey |
rpmPubkey rpmPubkeyNew | ( | const uint8_t * | pkt, | |
size_t | pktlen | |||
) |
Create a new rpmPubkey from OpenPGP packet.
pkt | OpenPGP packet data | |
pktlen | Data length |
rpmPubkey rpmPubkeyRead | ( | const char * | filename | ) |
Create a new rpmPubkey from ASCII-armored pubkey file.
filename | Path to pubkey file |
Unreference a pubkey.
key | Pubkey |