rpmkeyring.h
Go to the documentation of this file.
#ifndef _RPMKEYRING_H
#define _RPMKEYRING_H
#include <rpm/rpmtypes.h>
#include <rpm/rpmpgp.h>
#ifdef __cplusplus
extern "C" {
#endif
rpmKeyring rpmKeyringNew(void);
rpmKeyring rpmKeyringFree(rpmKeyring keyring);
int rpmKeyringAddKey(rpmKeyring keyring, rpmPubkey key);
rpmRC rpmKeyringLookup(rpmKeyring keyring, pgpDig sig);
rpmRC rpmKeyringVerifySig(rpmKeyring keyring, pgpDigParams sig, DIGEST_CTX ctx);
rpmKeyring rpmKeyringLink(rpmKeyring keyring);
rpmPubkey rpmPubkeyNew(const uint8_t *pkt, size_t pktlen);
rpmPubkey rpmPubkeyRead(const char *filename);
rpmPubkey rpmPubkeyFree(rpmPubkey key);
rpmPubkey rpmPubkeyLink(rpmPubkey key);
pgpDig rpmPubkeyDig(rpmPubkey key);
char * rpmPubkeyBase64(rpmPubkey key);
#ifdef __cplusplus
}
#endif
#endif /* _RPMKEYDB_H */