lib/signature.h - Generate and verify signatures.
#include <header.h>
#define RPMLOOKUPSIG_QUERY 0
#define RPMLOOKUPSIG_DISABLE 1
#define RPMLOOKUPSIG_ENABLE 2
typedef enum sigType_e sigType
typedef enum pgpVersion_e pgpVersion
enum sigType_e { RPMSIGTYPE_NONE = 0, RPMSIGTYPE_PGP262_1024 = 1, RPMSIGTYPE_BAD = 2, RPMSIGTYPE_MD5 = 3, RPMSIGTYPE_MD5_PGP = 4, RPMSIGTYPE_HEADERSIG = 5, RPMSIGTYPE_DISABLE = 6 }
enum pgpVersion_e { PGP_NOTDETECTED = -1, PGP_UNKNOWN = 0, PGP_2 = 2, PGP_5 = 5 }
Header rpmNewSignature (void)
rpmRC rpmReadSignature (FD_t fd, Header *headerp, sigType sig_type)
int rpmWriteSignature (FD_t fd, Header h)
int rpmAddSignature (Header h, const char *file, int_32 sigTag, const char *passPhrase)
int rpmLookupSignatureType (int action)
char * rpmGetPassPhrase (const char *prompt, const int sigTag)
const char * rpmDetectPGPVersion (pgpVersion *pgpVer)
Generate and verify signatures.
Definition in file signature.h.
Definition at line 81 of file signature.h.
Referenced by main(), and rpmLookupSignatureType().
Definition at line 82 of file signature.h.
Referenced by rpmLookupSignatureType().
Definition at line 80 of file signature.h.
Referenced by main(), rpmLookupSignatureType(), rpmReSign(), and writeRPM().
Generated automatically by Doxygen for rpm from the source code.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |