rpm
5.4.10
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
rpmio
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
#include <pk11pub.h>
21
#include <pk11pqg.h>
22
#include <secerr.h>
23
#endif
24
27
typedef
/*abstract@*/
struct
rpmnss_s *
rpmnss
;
28
31
#if defined(_RPMNSS_INTERNAL)
32
struct
rpmnss_s {
33
int
in_fips_mode;
/* XXX trsa */
34
int
nbits;
/* XXX trsa */
35
int
qbits;
/* XXX trsa */
36
int
badok;
/* XXX trsa */
37
int
err;
38
39
void
* digest;
40
size_t
digestlen;
41
42
/* key_spec */
43
/* key_pair */
44
SECKEYPrivateKey * sec_key;
45
SECKEYPublicKey * pub_key;
46
/* hash */
47
SECItem * sig;
48
49
SECOidTag sigalg;
50
SECItem item;
51
52
/* RSA parameters. */
53
54
/* DSA parameters. */
55
56
/* ELG parameters. */
57
58
/* ECDSA parameters. */
59
SECKEYECParams * ecparams;
60
61
};
62
#endif
63
66
/*@unchecked@*/
67
extern
pgpImplVecs_t
rpmnssImplVecs
;
68
69
#endif
/* H_RPMNSS */
Generated on Mon Nov 5 2012 15:32:20 for rpm by
1.8.1.2