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 *rpmGetSubkeys(rpmPubkey mainkey, int *count);
rpmPubkey rpmPubkeyRead(const char *filename);
rpmPubkey rpmPubkeyFree(rpmPubkey key);
rpmPubkey rpmPubkeyLink(rpmPubkey key);
pgpDig rpmPubkeyDig(rpmPubkey key);
char * rpmPubkeyBase64(rpmPubkey key);
pgpDigParams rpmPubkeyPgpDigParams(rpmPubkey key);
#ifdef __cplusplus
}
#endif
#endif /* _RPMKEYDB_H */
rpmPubkeyBase64
char * rpmPubkeyBase64(rpmPubkey key)
rpmKeyring
struct rpmKeyring_s * rpmKeyring
Definition: rpmtypes.h:81
rpmKeyringAddKey
int rpmKeyringAddKey(rpmKeyring keyring, rpmPubkey key)
rpmPubkeyLink
rpmPubkey rpmPubkeyLink(rpmPubkey key)
rpmRC
enum rpmRC_e rpmRC
rpmKeyringFree
rpmKeyring rpmKeyringFree(rpmKeyring keyring)
rpmKeyringVerifySig
rpmRC rpmKeyringVerifySig(rpmKeyring keyring, pgpDigParams sig, DIGEST_CTX ctx)
rpmKeyringNew
rpmKeyring rpmKeyringNew(void)
rpmKeyringLink
rpmKeyring rpmKeyringLink(rpmKeyring keyring)
rpmPubkeyFree
rpmPubkey rpmPubkeyFree(rpmPubkey key)
rpmGetSubkeys
rpmPubkey * rpmGetSubkeys(rpmPubkey mainkey, int *count)
pgpDig
struct pgpDig_s * pgpDig
Definition: rpmpgp.h:34
rpmPubkey
struct rpmPubkey_s * rpmPubkey
Definition: rpmtypes.h:80
pgpDigParams
struct pgpDigParams_s * pgpDigParams
Definition: rpmpgp.h:38
rpmKeyringLookup
rpmRC rpmKeyringLookup(rpmKeyring keyring, pgpDig sig)
rpmPubkeyPgpDigParams
pgpDigParams rpmPubkeyPgpDigParams(rpmPubkey key)
rpmPubkeyRead
rpmPubkey rpmPubkeyRead(const char *filename)
DIGEST_CTX
struct DIGEST_CTX_s * DIGEST_CTX
Definition: rpmpgp.h:29
rpmPubkeyNew
rpmPubkey rpmPubkeyNew(const uint8_t *pkt, size_t pktlen)
rpmPubkeyDig
pgpDig rpmPubkeyDig(rpmPubkey key)