rpm  5.2.1
rpmnss.h
Go to the documentation of this file.
1 #ifndef H_RPMNSS
2 #define H_RPMNSS
3 
8 #include <rpmiotypes.h>
9 #include <rpmpgp.h>
10 #include <rpmsw.h>
11 
12 #if defined(_RPMNSS_INTERNAL)
13 #if defined(__LCLINT__)
14 #define __i386__
15 #endif
16 #include <nss.h>
17 #include <sechash.h>
18 #include <keyhi.h>
19 #include <cryptohi.h>
20 #endif
21 
24 typedef /*abstract@*/ struct rpmnss_s * rpmnss;
25 
28 #if defined(_RPMNSS_INTERNAL)
29 struct rpmnss_s {
30 
31  SECOidTag sigalg;
32  SECItem item;
33 
34  /* DSA parameters. */
35  SECKEYPublicKey *dsa;
36  SECItem * dsasig;
37 
38  /* RSA parameters. */
39  SECKEYPublicKey *rsa;
40  SECItem * rsasig;
41 };
42 #endif
43 
46 /*@unchecked@*/
48 
49 #endif /* H_RPMNSS */