rpm  5.2.1
rpmio/rpmnss.h
Go to the documentation of this file.
00001 #ifndef H_RPMNSS
00002 #define H_RPMNSS
00003 
00008 #include <rpmiotypes.h>
00009 #include <rpmpgp.h>
00010 #include <rpmsw.h>
00011 
00012 #if defined(_RPMNSS_INTERNAL)
00013 #if defined(__LCLINT__)
00014 #define __i386__
00015 #endif
00016 #include <nss.h>
00017 #include <sechash.h>
00018 #include <keyhi.h>
00019 #include <cryptohi.h>
00020 #endif
00021 
00024 typedef /*abstract@*/ struct rpmnss_s * rpmnss;
00025 
00028 #if defined(_RPMNSS_INTERNAL)
00029 struct rpmnss_s {
00030 
00031     SECOidTag sigalg;
00032     SECItem item;
00033 
00034     /* DSA parameters. */
00035     SECKEYPublicKey *dsa;
00036     SECItem * dsasig;
00037 
00038     /* RSA parameters. */
00039     SECKEYPublicKey *rsa;
00040     SECItem * rsasig;
00041 };
00042 #endif
00043 
00046 /*@unchecked@*/
00047 extern pgpImplVecs_t rpmnssImplVecs;
00048 
00049 #endif  /* H_RPMNSS */