rpm  4.15.1
rpmsign.h
Go to the documentation of this file.
1 #ifndef _RPMSIGN_H
2 #define _RPMSIGN_H
3 
9 #include <rpm/argv.h>
10 #include <rpm/rpmpgp.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 struct rpmSignArgs {
17  char *keyid;
19  int signfiles;
20  /* ... what else? */
21 };
22 
29 int rpmPkgSign(const char *path, const struct rpmSignArgs * args);
30 
37 int rpmPkgDelSign(const char *path, const struct rpmSignArgs * args);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif /* _RPMSIGN_H */
int rpmPkgSign(const char *path, const struct rpmSignArgs *args)
Sign a package.
pgpHashAlgo hashalgo
Definition: rpmsign.h:18
enum pgpHashAlgo_e pgpHashAlgo
9.4.
int rpmPkgDelSign(const char *path, const struct rpmSignArgs *args)
Delete signature(s) from a package.
char * keyid
Definition: rpmsign.h:17
int signfiles
Definition: rpmsign.h:19