blob: 4163fafde7830b1547754cbb105acabafbef224b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef H_RPMSIGNFILES
#define H_RPMSIGNFILES
#include <rpm/rpmtypes.h>
#include <rpm/rpmutil.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* Sign file digests in header and store the signatures in header
* @param h package header
* @param key signing key
* @param keypass signing key password
* @return RPMRC_OK on success
*/
RPM_GNUC_INTERNAL
rpmRC rpmSignFiles(Header h, const char *key, char *keypass);
#ifdef _cplusplus
}
#endif
#endif /* H_RPMSIGNFILES */
|