xca/lib/db_crl.h
Christian Hohnstaedt e39be9b4e9 Close #423: parameter --name is not respected when running with CLI
Evaluate --name argument when generating the CRL.
Add --import-names option. This allows to name the imported items
individually, even if one PEM file contains multiple items.
2023-09-24 00:34:46 +02:00

32 lines
685 B
C++

/* vi: set sw=4 ts=4:
*
* Copyright (C) 2001 - 2007 Christian Hohnstaedt.
*
* All rights reserved.
*/
#ifndef __DB_CRL_H
#define __DB_CRL_H
#include "db_x509super.h"
#include "pki_crl.h"
class db_crl: public db_x509name
{
Q_OBJECT
protected:
dbheaderList getHeaders();
public:
db_crl();
pki_base *newPKI(enum pki_type type);
void revokeCerts(pki_crl *crl);
void inToCont(pki_base *pki);
pki_base *insert(pki_base *item);
void removeSigner(pki_base *signer);
void updateCertView();
pki_crl *newCrl(const crljob &crljob, QString name = QString());
void exportItems(const QModelIndexList &indexes,
const pki_export *xport, XFile &file) const;
};
#endif