mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
should not be used at the same time. Actually "Keep serial number" should generally be used with care. When checking "Keep serial number", "Revoke old certificate" is disabled and unchecked and "Replace old certificate" is disabled and checked.
34 lines
521 B
C++
34 lines
521 B
C++
/* vi: set sw=4 ts=4:
|
|
*
|
|
* Copyright (C) 2001 - 2010 Christian Hohnstaedt.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
#ifndef __CERTEXTEND_H
|
|
#define __CERTEXTEND_H
|
|
|
|
#include "ui_CertExtend.h"
|
|
#include "lib/pki_x509.h"
|
|
|
|
class pki_key;
|
|
|
|
class CertExtend: public QDialog, public Ui::CertExtend
|
|
{
|
|
Q_OBJECT
|
|
|
|
pki_x509 *signer{};
|
|
bool old_replace{};
|
|
bool old_revoke{};
|
|
|
|
public:
|
|
CertExtend(QWidget *parent, pki_x509 *s);
|
|
|
|
public slots:
|
|
void on_applyTime_clicked();
|
|
void on_keepSerial_toggled(bool);
|
|
void accept();
|
|
|
|
};
|
|
#endif
|