mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
Collect all export formats in pki_export. Each export format has assigned acouple of flags, indicating, whether they are text, concatenateable, encrypted, usable for multiple selections or only for a single item.
40 lines
792 B
C++
40 lines
792 B
C++
/* vi: set sw=4 ts=4:
|
|
*
|
|
* Copyright (C) 2001 - 2007 Christian Hohnstaedt.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
|
|
#ifndef __DB_X509REQ_H
|
|
#define __DB_X509REQ_H
|
|
|
|
#include "db_x509super.h"
|
|
|
|
class pki_temp;
|
|
class pki_x509req;
|
|
|
|
class db_x509req: public db_x509super
|
|
{
|
|
Q_OBJECT
|
|
|
|
protected:
|
|
dbheaderList getHeaders();
|
|
public:
|
|
db_x509req();
|
|
pki_base* insert(pki_base *item);
|
|
pki_base *newPKI(enum pki_type type = none);
|
|
void fillContextMenu(QMenu *menu, const QModelIndex &index);
|
|
QList<pki_x509req*> getAllRequests();
|
|
void resetX509count();
|
|
void setSigned(QModelIndex index, bool signe);
|
|
void exportItem(const QModelIndex &index,
|
|
const pki_export *xport, XFile &file) const;
|
|
|
|
public slots:
|
|
void newItem(pki_temp *temp, pki_x509req *orig = NULL);
|
|
void newItem();
|
|
};
|
|
|
|
#endif
|