• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

rpmdb/signature.h

Go to the documentation of this file.
00001 #ifndef H_SIGNATURE
00002 #define H_SIGNATURE
00003 
00013 typedef enum pgpVersion_e {
00014     PGP_NOTDETECTED     = -1,
00015     PGP_UNKNOWN         = 0,
00016     PGP_2               = 2,
00017     PGP_5               = 5
00018 } pgpVersion;
00019 
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023 
00037 int rpmTempFile(/*@null@*/ const char * prefix,
00038                 /*@null@*/ /*@out@*/ const char ** fnptr,
00039                 /*@out@*/ void * fdptr)
00040         /*@globals rpmGlobalMacroContext, h_errno,
00041                 fileSystem, internalState @*/
00042         /*@modifies *fnptr, *fdptr, rpmGlobalMacroContext,
00043                 fileSystem, internalState @*/;
00044 
00053 int rpmAddSignature(Header sigh, const char * file,
00054                     rpmSigTag sigTag, /*@null@*/ const char * passPhrase)
00055         /*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
00056         /*@modifies sigh, sigTag, rpmGlobalMacroContext, fileSystem, internalState @*/;
00057 
00063 int rpmCheckPassPhrase(const char * passPhrase)
00064         /*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
00065         /*@modifies rpmGlobalMacroContext, fileSystem, internalState @*/;
00066 
00074 rpmRC rpmVerifySignature(void * _dig, /*@out@*/ char * result)
00075         /*@globals internalState @*/
00076         /*@modifies _dig, *result, internalState @*/;
00077 
00078 #ifdef __cplusplus
00079 }
00080 #endif
00081 
00082 #endif  /* H_SIGNATURE */

Generated on Fri Dec 3 2010 20:54:12 for rpm by  doxygen 1.7.2