signature.h
Go to the documentation of this file.
#ifndef H_SIGNATURE
#define H_SIGNATURE
typedef enum pgpVersion_e {
PGP_NOTDETECTED = -1,
PGP_UNKNOWN = 0,
PGP_2 = 2,
PGP_5 = 5
} pgpVersion;
#ifdef __cplusplus
extern "C" {
#endif
int rpmTempFile(/*@null@*/ const char * prefix,
/*@null@*/ /*@out@*/ const char ** fnptr,
/*@out@*/ void * fdptr)
/*@globals rpmGlobalMacroContext, h_errno,
fileSystem, internalState @*/
/*@modifies *fnptr, *fdptr, rpmGlobalMacroContext,
fileSystem, internalState @*/;
int rpmAddSignature(Header sigh, const char * file,
rpmSigTag sigTag, /*@null@*/ const char * passPhrase)
/*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
/*@modifies sigh, sigTag, rpmGlobalMacroContext, fileSystem, internalState @*/;
int rpmCheckPassPhrase(const char * passPhrase)
/*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
/*@modifies rpmGlobalMacroContext, fileSystem, internalState @*/;
rpmRC rpmVerifySignature(void * _dig, /*@out@*/ char * result)
/*@globals internalState @*/
/*@modifies _dig, *result, internalState @*/;
#ifdef __cplusplus
}
#endif
#endif /* H_SIGNATURE */