rpm
4.14.0
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
+
Data Fields
+
All
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Variables
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
h
i
l
m
p
q
r
s
t
u
v
x
+
Functions
a
f
h
p
r
s
u
Variables
+
Typedefs
a
b
d
e
f
h
p
q
r
u
+
Enumerations
a
f
h
p
r
u
+
Enumerator
a
b
c
f
h
i
l
p
q
r
s
t
u
v
x
+
Macros
_
a
d
h
i
p
r
u
v
x
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.13