mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
This is a large squash of many small commits. Allow porting data from the legacy format to SQL. Store Binaries base64 encoded and use db->transaction Update password hash to be 8000 x SHA512 with 8 byte Salt Add revocations table and fixup CRL generation Add comment and insertion date columns Fix column saving, remove trust, add XcaDialog Allow changing the internal name and comment in Cert/Req details view Extend Comment functionality, Replace About.ui by XcaDialog.ui
39 lines
668 B
C++
39 lines
668 B
C++
/* vi: set sw=4 ts=4:
|
|
*
|
|
* Copyright (C) 2001 - 2010 Christian Hohnstaedt.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
|
|
#ifndef __PKI_MULTI_H
|
|
#define __PKI_MULTI_H
|
|
|
|
#include <openssl/pem.h>
|
|
#include "pki_x509.h"
|
|
#include "x509name.h"
|
|
#include "asn1time.h"
|
|
#include "asn1int.h"
|
|
|
|
class pki_multi: public pki_base
|
|
{
|
|
Q_OBJECT
|
|
protected:
|
|
QList<pki_base*> multi;
|
|
public:
|
|
pki_multi(const QString name = "");
|
|
~pki_multi();
|
|
void fromPEMbyteArray(QByteArray &ba, QString name);
|
|
void fload(const QString fname);
|
|
void probeAnything(const QString fname);
|
|
pki_base *pull();
|
|
int count() const
|
|
{
|
|
return multi.count();
|
|
}
|
|
const char *getClassName() const;
|
|
|
|
};
|
|
|
|
#endif
|