rpm
4.13.0
sign
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
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 */
rpmPkgSign
int rpmPkgSign(const char *path, const struct rpmSignArgs *args)
Sign a package.
pgpHashAlgo
enum pgpHashAlgo_e pgpHashAlgo
9.4.
rpmSignArgs::hashalgo
pgpHashAlgo hashalgo
Definition:
rpmsign.h:13
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
rpmSignArgs::signfiles
int signfiles
Definition:
rpmsign.h:14
Generated by
1.8.12