1 package net.sf.bse.gui;
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 * The GUI was created using NetBeans IDE (http://www.netbeans.org/).
28 * Please use the NetBeans GUI editor if you wish to modify it.
29 *
30 * @author Aleksi Peebles (aleksi.peebles@infocast.fi)
31 * @version $Revision: 1.3 $ $Date: 2004/05/06 10:08:14 $
32 */
33 public class BSEGUI extends javax.swing.JFrame
34 {
35 private javax.swing.JFileChooser chooser;
36 private XletTree xletTree;
37
38 public BSEGUI()
39 {
40 initComponents();
41 xletTree = new XletTree();
42 treeScrollPane.setViewportView(xletTree);
43 chooser = new javax.swing.JFileChooser();
44 setSize(new java.awt.Dimension(640, 480));
45 }
46
47 /***
48 * This method is called from within the constructor to
49 * initialize the form.
50 * WARNING: Do NOT modify this code. The content of this method is
51 * always regenerated by the Form Editor.
52 */
53 private void initComponents()
54 {
55 java.awt.GridBagConstraints gridBagConstraints;
56
57 jTabbedPane1 = new javax.swing.JTabbedPane();
58 xletTabPanel = new javax.swing.JPanel();
59 jLabel33 = new javax.swing.JLabel();
60 jPanel16 = new javax.swing.JPanel();
61 jPanel17 = new javax.swing.JPanel();
62 treeScrollPane = new javax.swing.JScrollPane();
63 xletSelectRootButton = new javax.swing.JButton();
64 xletRecursiveCheckBox = new javax.swing.JCheckBox();
65 jPanel19 = new javax.swing.JPanel();
66 jPanel23 = new javax.swing.JPanel();
67 jPanel20 = new javax.swing.JPanel();
68 jScrollPane1 = new javax.swing.JScrollPane();
69 xletCertList = new javax.swing.JList();
70 xletCertList.setModel(new javax.swing.DefaultListModel());
71 xletCertList.setCellRenderer(new XletListCellRenderer());
72 jPanel18 = new javax.swing.JPanel();
73 xletAddCertButton = new javax.swing.JButton();
74 xletRemoveCertButton = new javax.swing.JButton();
75 xletCertUpButton = new javax.swing.JButton();
76 xletCertDownButton = new javax.swing.JButton();
77 jLabel48 = new javax.swing.JLabel();
78 jPanel21 = new javax.swing.JPanel();
79 xletPrivateKeyFileTextField = new javax.swing.JTextField();
80 xletPrivateKeyFileButton = new javax.swing.JButton();
81 jPanel24 = new javax.swing.JPanel();
82 jPanel22 = new javax.swing.JPanel();
83 xletDestinationDirTextField = new javax.swing.JTextField();
84 xletDestinationDirButton = new javax.swing.JButton();
85 xletDeleteDestDirCheckBox = new javax.swing.JCheckBox();
86 xletSignButton = new javax.swing.JButton();
87 rootTabPanel = new javax.swing.JPanel();
88 jLabel15 = new javax.swing.JLabel();
89 jPanel1 = new javax.swing.JPanel();
90 jLabel1 = new javax.swing.JLabel();
91 jPanel2 = new javax.swing.JPanel();
92 rootFileTextField = new javax.swing.JTextField();
93 rootFileButton = new javax.swing.JButton();
94 jLabel2 = new javax.swing.JLabel();
95 jLabel3 = new javax.swing.JLabel();
96 jLabel4 = new javax.swing.JLabel();
97 rootNameTextField = new javax.swing.JTextField();
98 rootCountryTextField = new javax.swing.JTextField();
99 rootEmailTextField = new javax.swing.JTextField();
100 jLabel5 = new javax.swing.JLabel();
101 jLabel6 = new javax.swing.JLabel();
102 jLabel7 = new javax.swing.JLabel();
103 jLabel8 = new javax.swing.JLabel();
104 rootSerialTextField = new javax.swing.JTextField();
105 rootStrengthComboBox = new javax.swing.JComboBox();
106 rootStrengthComboBox.addItem("512");
107 rootStrengthComboBox.addItem("1024");
108 rootStrengthComboBox.addItem("2048");
109 rootStrengthComboBox.addItem("4096");
110 rootStrengthComboBox.setSelectedIndex(1);
111 jPanel5 = new javax.swing.JPanel();
112 rootFromDDTextField = new javax.swing.JTextField();
113 jLabel9 = new javax.swing.JLabel();
114 rootFromMMTextField = new javax.swing.JTextField();
115 jLabel10 = new javax.swing.JLabel();
116 rootFromYYYYTextField = new javax.swing.JTextField();
117 jLabel11 = new javax.swing.JLabel();
118 jPanel6 = new javax.swing.JPanel();
119 rootUntilDDTextField = new javax.swing.JTextField();
120 jLabel12 = new javax.swing.JLabel();
121 rootUntilMMTextField = new javax.swing.JTextField();
122 jLabel13 = new javax.swing.JLabel();
123 rootUntilYYYYTextField = new javax.swing.JTextField();
124 jLabel14 = new javax.swing.JLabel();
125 rootGenerateButton = new javax.swing.JButton();
126 requestTabPanel = new javax.swing.JPanel();
127 jLabel23 = new javax.swing.JLabel();
128 jPanel3 = new javax.swing.JPanel();
129 jLabel16 = new javax.swing.JLabel();
130 jPanel4 = new javax.swing.JPanel();
131 requestFileTextField = new javax.swing.JTextField();
132 requestFileButton = new javax.swing.JButton();
133 jLabel17 = new javax.swing.JLabel();
134 jLabel18 = new javax.swing.JLabel();
135 jLabel19 = new javax.swing.JLabel();
136 requestNameTextField = new javax.swing.JTextField();
137 requestCountryTextField = new javax.swing.JTextField();
138 requestEmailTextField = new javax.swing.JTextField();
139 jLabel20 = new javax.swing.JLabel();
140 jLabel21 = new javax.swing.JLabel();
141 jLabel22 = new javax.swing.JLabel();
142 requestOrgIDTextField = new javax.swing.JTextField();
143 jPanel8 = new javax.swing.JPanel();
144 requestUntilDDTextField = new javax.swing.JTextField();
145 jLabel27 = new javax.swing.JLabel();
146 requestUntilMMTextField = new javax.swing.JTextField();
147 jLabel28 = new javax.swing.JLabel();
148 requestUntilYYYYTextField = new javax.swing.JTextField();
149 jLabel29 = new javax.swing.JLabel();
150 jPanel7 = new javax.swing.JPanel();
151 requestFromDDTextField = new javax.swing.JTextField();
152 jLabel24 = new javax.swing.JLabel();
153 requestFromMMTextField = new javax.swing.JTextField();
154 jLabel25 = new javax.swing.JLabel();
155 requestFromYYYYTextField = new javax.swing.JTextField();
156 jLabel26 = new javax.swing.JLabel();
157 jLabel30 = new javax.swing.JLabel();
158 requestStrengthComboBox = new javax.swing.JComboBox();
159 requestStrengthComboBox.addItem("512");
160 requestStrengthComboBox.addItem("1024");
161 requestStrengthComboBox.addItem("2048");
162 requestStrengthComboBox.addItem("4096");
163 requestStrengthComboBox.setSelectedIndex(1);
164 requestGenerateButton = new javax.swing.JButton();
165 signTabPanel = new javax.swing.JPanel();
166 jLabel32 = new javax.swing.JLabel();
167 jPanel9 = new javax.swing.JPanel();
168 jLabel34 = new javax.swing.JLabel();
169 jPanel10 = new javax.swing.JPanel();
170 signCertificateFileTextField = new javax.swing.JTextField();
171 signCertificateFileButton = new javax.swing.JButton();
172 jLabel35 = new javax.swing.JLabel();
173 jPanel11 = new javax.swing.JPanel();
174 signPrivateKeyFileTextField = new javax.swing.JTextField();
175 signPrivateKeyFileButton = new javax.swing.JButton();
176 jLabel36 = new javax.swing.JLabel();
177 jPanel12 = new javax.swing.JPanel();
178 signFileTextField = new javax.swing.JTextField();
179 signFileButton = new javax.swing.JButton();
180 jLabel37 = new javax.swing.JLabel();
181 jPanel13 = new javax.swing.JPanel();
182 signRequestFileTextField = new javax.swing.JTextField();
183 signRequestFileButton = new javax.swing.JButton();
184 jPanel14 = new javax.swing.JPanel();
185 signFromDDTextField = new javax.swing.JTextField();
186 jLabel38 = new javax.swing.JLabel();
187 signFromMMTextField = new javax.swing.JTextField();
188 jLabel39 = new javax.swing.JLabel();
189 signFromYYYYTextField = new javax.swing.JTextField();
190 jLabel40 = new javax.swing.JLabel();
191 jPanel15 = new javax.swing.JPanel();
192 signUntilDDTextField = new javax.swing.JTextField();
193 jLabel41 = new javax.swing.JLabel();
194 signUntilMMTextField = new javax.swing.JTextField();
195 jLabel42 = new javax.swing.JLabel();
196 signUntilYYYYTextField = new javax.swing.JTextField();
197 jLabel43 = new javax.swing.JLabel();
198 jLabel44 = new javax.swing.JLabel();
199 jLabel45 = new javax.swing.JLabel();
200 signButton = new javax.swing.JButton();
201
202 setTitle("Broadcast Signing Engine");
203 addWindowListener(new java.awt.event.WindowAdapter()
204 {
205 public void windowClosing(java.awt.event.WindowEvent evt)
206 {
207 exitForm(evt);
208 }
209 });
210
211 xletTabPanel.setLayout(new java.awt.GridBagLayout());
212
213 jLabel33.setFont(new java.awt.Font("Dialog", 1, 18));
214 jLabel33.setText("Sign Xlet");
215 gridBagConstraints = new java.awt.GridBagConstraints();
216 gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
217 xletTabPanel.add(jLabel33, gridBagConstraints);
218
219 jPanel16.setLayout(new java.awt.GridLayout(1, 2, 5, 0));
220
221 jPanel17.setLayout(new java.awt.GridBagLayout());
222
223 gridBagConstraints = new java.awt.GridBagConstraints();
224 gridBagConstraints.gridx = 0;
225 gridBagConstraints.gridy = 1;
226 gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
227 gridBagConstraints.weightx = 1.0;
228 gridBagConstraints.weighty = 1.0;
229 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
230 jPanel17.add(treeScrollPane, gridBagConstraints);
231
232 xletSelectRootButton.setText("Select Root");
233 xletSelectRootButton.addActionListener(new java.awt.event.ActionListener()
234 {
235 public void actionPerformed(java.awt.event.ActionEvent evt)
236 {
237 xletSelectRootButtonActionPerformed(evt);
238 }
239 });
240
241 gridBagConstraints = new java.awt.GridBagConstraints();
242 gridBagConstraints.gridx = 0;
243 gridBagConstraints.gridy = 0;
244 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
245 jPanel17.add(xletSelectRootButton, gridBagConstraints);
246
247 xletRecursiveCheckBox.setSelected(true);
248 xletRecursiveCheckBox.setText("Recursive Selection");
249 xletRecursiveCheckBox.addActionListener(new java.awt.event.ActionListener()
250 {
251 public void actionPerformed(java.awt.event.ActionEvent evt)
252 {
253 xletRecursiveCheckBoxActionPerformed(evt);
254 }
255 });
256
257 gridBagConstraints = new java.awt.GridBagConstraints();
258 gridBagConstraints.gridx = 0;
259 gridBagConstraints.gridy = 2;
260 jPanel17.add(xletRecursiveCheckBox, gridBagConstraints);
261
262 jPanel16.add(jPanel17);
263
264 jPanel19.setLayout(new java.awt.GridBagLayout());
265
266 jPanel23.setLayout(new java.awt.GridBagLayout());
267
268 jPanel20.setLayout(new java.awt.GridBagLayout());
269
270 jPanel20.setBorder(new javax.swing.border.TitledBorder("Certificate Files"));
271 xletCertList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
272 xletCertList.setToolTipText("List of certificate files in the certificate chain. \nThe files must be in the correct ascending order: \nsigning certificate first and root certificate last.");
273 xletCertList.addListSelectionListener(new javax.swing.event.ListSelectionListener()
274 {
275 public void valueChanged(javax.swing.event.ListSelectionEvent evt)
276 {
277 xletCertListValueChanged(evt);
278 }
279 });
280
281 jScrollPane1.setViewportView(xletCertList);
282
283 gridBagConstraints = new java.awt.GridBagConstraints();
284 gridBagConstraints.gridx = 0;
285 gridBagConstraints.gridy = 0;
286 gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
287 gridBagConstraints.weightx = 1.0;
288 gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 5);
289 jPanel20.add(jScrollPane1, gridBagConstraints);
290
291 jPanel18.setLayout(new java.awt.GridLayout(4, 0, 0, 5));
292
293 xletAddCertButton.setText("Add");
294 xletAddCertButton.addActionListener(new java.awt.event.ActionListener()
295 {
296 public void actionPerformed(java.awt.event.ActionEvent evt)
297 {
298 xletAddCertButtonActionPerformed(evt);
299 }
300 });
301
302 jPanel18.add(xletAddCertButton);
303
304 xletRemoveCertButton.setText("Remove");
305 xletRemoveCertButton.setEnabled(false);
306 xletRemoveCertButton.addActionListener(new java.awt.event.ActionListener()
307 {
308 public void actionPerformed(java.awt.event.ActionEvent evt)
309 {
310 xletRemoveCertButtonActionPerformed(evt);
311 }
312 });
313
314 jPanel18.add(xletRemoveCertButton);
315
316 xletCertUpButton.setText("Up");
317 xletCertUpButton.setEnabled(false);
318 xletCertUpButton.addActionListener(new java.awt.event.ActionListener()
319 {
320 public void actionPerformed(java.awt.event.ActionEvent evt)
321 {
322 xletCertUpButtonActionPerformed(evt);
323 }
324 });
325
326 jPanel18.add(xletCertUpButton);
327
328 xletCertDownButton.setText("Down");
329 xletCertDownButton.setEnabled(false);
330 xletCertDownButton.addActionListener(new java.awt.event.ActionListener()
331 {
332 public void actionPerformed(java.awt.event.ActionEvent evt)
333 {
334 xletCertDownButtonActionPerformed(evt);
335 }
336 });
337
338 jPanel18.add(xletCertDownButton);
339
340 gridBagConstraints = new java.awt.GridBagConstraints();
341 gridBagConstraints.gridx = 1;
342 gridBagConstraints.gridy = 0;
343 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
344 jPanel20.add(jPanel18, gridBagConstraints);
345
346 gridBagConstraints = new java.awt.GridBagConstraints();
347 gridBagConstraints.gridx = 0;
348 gridBagConstraints.gridy = 0;
349 gridBagConstraints.gridwidth = 2;
350 gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
351 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
352 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
353 jPanel23.add(jPanel20, gridBagConstraints);
354
355 jLabel48.setText("Private Key File:");
356 gridBagConstraints = new java.awt.GridBagConstraints();
357 gridBagConstraints.gridx = 0;
358 gridBagConstraints.gridy = 1;
359 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
360 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 5);
361 jPanel23.add(jLabel48, gridBagConstraints);
362
363 jPanel21.setLayout(new java.awt.GridBagLayout());
364
365 gridBagConstraints = new java.awt.GridBagConstraints();
366 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
367 gridBagConstraints.weightx = 1.0;
368 jPanel21.add(xletPrivateKeyFileTextField, gridBagConstraints);
369
370 xletPrivateKeyFileButton.setText("...");
371 xletPrivateKeyFileButton.addActionListener(new java.awt.event.ActionListener()
372 {
373 public void actionPerformed(java.awt.event.ActionEvent evt)
374 {
375 xletPrivateKeyFileButtonActionPerformed(evt);
376 }
377 });
378
379 gridBagConstraints = new java.awt.GridBagConstraints();
380 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
381 jPanel21.add(xletPrivateKeyFileButton, gridBagConstraints);
382
383 gridBagConstraints = new java.awt.GridBagConstraints();
384 gridBagConstraints.gridx = 1;
385 gridBagConstraints.gridy = 1;
386 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
387 gridBagConstraints.weightx = 1.0;
388 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
389 jPanel23.add(jPanel21, gridBagConstraints);
390
391 jPanel24.setLayout(new java.awt.GridBagLayout());
392
393 jPanel24.setBorder(new javax.swing.border.TitledBorder("Destination Directory"));
394 jPanel22.setLayout(new java.awt.GridBagLayout());
395
396 gridBagConstraints = new java.awt.GridBagConstraints();
397 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
398 gridBagConstraints.weightx = 1.0;
399 jPanel22.add(xletDestinationDirTextField, gridBagConstraints);
400
401 xletDestinationDirButton.setText("...");
402 xletDestinationDirButton.addActionListener(new java.awt.event.ActionListener()
403 {
404 public void actionPerformed(java.awt.event.ActionEvent evt)
405 {
406 xletDestinationDirButtonActionPerformed(evt);
407 }
408 });
409
410 gridBagConstraints = new java.awt.GridBagConstraints();
411 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
412 jPanel22.add(xletDestinationDirButton, gridBagConstraints);
413
414 gridBagConstraints = new java.awt.GridBagConstraints();
415 gridBagConstraints.gridx = 0;
416 gridBagConstraints.gridy = 0;
417 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
418 gridBagConstraints.weightx = 1.0;
419 jPanel24.add(jPanel22, gridBagConstraints);
420
421 xletDeleteDestDirCheckBox.setText("Remove If Exists");
422 gridBagConstraints = new java.awt.GridBagConstraints();
423 gridBagConstraints.gridx = 0;
424 gridBagConstraints.gridy = 1;
425 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
426 jPanel24.add(xletDeleteDestDirCheckBox, gridBagConstraints);
427
428 gridBagConstraints = new java.awt.GridBagConstraints();
429 gridBagConstraints.gridx = 0;
430 gridBagConstraints.gridy = 2;
431 gridBagConstraints.gridwidth = 2;
432 gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
433 jPanel23.add(jPanel24, gridBagConstraints);
434
435 gridBagConstraints = new java.awt.GridBagConstraints();
436 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
437 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
438 gridBagConstraints.weightx = 1.0;
439 gridBagConstraints.weighty = 1.0;
440 jPanel19.add(jPanel23, gridBagConstraints);
441
442 jPanel16.add(jPanel19);
443
444 gridBagConstraints = new java.awt.GridBagConstraints();
445 gridBagConstraints.gridx = 0;
446 gridBagConstraints.gridy = 1;
447 gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
448 gridBagConstraints.weightx = 1.0;
449 gridBagConstraints.weighty = 1.0;
450 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 5);
451 xletTabPanel.add(jPanel16, gridBagConstraints);
452
453 xletSignButton.setText("Sign");
454 xletSignButton.addActionListener(new java.awt.event.ActionListener()
455 {
456 public void actionPerformed(java.awt.event.ActionEvent evt)
457 {
458 xletSignButtonActionPerformed(evt);
459 }
460 });
461
462 gridBagConstraints = new java.awt.GridBagConstraints();
463 gridBagConstraints.gridx = 0;
464 gridBagConstraints.gridy = 2;
465 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 5);
466 xletTabPanel.add(xletSignButton, gridBagConstraints);
467
468 jTabbedPane1.addTab("Sign Xlet", xletTabPanel);
469
470 rootTabPanel.setLayout(new java.awt.GridBagLayout());
471
472 jLabel15.setFont(new java.awt.Font("Dialog", 1, 18));
473 jLabel15.setText("Generate Root Certificate");
474 gridBagConstraints = new java.awt.GridBagConstraints();
475 gridBagConstraints.gridx = 0;
476 gridBagConstraints.gridy = 0;
477 gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
478 rootTabPanel.add(jLabel15, gridBagConstraints);
479
480 jPanel1.setLayout(new java.awt.GridBagLayout());
481
482 jLabel1.setText("File:");
483 gridBagConstraints = new java.awt.GridBagConstraints();
484 gridBagConstraints.gridx = 0;
485 gridBagConstraints.gridy = 7;
486 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
487 jPanel1.add(jLabel1, gridBagConstraints);
488
489 jPanel2.setLayout(new java.awt.GridBagLayout());
490
491 gridBagConstraints = new java.awt.GridBagConstraints();
492 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
493 gridBagConstraints.weightx = 1.0;
494 jPanel2.add(rootFileTextField, gridBagConstraints);
495
496 rootFileButton.setText("...");
497 rootFileButton.addActionListener(new java.awt.event.ActionListener()
498 {
499 public void actionPerformed(java.awt.event.ActionEvent evt)
500 {
501 rootFileButtonActionPerformed(evt);
502 }
503 });
504
505 gridBagConstraints = new java.awt.GridBagConstraints();
506 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
507 jPanel2.add(rootFileButton, gridBagConstraints);
508
509 gridBagConstraints = new java.awt.GridBagConstraints();
510 gridBagConstraints.gridx = 1;
511 gridBagConstraints.gridy = 7;
512 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
513 gridBagConstraints.weightx = 1.0;
514 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
515 jPanel1.add(jPanel2, gridBagConstraints);
516
517 jLabel2.setText("Name:");
518 gridBagConstraints = new java.awt.GridBagConstraints();
519 gridBagConstraints.gridx = 0;
520 gridBagConstraints.gridy = 0;
521 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
522 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
523 jPanel1.add(jLabel2, gridBagConstraints);
524
525 jLabel3.setText("Country:");
526 gridBagConstraints = new java.awt.GridBagConstraints();
527 gridBagConstraints.gridx = 0;
528 gridBagConstraints.gridy = 1;
529 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
530 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
531 jPanel1.add(jLabel3, gridBagConstraints);
532
533 jLabel4.setText("E-mail:");
534 gridBagConstraints = new java.awt.GridBagConstraints();
535 gridBagConstraints.gridx = 0;
536 gridBagConstraints.gridy = 2;
537 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
538 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
539 jPanel1.add(jLabel4, gridBagConstraints);
540
541 gridBagConstraints = new java.awt.GridBagConstraints();
542 gridBagConstraints.gridx = 1;
543 gridBagConstraints.gridy = 0;
544 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
545 gridBagConstraints.weightx = 1.0;
546 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
547 jPanel1.add(rootNameTextField, gridBagConstraints);
548
549 rootCountryTextField.setColumns(2);
550 gridBagConstraints = new java.awt.GridBagConstraints();
551 gridBagConstraints.gridx = 1;
552 gridBagConstraints.gridy = 1;
553 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
554 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
555 jPanel1.add(rootCountryTextField, gridBagConstraints);
556
557 gridBagConstraints = new java.awt.GridBagConstraints();
558 gridBagConstraints.gridx = 1;
559 gridBagConstraints.gridy = 2;
560 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
561 gridBagConstraints.weightx = 1.0;
562 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
563 jPanel1.add(rootEmailTextField, gridBagConstraints);
564
565 jLabel5.setText("Valid from:");
566 gridBagConstraints = new java.awt.GridBagConstraints();
567 gridBagConstraints.gridx = 0;
568 gridBagConstraints.gridy = 3;
569 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
570 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
571 jPanel1.add(jLabel5, gridBagConstraints);
572
573 jLabel6.setText("Valid until:");
574 gridBagConstraints = new java.awt.GridBagConstraints();
575 gridBagConstraints.gridx = 0;
576 gridBagConstraints.gridy = 4;
577 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
578 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
579 jPanel1.add(jLabel6, gridBagConstraints);
580
581 jLabel7.setText("Serial:");
582 gridBagConstraints = new java.awt.GridBagConstraints();
583 gridBagConstraints.gridx = 0;
584 gridBagConstraints.gridy = 5;
585 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
586 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
587 jPanel1.add(jLabel7, gridBagConstraints);
588
589 jLabel8.setText("Strength:");
590 gridBagConstraints = new java.awt.GridBagConstraints();
591 gridBagConstraints.gridx = 0;
592 gridBagConstraints.gridy = 6;
593 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
594 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
595 jPanel1.add(jLabel8, gridBagConstraints);
596
597 gridBagConstraints = new java.awt.GridBagConstraints();
598 gridBagConstraints.gridx = 1;
599 gridBagConstraints.gridy = 5;
600 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
601 gridBagConstraints.weightx = 1.0;
602 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
603 jPanel1.add(rootSerialTextField, gridBagConstraints);
604
605 rootStrengthComboBox.setEditable(true);
606 gridBagConstraints = new java.awt.GridBagConstraints();
607 gridBagConstraints.gridx = 1;
608 gridBagConstraints.gridy = 6;
609 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
610 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
611 jPanel1.add(rootStrengthComboBox, gridBagConstraints);
612
613 rootFromDDTextField.setColumns(2);
614 jPanel5.add(rootFromDDTextField);
615
616 jLabel9.setText("/");
617 jPanel5.add(jLabel9);
618
619 rootFromMMTextField.setColumns(2);
620 jPanel5.add(rootFromMMTextField);
621
622 jLabel10.setText("/");
623 jPanel5.add(jLabel10);
624
625 rootFromYYYYTextField.setColumns(4);
626 jPanel5.add(rootFromYYYYTextField);
627
628 jLabel11.setText("(dd/mm/yyyy)");
629 jPanel5.add(jLabel11);
630
631 gridBagConstraints = new java.awt.GridBagConstraints();
632 gridBagConstraints.gridx = 1;
633 gridBagConstraints.gridy = 3;
634 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
635 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
636 jPanel1.add(jPanel5, gridBagConstraints);
637
638 rootUntilDDTextField.setColumns(2);
639 jPanel6.add(rootUntilDDTextField);
640
641 jLabel12.setText("/");
642 jPanel6.add(jLabel12);
643
644 rootUntilMMTextField.setColumns(2);
645 jPanel6.add(rootUntilMMTextField);
646
647 jLabel13.setText("/");
648 jPanel6.add(jLabel13);
649
650 rootUntilYYYYTextField.setColumns(4);
651 jPanel6.add(rootUntilYYYYTextField);
652
653 jLabel14.setText("(dd/mm/yyyy)");
654 jPanel6.add(jLabel14);
655
656 gridBagConstraints = new java.awt.GridBagConstraints();
657 gridBagConstraints.gridx = 1;
658 gridBagConstraints.gridy = 4;
659 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
660 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
661 jPanel1.add(jPanel6, gridBagConstraints);
662
663 gridBagConstraints = new java.awt.GridBagConstraints();
664 gridBagConstraints.gridx = 0;
665 gridBagConstraints.gridy = 1;
666 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
667 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
668 gridBagConstraints.weightx = 1.0;
669 gridBagConstraints.weighty = 1.0;
670 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 5);
671 rootTabPanel.add(jPanel1, gridBagConstraints);
672
673 rootGenerateButton.setText("Generate");
674 rootGenerateButton.addActionListener(new java.awt.event.ActionListener()
675 {
676 public void actionPerformed(java.awt.event.ActionEvent evt)
677 {
678 rootGenerateButtonActionPerformed(evt);
679 }
680 });
681
682 gridBagConstraints = new java.awt.GridBagConstraints();
683 gridBagConstraints.gridx = 0;
684 gridBagConstraints.gridy = 2;
685 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 5);
686 rootTabPanel.add(rootGenerateButton, gridBagConstraints);
687
688 jTabbedPane1.addTab("Generate Root", rootTabPanel);
689
690 requestTabPanel.setLayout(new java.awt.GridBagLayout());
691
692 jLabel23.setFont(new java.awt.Font("Dialog", 1, 18));
693 jLabel23.setText("Generate Leaf Request");
694 gridBagConstraints = new java.awt.GridBagConstraints();
695 gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
696 requestTabPanel.add(jLabel23, gridBagConstraints);
697
698 jPanel3.setLayout(new java.awt.GridBagLayout());
699
700 jLabel16.setText("File:");
701 gridBagConstraints = new java.awt.GridBagConstraints();
702 gridBagConstraints.gridx = 0;
703 gridBagConstraints.gridy = 7;
704 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
705 jPanel3.add(jLabel16, gridBagConstraints);
706
707 jPanel4.setLayout(new java.awt.GridBagLayout());
708
709 gridBagConstraints = new java.awt.GridBagConstraints();
710 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
711 gridBagConstraints.weightx = 1.0;
712 jPanel4.add(requestFileTextField, gridBagConstraints);
713
714 requestFileButton.setText("...");
715 requestFileButton.addActionListener(new java.awt.event.ActionListener()
716 {
717 public void actionPerformed(java.awt.event.ActionEvent evt)
718 {
719 requestFileButtonActionPerformed(evt);
720 }
721 });
722
723 gridBagConstraints = new java.awt.GridBagConstraints();
724 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
725 jPanel4.add(requestFileButton, gridBagConstraints);
726
727 gridBagConstraints = new java.awt.GridBagConstraints();
728 gridBagConstraints.gridx = 1;
729 gridBagConstraints.gridy = 7;
730 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
731 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
732 gridBagConstraints.weightx = 1.0;
733 jPanel3.add(jPanel4, gridBagConstraints);
734
735 jLabel17.setText("Name:");
736 gridBagConstraints = new java.awt.GridBagConstraints();
737 gridBagConstraints.gridx = 0;
738 gridBagConstraints.gridy = 0;
739 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
740 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
741 jPanel3.add(jLabel17, gridBagConstraints);
742
743 jLabel18.setText("Country:");
744 gridBagConstraints = new java.awt.GridBagConstraints();
745 gridBagConstraints.gridx = 0;
746 gridBagConstraints.gridy = 1;
747 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
748 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
749 jPanel3.add(jLabel18, gridBagConstraints);
750
751 jLabel19.setText("E-mail:");
752 gridBagConstraints = new java.awt.GridBagConstraints();
753 gridBagConstraints.gridx = 0;
754 gridBagConstraints.gridy = 2;
755 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
756 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
757 jPanel3.add(jLabel19, gridBagConstraints);
758
759 gridBagConstraints = new java.awt.GridBagConstraints();
760 gridBagConstraints.gridx = 1;
761 gridBagConstraints.gridy = 0;
762 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
763 gridBagConstraints.weightx = 1.0;
764 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
765 jPanel3.add(requestNameTextField, gridBagConstraints);
766
767 requestCountryTextField.setColumns(2);
768 gridBagConstraints = new java.awt.GridBagConstraints();
769 gridBagConstraints.gridx = 1;
770 gridBagConstraints.gridy = 1;
771 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
772 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
773 jPanel3.add(requestCountryTextField, gridBagConstraints);
774
775 gridBagConstraints = new java.awt.GridBagConstraints();
776 gridBagConstraints.gridx = 1;
777 gridBagConstraints.gridy = 2;
778 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
779 gridBagConstraints.weightx = 1.0;
780 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
781 jPanel3.add(requestEmailTextField, gridBagConstraints);
782
783 jLabel20.setText("Valid from:");
784 gridBagConstraints = new java.awt.GridBagConstraints();
785 gridBagConstraints.gridx = 0;
786 gridBagConstraints.gridy = 3;
787 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
788 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
789 jPanel3.add(jLabel20, gridBagConstraints);
790
791 jLabel21.setText("Valid until:");
792 gridBagConstraints = new java.awt.GridBagConstraints();
793 gridBagConstraints.gridx = 0;
794 gridBagConstraints.gridy = 4;
795 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
796 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
797 jPanel3.add(jLabel21, gridBagConstraints);
798
799 jLabel22.setText("Org. Text + '.' + 8-digit hex Org. ID:");
800 gridBagConstraints = new java.awt.GridBagConstraints();
801 gridBagConstraints.gridx = 0;
802 gridBagConstraints.gridy = 5;
803 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
804 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
805 jPanel3.add(jLabel22, gridBagConstraints);
806
807 gridBagConstraints = new java.awt.GridBagConstraints();
808 gridBagConstraints.gridx = 1;
809 gridBagConstraints.gridy = 5;
810 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
811 gridBagConstraints.weightx = 1.0;
812 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
813 jPanel3.add(requestOrgIDTextField, gridBagConstraints);
814
815 requestUntilDDTextField.setColumns(2);
816 jPanel8.add(requestUntilDDTextField);
817
818 jLabel27.setText("/");
819 jPanel8.add(jLabel27);
820
821 requestUntilMMTextField.setColumns(2);
822 jPanel8.add(requestUntilMMTextField);
823
824 jLabel28.setText("/");
825 jPanel8.add(jLabel28);
826
827 requestUntilYYYYTextField.setColumns(4);
828 jPanel8.add(requestUntilYYYYTextField);
829
830 jLabel29.setText("(dd/mm/yyyy)");
831 jPanel8.add(jLabel29);
832
833 gridBagConstraints = new java.awt.GridBagConstraints();
834 gridBagConstraints.gridx = 1;
835 gridBagConstraints.gridy = 4;
836 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
837 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
838 jPanel3.add(jPanel8, gridBagConstraints);
839
840 requestFromDDTextField.setColumns(2);
841 jPanel7.add(requestFromDDTextField);
842
843 jLabel24.setText("/");
844 jPanel7.add(jLabel24);
845
846 requestFromMMTextField.setColumns(2);
847 jPanel7.add(requestFromMMTextField);
848
849 jLabel25.setText("/");
850 jPanel7.add(jLabel25);
851
852 requestFromYYYYTextField.setColumns(4);
853 jPanel7.add(requestFromYYYYTextField);
854
855 jLabel26.setText("(dd/mm/yyyy)");
856 jPanel7.add(jLabel26);
857
858 gridBagConstraints = new java.awt.GridBagConstraints();
859 gridBagConstraints.gridx = 1;
860 gridBagConstraints.gridy = 3;
861 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
862 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
863 jPanel3.add(jPanel7, gridBagConstraints);
864
865 jLabel30.setText("Strength:");
866 gridBagConstraints = new java.awt.GridBagConstraints();
867 gridBagConstraints.gridx = 0;
868 gridBagConstraints.gridy = 6;
869 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
870 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
871 jPanel3.add(jLabel30, gridBagConstraints);
872
873 requestStrengthComboBox.setEditable(true);
874 gridBagConstraints = new java.awt.GridBagConstraints();
875 gridBagConstraints.gridx = 1;
876 gridBagConstraints.gridy = 6;
877 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
878 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
879 jPanel3.add(requestStrengthComboBox, gridBagConstraints);
880
881 gridBagConstraints = new java.awt.GridBagConstraints();
882 gridBagConstraints.gridx = 0;
883 gridBagConstraints.gridy = 1;
884 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
885 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
886 gridBagConstraints.weightx = 1.0;
887 gridBagConstraints.weighty = 1.0;
888 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 5);
889 requestTabPanel.add(jPanel3, gridBagConstraints);
890
891 requestGenerateButton.setText("Generate");
892 requestGenerateButton.addActionListener(new java.awt.event.ActionListener()
893 {
894 public void actionPerformed(java.awt.event.ActionEvent evt)
895 {
896 requestGenerateButtonActionPerformed(evt);
897 }
898 });
899
900 gridBagConstraints = new java.awt.GridBagConstraints();
901 gridBagConstraints.gridx = 0;
902 gridBagConstraints.gridy = 2;
903 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 5);
904 requestTabPanel.add(requestGenerateButton, gridBagConstraints);
905
906 jTabbedPane1.addTab("Generate Request", requestTabPanel);
907
908 signTabPanel.setLayout(new java.awt.GridBagLayout());
909
910 jLabel32.setFont(new java.awt.Font("Dialog", 1, 18));
911 jLabel32.setText("Sign Leaf Certificate");
912 gridBagConstraints = new java.awt.GridBagConstraints();
913 gridBagConstraints.gridx = 0;
914 gridBagConstraints.gridy = 0;
915 gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
916 signTabPanel.add(jLabel32, gridBagConstraints);
917
918 jPanel9.setLayout(new java.awt.GridBagLayout());
919
920 jLabel34.setText("Certificate File:");
921 gridBagConstraints = new java.awt.GridBagConstraints();
922 gridBagConstraints.gridx = 0;
923 gridBagConstraints.gridy = 1;
924 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
925 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
926 jPanel9.add(jLabel34, gridBagConstraints);
927
928 jPanel10.setLayout(new java.awt.GridBagLayout());
929
930 gridBagConstraints = new java.awt.GridBagConstraints();
931 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
932 gridBagConstraints.weightx = 1.0;
933 jPanel10.add(signCertificateFileTextField, gridBagConstraints);
934
935 signCertificateFileButton.setText("...");
936 signCertificateFileButton.addActionListener(new java.awt.event.ActionListener()
937 {
938 public void actionPerformed(java.awt.event.ActionEvent evt)
939 {
940 signCertificateFileButtonActionPerformed(evt);
941 }
942 });
943
944 gridBagConstraints = new java.awt.GridBagConstraints();
945 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
946 jPanel10.add(signCertificateFileButton, gridBagConstraints);
947
948 gridBagConstraints = new java.awt.GridBagConstraints();
949 gridBagConstraints.gridx = 1;
950 gridBagConstraints.gridy = 1;
951 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
952 gridBagConstraints.weightx = 1.0;
953 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
954 jPanel9.add(jPanel10, gridBagConstraints);
955
956 jLabel35.setText("Private Key File:");
957 gridBagConstraints = new java.awt.GridBagConstraints();
958 gridBagConstraints.gridx = 0;
959 gridBagConstraints.gridy = 2;
960 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
961 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
962 jPanel9.add(jLabel35, gridBagConstraints);
963
964 jPanel11.setLayout(new java.awt.GridBagLayout());
965
966 gridBagConstraints = new java.awt.GridBagConstraints();
967 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
968 gridBagConstraints.weightx = 1.0;
969 jPanel11.add(signPrivateKeyFileTextField, gridBagConstraints);
970
971 signPrivateKeyFileButton.setText("...");
972 signPrivateKeyFileButton.addActionListener(new java.awt.event.ActionListener()
973 {
974 public void actionPerformed(java.awt.event.ActionEvent evt)
975 {
976 signPrivateKeyFileButtonActionPerformed(evt);
977 }
978 });
979
980 gridBagConstraints = new java.awt.GridBagConstraints();
981 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
982 jPanel11.add(signPrivateKeyFileButton, gridBagConstraints);
983
984 gridBagConstraints = new java.awt.GridBagConstraints();
985 gridBagConstraints.gridx = 1;
986 gridBagConstraints.gridy = 2;
987 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
988 gridBagConstraints.weightx = 1.0;
989 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
990 jPanel9.add(jPanel11, gridBagConstraints);
991
992 jLabel36.setText("File:");
993 gridBagConstraints = new java.awt.GridBagConstraints();
994 gridBagConstraints.gridx = 0;
995 gridBagConstraints.gridy = 5;
996 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
997 jPanel9.add(jLabel36, gridBagConstraints);
998
999 jPanel12.setLayout(new java.awt.GridBagLayout());
1000
1001 gridBagConstraints = new java.awt.GridBagConstraints();
1002 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
1003 gridBagConstraints.weightx = 1.0;
1004 jPanel12.add(signFileTextField, gridBagConstraints);
1005
1006 signFileButton.setText("...");
1007 signFileButton.addActionListener(new java.awt.event.ActionListener()
1008 {
1009 public void actionPerformed(java.awt.event.ActionEvent evt)
1010 {
1011 signFileButtonActionPerformed(evt);
1012 }
1013 });
1014
1015 gridBagConstraints = new java.awt.GridBagConstraints();
1016 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
1017 jPanel12.add(signFileButton, gridBagConstraints);
1018
1019 gridBagConstraints = new java.awt.GridBagConstraints();
1020 gridBagConstraints.gridx = 1;
1021 gridBagConstraints.gridy = 5;
1022 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
1023 gridBagConstraints.weightx = 1.0;
1024 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
1025 jPanel9.add(jPanel12, gridBagConstraints);
1026
1027 jLabel37.setText("Request File:");
1028 gridBagConstraints = new java.awt.GridBagConstraints();
1029 gridBagConstraints.gridx = 0;
1030 gridBagConstraints.gridy = 0;
1031 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
1032 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
1033 jPanel9.add(jLabel37, gridBagConstraints);
1034
1035 jPanel13.setLayout(new java.awt.GridBagLayout());
1036
1037 gridBagConstraints = new java.awt.GridBagConstraints();
1038 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
1039 gridBagConstraints.weightx = 1.0;
1040 jPanel13.add(signRequestFileTextField, gridBagConstraints);
1041
1042 signRequestFileButton.setText("...");
1043 signRequestFileButton.addActionListener(new java.awt.event.ActionListener()
1044 {
1045 public void actionPerformed(java.awt.event.ActionEvent evt)
1046 {
1047 signRequestFileButtonActionPerformed(evt);
1048 }
1049 });
1050
1051 gridBagConstraints = new java.awt.GridBagConstraints();
1052 gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
1053 jPanel13.add(signRequestFileButton, gridBagConstraints);
1054
1055 gridBagConstraints = new java.awt.GridBagConstraints();
1056 gridBagConstraints.gridx = 1;
1057 gridBagConstraints.gridy = 0;
1058 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
1059 gridBagConstraints.weightx = 1.0;
1060 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
1061 jPanel9.add(jPanel13, gridBagConstraints);
1062
1063 signFromDDTextField.setColumns(2);
1064 jPanel14.add(signFromDDTextField);
1065
1066 jLabel38.setText("/");
1067 jPanel14.add(jLabel38);
1068
1069 signFromMMTextField.setColumns(2);
1070 jPanel14.add(signFromMMTextField);
1071
1072 jLabel39.setText("/");
1073 jPanel14.add(jLabel39);
1074
1075 signFromYYYYTextField.setColumns(4);
1076 jPanel14.add(signFromYYYYTextField);
1077
1078 jLabel40.setText("(dd/mm/yyyy)");
1079 jPanel14.add(jLabel40);
1080
1081 gridBagConstraints = new java.awt.GridBagConstraints();
1082 gridBagConstraints.gridx = 1;
1083 gridBagConstraints.gridy = 3;
1084 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
1085 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
1086 jPanel9.add(jPanel14, gridBagConstraints);
1087
1088 signUntilDDTextField.setColumns(2);
1089 jPanel15.add(signUntilDDTextField);
1090
1091 jLabel41.setText("/");
1092 jPanel15.add(jLabel41);
1093
1094 signUntilMMTextField.setColumns(2);
1095 jPanel15.add(signUntilMMTextField);
1096
1097 jLabel42.setText("/");
1098 jPanel15.add(jLabel42);
1099
1100 signUntilYYYYTextField.setColumns(4);
1101 jPanel15.add(signUntilYYYYTextField);
1102
1103 jLabel43.setText("(dd/mm/yyyy)");
1104 jPanel15.add(jLabel43);
1105
1106 gridBagConstraints = new java.awt.GridBagConstraints();
1107 gridBagConstraints.gridx = 1;
1108 gridBagConstraints.gridy = 4;
1109 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
1110 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
1111 jPanel9.add(jPanel15, gridBagConstraints);
1112
1113 jLabel44.setText("Valid from:");
1114 gridBagConstraints = new java.awt.GridBagConstraints();
1115 gridBagConstraints.gridx = 0;
1116 gridBagConstraints.gridy = 3;
1117 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
1118 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
1119 jPanel9.add(jLabel44, gridBagConstraints);
1120
1121 jLabel45.setText("Valid until:");
1122 gridBagConstraints = new java.awt.GridBagConstraints();
1123 gridBagConstraints.gridx = 0;
1124 gridBagConstraints.gridy = 4;
1125 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
1126 gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
1127 jPanel9.add(jLabel45, gridBagConstraints);
1128
1129 gridBagConstraints = new java.awt.GridBagConstraints();
1130 gridBagConstraints.gridx = 0;
1131 gridBagConstraints.gridy = 1;
1132 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
1133 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
1134 gridBagConstraints.weightx = 1.0;
1135 gridBagConstraints.weighty = 1.0;
1136 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 5);
1137 signTabPanel.add(jPanel9, gridBagConstraints);
1138
1139 signButton.setText("Sign");
1140 signButton.addActionListener(new java.awt.event.ActionListener()
1141 {
1142 public void actionPerformed(java.awt.event.ActionEvent evt)
1143 {
1144 signButtonActionPerformed(evt);
1145 }
1146 });
1147
1148 gridBagConstraints = new java.awt.GridBagConstraints();
1149 gridBagConstraints.gridx = 0;
1150 gridBagConstraints.gridy = 2;
1151 gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 5);
1152 signTabPanel.add(signButton, gridBagConstraints);
1153
1154 jTabbedPane1.addTab("Sign Certificate", signTabPanel);
1155
1156 getContentPane().add(jTabbedPane1, java.awt.BorderLayout.CENTER);
1157
1158 pack();
1159 }
1160
1161 private void xletCertListValueChanged(javax.swing.event.ListSelectionEvent evt)
1162 {
1163 if (xletCertList.getSelectedIndex() != -1)
1164 {
1165 xletRemoveCertButton.setEnabled(true);
1166 xletCertUpButton.setEnabled(true);
1167 xletCertDownButton.setEnabled(true);
1168 }
1169 else
1170 {
1171 xletRemoveCertButton.setEnabled(false);
1172 xletCertUpButton.setEnabled(false);
1173 xletCertDownButton.setEnabled(false);
1174 }
1175 }
1176
1177 private void xletDestinationDirButtonActionPerformed(java.awt.event.ActionEvent evt)
1178 {
1179 directoryChooserButtonActionPerformed(
1180 "Select Destination Directory", xletDestinationDirTextField);
1181 }
1182
1183 private void xletPrivateKeyFileButtonActionPerformed(java.awt.event.ActionEvent evt)
1184 {
1185 fileChooserButtonActionPerformed(
1186 "Select Private Key File", xletPrivateKeyFileTextField);
1187 }
1188
1189 private void xletCertDownButtonActionPerformed(java.awt.event.ActionEvent evt)
1190 {
1191 int index = xletCertList.getSelectedIndex();
1192 javax.swing.DefaultListModel model =
1193 (javax.swing.DefaultListModel)xletCertList.getModel();
1194 if (index < model.size() - 1)
1195 {
1196 model.add(index + 1, model.remove(index));
1197 xletCertList.setSelectedIndex(index + 1);
1198 }
1199 else
1200 {
1201 xletCertList.setSelectedIndex(index);
1202 }
1203 }
1204
1205 private void xletCertUpButtonActionPerformed(java.awt.event.ActionEvent evt)
1206 {
1207 int index = xletCertList.getSelectedIndex();
1208 if (index > 0)
1209 {
1210 javax.swing.DefaultListModel model =
1211 (javax.swing.DefaultListModel)xletCertList.getModel();
1212 model.add(index - 1, model.remove(index));
1213 xletCertList.setSelectedIndex(index - 1);
1214 }
1215 else
1216 {
1217 xletCertList.setSelectedIndex(index);
1218 }
1219 }
1220
1221 private void xletRemoveCertButtonActionPerformed(java.awt.event.ActionEvent evt)
1222 {
1223 ((javax.swing.DefaultListModel)xletCertList.getModel()).
1224 remove(xletCertList.getSelectedIndex());
1225 }
1226
1227 private void xletAddCertButtonActionPerformed(java.awt.event.ActionEvent evt)
1228 {
1229 fileChooserButtonActionPerformed(
1230 "Select Certificate File To Add", xletCertList);
1231 }
1232
1233 private void xletSignButtonActionPerformed(java.awt.event.ActionEvent evt)
1234 {
1235 java.io.File destDir =
1236 new java.io.File(xletDestinationDirTextField.getText());
1237 if (destDir.exists() && !xletDeleteDestDirCheckBox.isSelected())
1238 {
1239 int option = javax.swing.JOptionPane.showConfirmDialog(this,
1240 "The destination directory exists and will be removed.\n" +
1241 "Do you want to continue?",
1242 "Remove Existing Directory?",
1243 javax.swing.JOptionPane.YES_NO_OPTION);
1244 if (option == javax.swing.JOptionPane.NO_OPTION)
1245 {
1246 return;
1247 }
1248 }
1249
1250 Object[] certFiles =
1251 ((javax.swing.DefaultListModel)xletCertList.getModel()).toArray();
1252 StringBuffer sb = new StringBuffer();
1253 for (int i = 0; i < certFiles.length; i++)
1254 {
1255 sb.append(((java.io.File)certFiles[i]).getAbsolutePath());
1256 if (i < certFiles.length - 1)
1257 {
1258 sb.append(java.io.File.pathSeparatorChar);
1259 }
1260 }
1261 String certs = sb.toString();
1262
1263 String[] signFileNames = xletTree.getSignFileNames();
1264 sb = new StringBuffer();
1265 for (int i = 0; i < signFileNames.length; i++)
1266 {
1267 sb.append(signFileNames[i]);
1268 if (i < signFileNames.length - 1)
1269 {
1270 sb.append(java.io.File.pathSeparatorChar);
1271 }
1272 }
1273 String files = sb.toString();
1274
1275 java.util.HashMap arguments = new java.util.HashMap();
1276
1277 arguments.put("certs:", certs);
1278 arguments.put("key:", xletPrivateKeyFileTextField.getText());
1279 arguments.put("src:", xletTree.getRoot().getAbsolutePath());
1280 arguments.put("dest:", xletDestinationDirTextField.getText());
1281 arguments.put("files:", files);
1282 arguments.put("rm:", "true");
1283
1284 net.sf.bse.Command command = new net.sf.bse.SignXlet(arguments);
1285 try
1286 {
1287 command.run();
1288 }
1289 catch (Exception e)
1290 {
1291 e.printStackTrace();
1292 }
1293 }
1294
1295 private void xletRecursiveCheckBoxActionPerformed(java.awt.event.ActionEvent evt)
1296 {
1297 xletTree.setRecursiveSelection(xletRecursiveCheckBox.isSelected());
1298 }
1299
1300 private void xletSelectRootButtonActionPerformed(java.awt.event.ActionEvent evt)
1301 {
1302 chooser.setDialogTitle("Select New Root Directory");
1303 chooser.setFileSelectionMode(javax.swing.JFileChooser.DIRECTORIES_ONLY);
1304 chooser.setMultiSelectionEnabled(false);
1305 int returnVal = chooser.showOpenDialog(this);
1306 if (returnVal == javax.swing.JFileChooser.APPROVE_OPTION)
1307 {
1308 xletTree.setRoot(
1309 new java.io.File(chooser.getSelectedFile().getAbsolutePath()));
1310 }
1311 }
1312
1313 private void signRequestFileButtonActionPerformed(java.awt.event.ActionEvent evt)
1314 {
1315 fileChooserButtonActionPerformed("Select Request File",
1316 signRequestFileTextField);
1317 }
1318
1319 private void signCertificateFileButtonActionPerformed(java.awt.event.ActionEvent evt)
1320 {
1321 fileChooserButtonActionPerformed("Select Certificate File",
1322 signCertificateFileTextField);
1323 }
1324
1325 private void signPrivateKeyFileButtonActionPerformed(java.awt.event.ActionEvent evt)
1326 {
1327 fileChooserButtonActionPerformed("Select Private Key File",
1328 signPrivateKeyFileTextField);
1329 }
1330
1331 private void signFileButtonActionPerformed(java.awt.event.ActionEvent evt)
1332 {
1333 fileChooserButtonActionPerformed("Select File To Save",
1334 signFileTextField);
1335 }
1336
1337 private void signButtonActionPerformed(java.awt.event.ActionEvent evt)
1338 {
1339 java.util.HashMap arguments = new java.util.HashMap();
1340
1341 arguments.put("csrFile:", signRequestFileTextField.getText());
1342 arguments.put("file:", signFileTextField.getText());
1343 arguments.put("certFile:", signCertificateFileTextField.getText());
1344 arguments.put("keyFile:", signPrivateKeyFileTextField.getText());
1345 arguments.put("validFrom:",
1346 signFromDDTextField.getText() + "/" +
1347 signFromMMTextField.getText() + "/" +
1348 signFromYYYYTextField.getText());
1349 arguments.put("validUntil:",
1350 signUntilDDTextField.getText() + "/" +
1351 signUntilMMTextField.getText() + "/" +
1352 signUntilYYYYTextField.getText());
1353
1354 net.sf.bse.Command command =
1355 new net.sf.bse.SignLeafCertificate(arguments);
1356 try
1357 {
1358 command.run();
1359 }
1360 catch (Exception e)
1361 {
1362 e.printStackTrace();
1363 }
1364 }
1365
1366 private void requestFileButtonActionPerformed(java.awt.event.ActionEvent evt)
1367 {
1368 fileChooserButtonActionPerformed("Select File To Save",
1369 requestFileTextField);
1370 }
1371
1372 private void requestGenerateButtonActionPerformed(java.awt.event.ActionEvent evt)
1373 {
1374 java.util.HashMap arguments = new java.util.HashMap();
1375
1376 arguments.put("file:", requestFileTextField.getText());
1377 arguments.put("name:", requestNameTextField.getText());
1378 arguments.put("country:", requestCountryTextField.getText());
1379 arguments.put("email:", requestEmailTextField.getText());
1380 arguments.put("org:", requestOrgIDTextField.getText());
1381 arguments.put("validFrom:",
1382 requestFromDDTextField.getText() + "/" +
1383 requestFromMMTextField.getText() + "/" +
1384 requestFromYYYYTextField.getText());
1385 arguments.put("validUntil:",
1386 requestUntilDDTextField.getText() + "/" +
1387 requestUntilMMTextField.getText() + "/" +
1388 requestUntilYYYYTextField.getText());
1389 arguments.put("strength:",
1390 requestStrengthComboBox.getSelectedItem().toString());
1391
1392 net.sf.bse.Command command =
1393 new net.sf.bse.GenerateLeafRequest(arguments);
1394 try
1395 {
1396 command.run();
1397 }
1398 catch (Exception e)
1399 {
1400 e.printStackTrace();
1401 }
1402 }
1403
1404 private void rootGenerateButtonActionPerformed(java.awt.event.ActionEvent evt)
1405 {
1406 java.util.HashMap arguments = new java.util.HashMap();
1407
1408 arguments.put("file:", rootFileTextField.getText());
1409 arguments.put("name:", rootNameTextField.getText());
1410 arguments.put("country:", rootCountryTextField.getText());
1411 arguments.put("email:", rootEmailTextField.getText());
1412 arguments.put("validFrom:",
1413 rootFromDDTextField.getText() + "/" +
1414 rootFromMMTextField.getText() + "/" +
1415 rootFromYYYYTextField.getText());
1416 arguments.put("validUntil:",
1417 rootUntilDDTextField.getText() + "/" +
1418 rootUntilMMTextField.getText() + "/" +
1419 rootUntilYYYYTextField.getText());
1420 arguments.put("serial:", rootSerialTextField.getText());
1421 arguments.put("strength:",
1422 rootStrengthComboBox.getSelectedItem().toString());
1423
1424 net.sf.bse.Command command =
1425 new net.sf.bse.GenerateRootCertificate(arguments);
1426 try
1427 {
1428 command.run();
1429 }
1430 catch (Exception e)
1431 {
1432 e.printStackTrace();
1433 }
1434 }
1435
1436 private void rootFileButtonActionPerformed(java.awt.event.ActionEvent evt)
1437 {
1438 fileChooserButtonActionPerformed("Select File To Save",
1439 rootFileTextField);
1440 }
1441
1442 private void directoryChooserButtonActionPerformed(
1443 String dialogTitle, javax.swing.JTextField textField)
1444 {
1445 chooser.setDialogTitle(dialogTitle);
1446 chooser.setFileSelectionMode(javax.swing.JFileChooser.DIRECTORIES_ONLY);
1447 chooser.setMultiSelectionEnabled(false);
1448 int returnVal = chooser.showOpenDialog(this);
1449 if (returnVal == javax.swing.JFileChooser.APPROVE_OPTION)
1450 {
1451 textField.setText(chooser.getSelectedFile().getAbsolutePath());
1452 }
1453 }
1454
1455 private void fileChooserButtonActionPerformed(
1456 String dialogTitle, javax.swing.JTextField textField)
1457 {
1458 chooser.setDialogTitle(dialogTitle);
1459 chooser.setFileSelectionMode(javax.swing.JFileChooser.FILES_ONLY);
1460 chooser.setMultiSelectionEnabled(false);
1461 int returnVal = chooser.showOpenDialog(this);
1462 if (returnVal == javax.swing.JFileChooser.APPROVE_OPTION)
1463 {
1464 textField.setText(chooser.getSelectedFile().getAbsolutePath());
1465 }
1466 }
1467
1468 private void fileChooserButtonActionPerformed(
1469 String dialogTitle, javax.swing.JList list)
1470 {
1471 chooser.setDialogTitle(dialogTitle);
1472 chooser.setFileSelectionMode(javax.swing.JFileChooser.FILES_ONLY);
1473 chooser.setMultiSelectionEnabled(true);
1474 int returnVal = chooser.showOpenDialog(this);
1475 if (returnVal == javax.swing.JFileChooser.APPROVE_OPTION)
1476 {
1477 java.io.File[] files = chooser.getSelectedFiles();
1478 for (int i = 0; i < files.length; i++)
1479 {
1480 ((javax.swing.DefaultListModel)list.getModel()).addElement(
1481 files[i]);
1482 }
1483 }
1484 }
1485
1486 /*** Exit the Application */
1487 private void exitForm(java.awt.event.WindowEvent evt)
1488 {
1489 System.exit(0);
1490 }
1491
1492 /***
1493 * @param args the command line arguments
1494 */
1495 public static void main(String args[])
1496 {
1497 new BSEGUI().show();
1498 }
1499
1500
1501 private javax.swing.JTextField signPrivateKeyFileTextField;
1502 private javax.swing.JScrollPane treeScrollPane;
1503 private javax.swing.JTextField rootUntilDDTextField;
1504 private javax.swing.JCheckBox xletDeleteDestDirCheckBox;
1505 private javax.swing.JLabel jLabel35;
1506 private javax.swing.JTextField requestFromMMTextField;
1507 private javax.swing.JComboBox requestStrengthComboBox;
1508 private javax.swing.JButton xletPrivateKeyFileButton;
1509 private javax.swing.JList xletCertList;
1510 private javax.swing.JLabel jLabel23;
1511 private javax.swing.JLabel jLabel9;
1512 private javax.swing.JLabel jLabel44;
1513 private javax.swing.JLabel jLabel37;
1514 private javax.swing.JTextField requestUntilMMTextField;
1515 private javax.swing.JTextField signCertificateFileTextField;
1516 private javax.swing.JPanel jPanel7;
1517 private javax.swing.JTextField rootNameTextField;
1518 private javax.swing.JPanel xletTabPanel;
1519 private javax.swing.JTextField xletDestinationDirTextField;
1520 private javax.swing.JLabel jLabel34;
1521 private javax.swing.JButton xletDestinationDirButton;
1522 private javax.swing.JLabel jLabel8;
1523 private javax.swing.JTextField signFromDDTextField;
1524 private javax.swing.JLabel jLabel21;
1525 private javax.swing.JLabel jLabel26;
1526 private javax.swing.JLabel jLabel48;
1527 private javax.swing.JTextField signFromYYYYTextField;
1528 private javax.swing.JPanel jPanel4;
1529 private javax.swing.JButton requestFileButton;
1530 private javax.swing.JLabel jLabel20;
1531 private javax.swing.JLabel jLabel1;
1532 private javax.swing.JTextField rootUntilYYYYTextField;
1533 private javax.swing.JLabel jLabel32;
1534 private javax.swing.JComboBox rootStrengthComboBox;
1535 private javax.swing.JTextField requestFromYYYYTextField;
1536 private javax.swing.JPanel jPanel3;
1537 private javax.swing.JTextField signRequestFileTextField;
1538 private javax.swing.JLabel jLabel2;
1539 private javax.swing.JTextField signUntilMMTextField;
1540 private javax.swing.JLabel jLabel24;
1541 private javax.swing.JPanel jPanel24;
1542 private javax.swing.JButton signButton;
1543 private javax.swing.JPanel jPanel5;
1544 private javax.swing.JButton requestGenerateButton;
1545 private javax.swing.JTextField signUntilYYYYTextField;
1546 private javax.swing.JPanel signTabPanel;
1547 private javax.swing.JButton xletCertUpButton;
1548 private javax.swing.JLabel jLabel19;
1549 private javax.swing.JPanel jPanel8;
1550 private javax.swing.JPanel jPanel22;
1551 private javax.swing.JPanel rootTabPanel;
1552 private javax.swing.JLabel jLabel11;
1553 private javax.swing.JLabel jLabel7;
1554 private javax.swing.JLabel jLabel25;
1555 private javax.swing.JPanel jPanel18;
1556 private javax.swing.JPanel jPanel17;
1557 private javax.swing.JLabel jLabel36;
1558 private javax.swing.JPanel jPanel21;
1559 private javax.swing.JButton xletRemoveCertButton;
1560 private javax.swing.JTextField signFileTextField;
1561 private javax.swing.JLabel jLabel28;
1562 private javax.swing.JPanel jPanel20;
1563 private javax.swing.JLabel jLabel22;
1564 private javax.swing.JPanel jPanel15;
1565 private javax.swing.JLabel jLabel27;
1566 private javax.swing.JPanel jPanel9;
1567 private javax.swing.JPanel jPanel23;
1568 private javax.swing.JLabel jLabel10;
1569 private javax.swing.JPanel jPanel16;
1570 private javax.swing.JPanel jPanel19;
1571 private javax.swing.JLabel jLabel40;
1572 private javax.swing.JButton rootGenerateButton;
1573 private javax.swing.JPanel jPanel13;
1574 private javax.swing.JTextField signUntilDDTextField;
1575 private javax.swing.JPanel jPanel10;
1576 private javax.swing.JTextField rootSerialTextField;
1577 private javax.swing.JTextField rootFromYYYYTextField;
1578 private javax.swing.JLabel jLabel14;
1579 private javax.swing.JTextField rootCountryTextField;
1580 private javax.swing.JTextField rootEmailTextField;
1581 private javax.swing.JLabel jLabel38;
1582 private javax.swing.JButton signRequestFileButton;
1583 private javax.swing.JButton signPrivateKeyFileButton;
1584 private javax.swing.JPanel jPanel12;
1585 private javax.swing.JTextField requestFromDDTextField;
1586 private javax.swing.JLabel jLabel16;
1587 private javax.swing.JButton xletSelectRootButton;
1588 private javax.swing.JLabel jLabel18;
1589 private javax.swing.JButton signFileButton;
1590 private javax.swing.JLabel jLabel17;
1591 private javax.swing.JButton signCertificateFileButton;
1592 private javax.swing.JPanel jPanel1;
1593 private javax.swing.JLabel jLabel41;
1594 private javax.swing.JTextField rootFileTextField;
1595 private javax.swing.JTextField xletPrivateKeyFileTextField;
1596 private javax.swing.JPanel jPanel6;
1597 private javax.swing.JLabel jLabel29;
1598 private javax.swing.JLabel jLabel39;
1599 private javax.swing.JPanel jPanel14;
1600 private javax.swing.JLabel jLabel6;
1601 private javax.swing.JTextField requestOrgIDTextField;
1602 private javax.swing.JLabel jLabel42;
1603 private javax.swing.JTabbedPane jTabbedPane1;
1604 private javax.swing.JLabel jLabel5;
1605 private javax.swing.JLabel jLabel4;
1606 private javax.swing.JLabel jLabel12;
1607 private javax.swing.JLabel jLabel33;
1608 private javax.swing.JScrollPane jScrollPane1;
1609 private javax.swing.JTextField requestNameTextField;
1610 private javax.swing.JTextField signFromMMTextField;
1611 private javax.swing.JLabel jLabel3;
1612 private javax.swing.JLabel jLabel13;
1613 private javax.swing.JButton xletCertDownButton;
1614 private javax.swing.JTextField requestFileTextField;
1615 private javax.swing.JLabel jLabel43;
1616 private javax.swing.JTextField requestEmailTextField;
1617 private javax.swing.JLabel jLabel30;
1618 private javax.swing.JTextField rootFromMMTextField;
1619 private javax.swing.JPanel requestTabPanel;
1620 private javax.swing.JButton xletSignButton;
1621 private javax.swing.JPanel jPanel2;
1622 private javax.swing.JLabel jLabel45;
1623 private javax.swing.JPanel jPanel11;
1624 private javax.swing.JTextField requestUntilYYYYTextField;
1625 private javax.swing.JTextField rootUntilMMTextField;
1626 private javax.swing.JButton xletAddCertButton;
1627 private javax.swing.JTextField requestCountryTextField;
1628 private javax.swing.JTextField requestUntilDDTextField;
1629 private javax.swing.JButton rootFileButton;
1630 private javax.swing.JTextField rootFromDDTextField;
1631 private javax.swing.JCheckBox xletRecursiveCheckBox;
1632 private javax.swing.JLabel jLabel15;
1633
1634 }