forked from certnanny/sscep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmd.h
128 lines (97 loc) · 2.13 KB
/
cmd.h
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/*
* sscep -- Simple SCEP client implementation
* Copyright (c) Jarkko Turkulainen 2003. All rights reserved.
* See the file COPYRIGHT for licensing information.
*/
/*
* Command line options
* These are defined globally for easy access from all functions.
* For each command line option 'x', there is int x_flag and
* char *x_char or int x_num if the option requires parameter.
*/
/* CA certificate */
int c_flag;
char *c_char;
/* Debug? */
int d_flag;
/* CA encryption certificate */
int e_flag;
char *e_char;
/* Encryption algorithm */
char *E_char;
int E_flag;
/* Configuration file */
int f_flag;
char *f_char;
/* Fingerprint algorithm */
char *F_char;
int F_flag;
/* enable EnGine support */
char *g_char;
int g_flag;
/* enable hwcrhk keys
* To set this means that the new key (for which you have the
* CSR and Private Key) should be taken from the engine
* while the old key (possibly, see captial letter options)
* is selected by the -H option
*/
int h_flag;
/* sets if engine should be used if the old key usage is set
* i.e., setting this uses the old key für signing and does
* not set anything for the lowercase options that correspond
* to the new keys
*/
int H_flag;
/* Local certificate */
char *l_char;
int l_flag;
/* Local selfsigned certificate (generated automaticatally) */
char *L_char;
int L_flag;
/* CA identifier */
char *i_char;
int i_flag;
/* Private key */
char *k_char;
int k_flag;
/* Private key of already existing certificate */
char *K_char;
int K_flag;
/* Test mode */
int m_flag;
char *m_char;
/* Request count */
int n_flag;
int n_num;
/* Already existing certificate (to be renewed) */
char *O_char;
int O_flag;
/* Proxy */
char *p_char;
int p_flag;
/* GetCrl CRL file */
char *r_char;
int r_flag;
/* Resume */
int R_flag;
/* Certificate serial number */
char *s_char;
int s_flag;
/* Signature algorithm */
char *S_char;
int S_flag;
/* Polling interval */
int t_num;
int t_flag;
/* Max polling time */
int T_num;
int T_flag;
/* URL */
int u_flag;
char *url_char;
/* Verbose? boolean */
int v_flag;
/* GetCert certificate */
int w_flag;
char *w_char;
/* End of command line options */