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.
42 lines
715 B
C++
42 lines
715 B
C++
/* vi: set sw=4 ts=4:
|
|
*
|
|
* Copyright (C) 2001 - 2011 Christian Hohnstaedt.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
|
|
#ifndef __DB_X509SUPER_H
|
|
#define __DB_X509SUPER_H
|
|
|
|
#include "db_key.h"
|
|
#include "pki_x509super.h"
|
|
#include <QList>
|
|
|
|
class db_x509name: public db_base
|
|
{
|
|
Q_OBJECT
|
|
|
|
protected:
|
|
dbheaderList getHeaders();
|
|
public:
|
|
db_x509name(const char *classname);
|
|
};
|
|
|
|
class db_x509super: public db_x509name
|
|
{
|
|
Q_OBJECT
|
|
|
|
protected:
|
|
dbheaderList getHeaders();
|
|
void loadContainer();
|
|
public:
|
|
db_x509super(const char *classname);
|
|
pki_key *findKey(pki_x509super *ref);
|
|
QList<pki_x509super *> findByPubKey(pki_key *refkey);
|
|
void extractPubkey(QModelIndex index);
|
|
void toTemplate(QModelIndex index);
|
|
};
|
|
|
|
#endif
|