1 /* vi: set sw=4 ts=4:
2  *
3  * Copyright (C) 2010 Christian Hohnstaedt.
4  *
5  * All rights reserved.
6  */
7 
8 #ifndef __NEWCRL_H
9 #define __NEWCRL_H
10 
11 #include "ui_NewCrl.h"
12 #include "lib/pki_crl.h"
13 
14 class pki_key;
15 
16 class NewCrl: public QWidget, public Ui::NewCrl
17 {
18 	Q_OBJECT
19 
20 	crljob task;
21    public:
22 	NewCrl(const crljob &task, QWidget *w = nullptr);
23 	~NewCrl();
24 	crljob getCrlJob() const;
25 	static void newCrl(QWidget *parent, pki_x509 *issuer);
26 
27    public slots:
28 	void on_applyTime_clicked();
29 };
30 #endif
31