rpm 4.11.90

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

- File List
- Globals

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;
13 pgpHashAlgo hashalgo;
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 */
rpmPkgSign
int rpmPkgSign(const char *path, const struct rpmSignArgs *args, const char *passPhrase)
Sign a package.
rpmSignArgs::hashalgo
pgpHashAlgo hashalgo
Definition: rpmsign.h:13
pgpHashAlgo
enum pgpHashAlgo_e pgpHashAlgo
9.4.
rpmSignArgs
Definition: rpmsign.h:11
rpmPkgDelSign
int rpmPkgDelSign(const char *path)
Delete signature(s) from a package.
rpmSignArgs::keyid
char * keyid
Definition: rpmsign.h:12