Expand PMF_FN_* macros.
[netbsd-mini2440.git] / dist / ntp / util / ntp-keygen-opts.def
blob1e5d988c2967ca782a71550378d6c4d6f76d306b
1 /* -*- Mode: Text -*- */
3 autogen definitions options;
5 #include copyright.def
6 #include homerc.def
7 #include autogen-version.def
9 prog-name = "ntp-keygen";
10 prog-title = "Create a NTP host key";
11 package = ntp;
13 test-main;
15 include = '#include <stdlib.h>';
16 #include version.def
18 flag = {
19 name = certificate;
20 value = c;
21 arg-type = string;
22 arg-name = scheme;
23 ifdef = OPENSSL;
24 descrip = "certificate scheme";
25 doc = <<- _EndOfDoc_
26 Just some descriptive text.
27 _EndOfDoc_;
30 #include debug-opt.def
32 flag = {
33 name = id-key;
34 value = e;
35 ifdef = OPENSSL;
36 descrip = "Write identity keys";
37 doc = <<- _EndOfDoc_
38 Just some descriptive text.
39 _EndOfDoc_;
42 flag = {
43 name = gq-params;
44 value = G;
45 ifdef = OPENSSL;
46 descrip = "Generate GQ parameters and keys";
47 doc = <<- _EndOfDoc_
48 Just some descriptive text.
49 _EndOfDoc_;
52 flag = {
53 name = gq-keys;
54 value = g;
55 ifdef = OPENSSL;
56 descrip = "update GQ keys";
57 doc = <<- _EndOfDoc_
58 Just some descriptive text.
59 _EndOfDoc_;
62 flag = {
63 name = host-key;
64 value = H;
65 ifdef = OPENSSL;
66 descrip = "generate RSA host key";
67 doc = <<- _EndOfDoc_
68 Just some descriptive text.
69 _EndOfDoc_;
72 flag = {
73 name = iffkey;
74 value = I;
75 ifdef = OPENSSL;
76 descrip = "generate IFF parameters";
77 doc = <<- _EndOfDoc_
78 Just some descriptive text.
79 _EndOfDoc_;
82 flag = {
83 name = issuer-name;
84 value = i;
85 ifdef = OPENSSL;
86 descrip = "set issuer name";
87 doc = <<- _EndOfDoc_
88 Just some descriptive text.
89 _EndOfDoc_;
92 flag = {
93 name = md5key;
94 value = M;
95 descrip = "generate MD5 keys";
96 doc = <<- _EndOfDoc_
97 Just some descriptive text.
98 _EndOfDoc_;
101 flag = {
102 name = modulus;
103 value = m;
104 arg-type = number;
105 arg-name = modulus;
106 arg-range = '256->2048';
107 ifdef = OPENSSL;
108 descrip = "modulus";
109 doc = <<- _EndOfDoc_
110 Just some descriptive text.
111 _EndOfDoc_;
114 flag = {
115 name = pvt-cert;
116 value = P;
117 ifdef = OPENSSL;
118 descrip = "generate PC private certificate";
119 doc = <<- _EndOfDoc_
120 Just some descriptive text.
121 _EndOfDoc_;
124 flag = {
125 name = pvt-passwd;
126 value = p;
127 ifdef = OPENSSL;
128 arg-type = string;
129 arg-name = passwd;
130 descrip = "output private password";
131 doc = <<- _EndOfDoc_
132 Just some descriptive text.
133 _EndOfDoc_;
136 flag = {
137 name = get-pvt-passwd;
138 value = q;
139 ifdef = OPENSSL;
140 arg-type = string;
141 arg-name = passwd;
142 descrip = "input private password";
143 doc = <<- _EndOfDoc_
144 Just some descriptive text.
145 _EndOfDoc_;
148 flag = {
149 name = sign-key;
150 value = S;
151 arg-type = string;
152 arg-name = sign;
153 ifdef = OPENSSL;
154 descrip = "generate sign key (RSA or DSA)";
155 doc = <<- _EndOfDoc_
156 Just some descriptive text.
157 _EndOfDoc_;
160 flag = {
161 name = subject-name;
162 value = s;
163 arg-type = string;
164 arg-name = host;
165 ifdef = OPENSSL;
166 descrip = "set subject name";
167 doc = <<- _EndOfDoc_
168 Just some descriptive text.
169 _EndOfDoc_;
172 flag = {
173 name = trusted-cert;
174 value = T;
175 ifdef = OPENSSL;
176 descrip = "trusted certificate (TC scheme)";
177 doc = <<- _EndOfDoc_
178 Just some descriptive text.
179 _EndOfDoc_;
182 flag = {
183 name = mv-params;
184 value = V;
185 arg-type = number;
186 arg-name = num;
187 ifdef = OPENSSL;
188 descrip = "generate <num> MV parameters";
189 doc = <<- _EndOfDoc_
190 Just some descriptive text.
191 _EndOfDoc_;
194 flag = {
195 name = mv-keys;
196 value = v;
197 arg-type = number;
198 arg-name = num;
199 ifdef = OPENSSL;
200 descrip = "update <num> MV keys";
201 doc = <<- _EndOfDoc_
202 Just some descriptive text.
203 _EndOfDoc_;
206 detail = <<- _EODetail_
207 If there is no new host key, look for an existing one.
208 If one is not found, create it.
209 _EODetail_;