rpm 4.11.1-rc1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmkeyring.h
Go to the documentation of this file.
1 #ifndef _RPMKEYRING_H
2 #define _RPMKEYRING_H
3
8 #include <rpm/rpmtypes.h>
9 #include <rpm/rpmpgp.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
19 rpmKeyring rpmKeyringNew(void);
20
25 rpmKeyring rpmKeyringFree(rpmKeyring keyring);
26
33 int rpmKeyringAddKey(rpmKeyring keyring, rpmPubkey key);
34
41 rpmRC rpmKeyringLookup(rpmKeyring keyring, pgpDig sig);
42
50 rpmRC rpmKeyringVerifySig(rpmKeyring keyring, pgpDigParams sig, DIGEST_CTX ctx);
51
57 rpmKeyring rpmKeyringLink(rpmKeyring keyring);
58
65 rpmPubkey rpmPubkeyNew(const uint8_t *pkt, size_t pktlen);
66
72 rpmPubkey rpmPubkeyRead(const char *filename);
73
79 rpmPubkey rpmPubkeyFree(rpmPubkey key);
80
86 rpmPubkey rpmPubkeyLink(rpmPubkey key);
87
93 pgpDig rpmPubkeyDig(rpmPubkey key);
94
100 char * rpmPubkeyBase64(rpmPubkey key);
101
102 #ifdef __cplusplus
103 }
104 #endif
105 #endif /* _RPMKEYDB_H */