rpm 4.20.1 The RPM Package Manager

Loading...
Searching...
No Matches
rpmkeyring.h
Go to the documentation of this file.
1#ifndef _RPMKEYRING_H
2#define _RPMKEYRING_H
3
10#include <rpm/rpmtypes.h>
11#include <rpm/rpmpgp.h>
12
13#ifdef __cplusplus
14 extern "C" {
15#endif
16
21rpmKeyring rpmKeyringNew(void);
22
27rpmKeyring rpmKeyringFree(rpmKeyring keyring);
28
35 int rpmKeyringAddKey(rpmKeyring keyring, rpmPubkey key);
36
44 rpmRC rpmKeyringVerifySig(rpmKeyring keyring, pgpDigParams sig, DIGEST_CTX ctx);
45
51rpmKeyring rpmKeyringLink(rpmKeyring keyring);
52
59rpmPubkey rpmPubkeyNew(const uint8_t *pkt, size_t pktlen);
60
67rpmPubkey *rpmGetSubkeys(rpmPubkey mainkey, int *count);
68
74rpmPubkey rpmPubkeyRead(const char *filename);
75
81rpmPubkey rpmPubkeyFree(rpmPubkey key);
82
88rpmPubkey rpmPubkeyLink(rpmPubkey key);
89
95 char * rpmPubkeyBase64(rpmPubkey key);
96
102pgpDigParams rpmPubkeyPgpDigParams(rpmPubkey key);
103
104#ifdef __cplusplus
105}
106#endif
107#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