"Fossies" - the Fresh Open Source Software Archive

Member "rpm-4.15.1/doc/librpm/html/rpmsign_8h_source.html" (13 Nov 2019, 8800 Bytes) of package /linux/misc/rpm-4.15.1.tar.bz2:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the rpm-4.15.1.tar.bz2 project site itself.

rpm  4.15.0
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