rpm  4.11.1-rc1
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 
20 
26 
33 int rpmKeyringAddKey(rpmKeyring keyring, rpmPubkey key);
34 
42 
51 
58 
65 rpmPubkey rpmPubkeyNew(const uint8_t *pkt, size_t pktlen);
66 
72 rpmPubkey rpmPubkeyRead(const char *filename);
73 
80 
87 
94 
100 char * rpmPubkeyBase64(rpmPubkey key);
101 
102 #ifdef __cplusplus
103 }
104 #endif
105 #endif /* _RPMKEYDB_H */