mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +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
35 lines
521 B
C++
35 lines
521 B
C++
/* vi: set sw=4 ts=4:
|
|
*
|
|
* Copyright (C) 2001 - 2010 Christian Hohnstaedt.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
#ifndef __DB_TOKEN_H
|
|
#define __DB_TOKEN_H
|
|
|
|
#include <QObject>
|
|
#include <QPixmap>
|
|
#include <QEvent>
|
|
|
|
#include "pkcs11_lib.h"
|
|
#include "db_base.h"
|
|
|
|
class db_token: public db_base
|
|
{
|
|
Q_OBJECT
|
|
private:
|
|
slotid slot;
|
|
public:
|
|
db_token(MainWindow *mw);
|
|
bool setData(const QModelIndex &index,
|
|
const QVariant &value, int role);
|
|
void setSlot(slotid s)
|
|
{
|
|
slot = s;
|
|
}
|
|
void saveHeaderState();
|
|
};
|
|
|
|
#endif
|