rpm
4.15.1
sign
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
;
18
pgpHashAlgo
hashalgo
;
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 */
rpmPkgSign
int rpmPkgSign(const char *path, const struct rpmSignArgs *args)
Sign a package.
rpmSignArgs::hashalgo
pgpHashAlgo hashalgo
Definition:
rpmsign.h:18
pgpHashAlgo
enum pgpHashAlgo_e pgpHashAlgo
9.4.
rpmSignArgs
Definition:
rpmsign.h:16
rpmPkgDelSign
int rpmPkgDelSign(const char *path, const struct rpmSignArgs *args)
Delete signature(s) from a package.
rpmSignArgs::keyid
char * keyid
Definition:
rpmsign.h:17
rpmSignArgs::signfiles
int signfiles
Definition:
rpmsign.h:19
Generated by
1.8.15