summaryrefslogtreecommitdiff
path: root/src/certtool-gaa.h
blob: 49cb22519f155bc7606e8a8b1e4600ffc9d96044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97

#line 104 "gaa.skel"
/* GAA HEADER */
#ifndef GAA_HEADER_POKY
#define GAA_HEADER_POKY

typedef struct _gaainfo gaainfo;

struct _gaainfo
{
#line 169 "certtool.gaa"
	int debug;
#line 164 "certtool.gaa"
	int pkcs11_detailed_url;
#line 161 "certtool.gaa"
	int pkcs11_trusted;
#line 158 "certtool.gaa"
	char* pkcs11_label;
#line 155 "certtool.gaa"
	int pkcs11_login;
#line 147 "certtool.gaa"
	int pkcs11_type;
#line 144 "certtool.gaa"
	char* pkcs11_url;
#line 141 "certtool.gaa"
	char* pkcs11_provider;
#line 138 "certtool.gaa"
	char *pkcs_cipher;
#line 135 "certtool.gaa"
	char *template;
#line 132 "certtool.gaa"
	char *infile;
#line 129 "certtool.gaa"
	char *outfile;
#line 126 "certtool.gaa"
	int quick_random;
#line 123 "certtool.gaa"
	char* sec_param;
#line 120 "certtool.gaa"
	int bits;
#line 116 "certtool.gaa"
	int outcert_format;
#line 112 "certtool.gaa"
	int incert_format;
#line 109 "certtool.gaa"
	int export;
#line 106 "certtool.gaa"
	char *hash;
#line 103 "certtool.gaa"
	int dsa;
#line 100 "certtool.gaa"
	int pkcs8;
#line 93 "certtool.gaa"
	int v1_cert;
#line 90 "certtool.gaa"
	int fix_key;
#line 73 "certtool.gaa"
	int crq_extensions;
#line 58 "certtool.gaa"
	char *pass;
#line 55 "certtool.gaa"
	char *ca;
#line 52 "certtool.gaa"
	char *ca_privkey;
#line 49 "certtool.gaa"
	char *cert;
#line 46 "certtool.gaa"
	char *request;
#line 43 "certtool.gaa"
	char *pubkey;
#line 40 "certtool.gaa"
	char *privkey;
#line 18 "certtool.gaa"
	int action;
#line 17 "certtool.gaa"
	int privkey_op;

#line 114 "gaa.skel"
};

#ifdef __cplusplus
extern "C"
{
#endif

    int gaa(int argc, char *argv[], gaainfo *gaaval);

    void gaa_help(void);
    
    int gaa_file(const char *name, gaainfo *gaaval);
    
#ifdef __cplusplus
}
#endif


#endif