File: NewKey.h

package info (click to toggle)
xca 2.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,328 kB
  • sloc: cpp: 30,584; sh: 341; xml: 74; makefile: 56; python: 34
file content (32 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (2)
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
/* vi: set sw=4 ts=4:
 *
 * Copyright (C) 2001 - 2014 Christian Hohnstaedt.
 *
 * All rights reserved.
 */

#ifndef __NEWKEY_H
#define __NEWKEY_H

#include "ui_NewKey.h"
#include "lib/pkcs11_lib.h"
#include "lib/pki_key.h"
#include "lib/builtin_curves.h"
#include <QStringList>

class NewKey: public QDialog, public Ui::NewKey
{
	Q_OBJECT
	private:
		void updateCurves(unsigned min=0, unsigned max=INT_MAX,
			unsigned long ec_flags=0);
		void addCurveBoxCurves(const QList<builtin_curve> &curves);
	public:
		NewKey(QWidget *parent, const QString &name);
		keyjob getKeyJob() const;

	public slots:
		void accept();
		void on_keyType_currentIndexChanged(int);
};
#endif