rpm 4.19.0
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
14extern "C" {
15#endif
16
21rpmKeyring rpmKeyringNew(void);
22
27rpmKeyring rpmKeyringFree(rpmKeyring keyring);
28
35int rpmKeyringAddKey(rpmKeyring keyring, rpmPubkey key);
36
44rpmRC 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
95char * rpmPubkeyBase64(rpmPubkey key);
96
102pgpDigParams rpmPubkeyPgpDigParams(rpmPubkey key);
103
104#ifdef __cplusplus
105}
106#endif
107#endif /* _RPMKEYDB_H */
rpmPubkey rpmPubkeyRead(const char *filename)
char * rpmPubkeyBase64(rpmPubkey key)
rpmKeyring rpmKeyringFree(rpmKeyring keyring)
int rpmKeyringAddKey(rpmKeyring keyring, rpmPubkey key)
rpmPubkey rpmPubkeyNew(const uint8_t *pkt, size_t pktlen)
rpmKeyring rpmKeyringLink(rpmKeyring keyring)
rpmKeyring rpmKeyringNew(void)
rpmPubkey rpmPubkeyFree(rpmPubkey key)
pgpDigParams rpmPubkeyPgpDigParams(rpmPubkey key)
rpmPubkey * rpmGetSubkeys(rpmPubkey mainkey, int *count)
rpmPubkey rpmPubkeyLink(rpmPubkey key)
rpmRC rpmKeyringVerifySig(rpmKeyring keyring, pgpDigParams sig, DIGEST_CTX ctx)
enum rpmRC_e rpmRC