Loading...
Searching...
No Matches
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 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);
char * rpmPubkeyBase64(rpmPubkey key);
pgpDigParams rpmPubkeyPgpDigParams(rpmPubkey key);
#ifdef __cplusplus
}
#endif
#endif /* _RPMKEYDB_H */
rpmPubkeyRead
rpmPubkey rpmPubkeyRead(const char *filename)
rpmPubkeyBase64
char * rpmPubkeyBase64(rpmPubkey key)
rpmKeyringFree
rpmKeyring rpmKeyringFree(rpmKeyring keyring)
rpmKeyringAddKey
int rpmKeyringAddKey(rpmKeyring keyring, rpmPubkey key)
rpmPubkeyNew
rpmPubkey rpmPubkeyNew(const uint8_t *pkt, size_t pktlen)
rpmKeyringLink
rpmKeyring rpmKeyringLink(rpmKeyring keyring)
rpmKeyringNew
rpmKeyring rpmKeyringNew(void)
rpmPubkeyFree
rpmPubkey rpmPubkeyFree(rpmPubkey key)
rpmPubkeyPgpDigParams
pgpDigParams rpmPubkeyPgpDigParams(rpmPubkey key)
rpmGetSubkeys
rpmPubkey * rpmGetSubkeys(rpmPubkey mainkey, int *count)
rpmPubkeyLink
rpmPubkey rpmPubkeyLink(rpmPubkey key)
rpmKeyringVerifySig
rpmRC rpmKeyringVerifySig(rpmKeyring keyring, pgpDigParams sig, DIGEST_CTX ctx)
rpmRC
enum rpmRC_e rpmRC
rpmpgp.h
rpmtypes.h