rpm  4.13.0
rpmsign.h
Go to the documentation of this file.
1 #ifndef _RPMSIGN_H
2 #define _RPMSIGN_H
3 
4 #include <rpm/argv.h>
5 #include <rpm/rpmpgp.h>
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 struct rpmSignArgs {
12  char *keyid;
14  int signfiles;
15  /* ... what else? */
16 };
17 
24 int rpmPkgSign(const char *path, const struct rpmSignArgs * args);
25 
31 int rpmPkgDelSign(const char *path);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /* _RPMSIGN_H */
int rpmPkgSign(const char *path, const struct rpmSignArgs *args)
Sign a package.
enum pgpHashAlgo_e pgpHashAlgo
9.4.
pgpHashAlgo hashalgo
Definition: rpmsign.h:13
int rpmPkgDelSign(const char *path)
Delete signature(s) from a package.
char * keyid
Definition: rpmsign.h:12
int signfiles
Definition: rpmsign.h:14