rpm/lib/rpmsignfiles.h

24 lines
468 B
C

#ifndef H_RPMSIGNFILES
#define H_RPMSIGNFILES
#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
*/
rpmRC rpmSignFiles(Header h, const char *key, char *keypass);
char *get_fskpass(void); /* get file signing key password */
#ifdef _cplusplus
}
#endif
#endif /* H_RPMSIGNFILES */