summaryrefslogtreecommitdiff
path: root/src/certtool-gaa.h
blob: 8e00cb9a7df2b75b9736da553f1171d1d3467a8b (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

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

typedef struct _gaainfo gaainfo;

struct _gaainfo
{
#line 142 "certtool.gaa"
	int debug;
#line 137 "certtool.gaa"
	int pkcs11_type;
#line 134 "certtool.gaa"
	char* pkcs11_url;
#line 131 "certtool.gaa"
	char* pkcs11_provider;
#line 128 "certtool.gaa"
	char *pkcs_cipher;
#line 125 "certtool.gaa"
	char *template;
#line 122 "certtool.gaa"
	char *infile;
#line 119 "certtool.gaa"
	char *outfile;
#line 116 "certtool.gaa"
	int quick_random;
#line 113 "certtool.gaa"
	int bits;
#line 109 "certtool.gaa"
	int outcert_format;
#line 105 "certtool.gaa"
	int incert_format;
#line 102 "certtool.gaa"
	int export;
#line 99 "certtool.gaa"
	char *hash;
#line 96 "certtool.gaa"
	int dsa;
#line 93 "certtool.gaa"
	int pkcs8;
#line 85 "certtool.gaa"
	int v1_cert;
#line 82 "certtool.gaa"
	int fix_key;
#line 67 "certtool.gaa"
	int crq_extensions;
#line 54 "certtool.gaa"
	char *pass;
#line 51 "certtool.gaa"
	char *ca;
#line 48 "certtool.gaa"
	char *ca_privkey;
#line 45 "certtool.gaa"
	char *cert;
#line 42 "certtool.gaa"
	char *request;
#line 39 "certtool.gaa"
	char *privkey;
#line 17 "certtool.gaa"
	int action;
#line 16 "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