1 /* vi: set sw=4 ts=4: 2 * 3 * Copyright (C) 2001 - 2020 Christian Hohnstaedt. 4 * 5 * All rights reserved. 6 */ 7 8 9 #ifndef __PKI_MULTI_H 10 #define __PKI_MULTI_H 11 12 #include <QStringList> 13 #include "pki_base.h" 14 15 class pki_multi: public pki_base 16 { 17 Q_OBJECT 18 protected: 19 QList<pki_base*> multi; 20 public: 21 pki_multi(const QString &name = ""); 22 ~pki_multi(); 23 QStringList failed_files; 24 void fromPEMbyteArray(const QByteArray &, const QString &); 25 void fload(const QString &fname); 26 void probeAnything(const QString &fname); 27 void append_item(pki_base *pki); 28 void print(BioByteArray &b, enum print_opt opt) const; 29 QList<pki_base *> pull(); 30 QList<pki_base *> get() const; 31 }; 32 #endif 33