rpm  4.12.0.1
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  /* ... what else? */
15 };
16 
24 int rpmPkgSign(const char *path,
25  const struct rpmSignArgs * args, const char *passPhrase);
26 
32 int rpmPkgDelSign(const char *path);
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 
38 #endif /* _RPMSIGN_H */
int rpmPkgSign(const char *path, const struct rpmSignArgs *args, const char *passPhrase)
Sign a package.
pgpHashAlgo hashalgo
Definition: rpmsign.h:13
enum pgpHashAlgo_e pgpHashAlgo
9.4.
int rpmPkgDelSign(const char *path)
Delete signature(s) from a package.
char * keyid
Definition: rpmsign.h:12