mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
*** empty log message ***
This commit is contained in:
parent
f77d5a2b17
commit
53c84c5dff
@ -54,7 +54,8 @@
|
||||
|
||||
QPixmap *MainWindow::keyImg = NULL, *MainWindow::csrImg = NULL,
|
||||
*MainWindow::certImg = NULL, *MainWindow::tempImg = NULL,
|
||||
*MainWindow::nsImg = NULL;
|
||||
*MainWindow::nsImg = NULL, *MainWindow::revImg = NULL;
|
||||
|
||||
|
||||
const QString MainWindow::xca_title = tr("X Certifikate and Key management");
|
||||
|
||||
@ -93,6 +94,7 @@ MainWindow::MainWindow(QWidget *parent, const char *name )
|
||||
certImg = loadImg("bigcert.png");
|
||||
tempImg = loadImg("bigtemp.png");
|
||||
nsImg = loadImg("netscape.png");
|
||||
revImg = loadImg("revoked.png");
|
||||
initPass();
|
||||
keys = new db_key(dbenv, dbfile.latin1(), keyList);
|
||||
reqs = new db_x509req(dbenv, dbfile.latin1(), reqList, keys);
|
||||
@ -102,6 +104,7 @@ MainWindow::MainWindow(QWidget *parent, const char *name )
|
||||
bigCsr->setPixmap(*csrImg);
|
||||
bigCert->setPixmap(*certImg);
|
||||
bigTemp->setPixmap(*tempImg);
|
||||
bigRev->setPixmap(*revImg);
|
||||
#ifdef qt3
|
||||
connect( keyList, SIGNAL(itemRenamed(QListViewItem *, int, const QString &)),this, SLOT(renameKey(QListViewItem *, int, const QString &)));
|
||||
connect( reqList, SIGNAL(itemRenamed(QListViewItem *, int, const QString &)),this, SLOT(renameReq(QListViewItem *, int, const QString &)));
|
||||
|
||||
@ -116,7 +116,7 @@ class MainWindow: public MainWindow_UI
|
||||
db_temp *temps;
|
||||
DbEnv *dbenv;
|
||||
db_base *settings;
|
||||
static QPixmap *keyImg, *csrImg, *certImg, *tempImg, *nsImg;
|
||||
static QPixmap *keyImg, *csrImg, *certImg, *tempImg, *nsImg, *revImg;
|
||||
const static QString xca_title;
|
||||
public:
|
||||
QString baseDir, dbfile;
|
||||
|
||||
@ -93,7 +93,7 @@ void MainWindow::showDetailsReq(pki_x509req *req)
|
||||
if (opensslError(req)) return;
|
||||
ReqDetail_UI *dlg = new ReqDetail_UI(this,0,true);
|
||||
dlg->descr->setText(req->getDescription().c_str());
|
||||
if ( req->verify() ) {
|
||||
if (!req->verify() ) {
|
||||
dlg->verify->setDisabled(true);
|
||||
dlg->verify->setText("FEHLER");
|
||||
}
|
||||
|
||||
@ -140,6 +140,7 @@ NewX509::NewX509(QWidget *parent , const char *name, db_key *key, db_x509req *re
|
||||
setAppropriate(page1,false);
|
||||
}
|
||||
else {
|
||||
strings.prepend(tr("Empty Template"));
|
||||
tempList->insertStringList(strings);
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>596</width>
|
||||
<width>592</width>
|
||||
<height>520</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -1574,6 +1574,10 @@ For a SSL servercertificate choose the DNS name of the server as "Common name"</
|
||||
<vsizetype>7</vsizetype>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>selectionMode</name>
|
||||
<enum>Multi</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property>
|
||||
|
||||
@ -420,8 +420,7 @@ QPixmap *db_base::loadImg(const char *name )
|
||||
path += QDir::separator();
|
||||
path += BASE_DIR ;
|
||||
#else
|
||||
path = QDir::homeDirPath() + QDir::separator();
|
||||
path += PREFIX ;
|
||||
path = PREFIX ;
|
||||
#endif
|
||||
path += QDir::separator();
|
||||
path += name;
|
||||
|
||||
@ -131,6 +131,8 @@ pki_temp::pki_temp(const string d, int atype)
|
||||
bcCrit=true;
|
||||
authKey=true;
|
||||
issAltCp=true;
|
||||
nsCertType=112;
|
||||
keyUse=96;
|
||||
}
|
||||
if (type==tCLIENT) {
|
||||
ca=false;
|
||||
@ -138,6 +140,8 @@ pki_temp::pki_temp(const string d, int atype)
|
||||
authKey=true;
|
||||
issAltCp=true;
|
||||
subAltCp=true;
|
||||
nsCertType=5;
|
||||
keyUse=13;
|
||||
}
|
||||
if (type==tSERVER) {
|
||||
ca=false;
|
||||
@ -145,6 +149,8 @@ pki_temp::pki_temp(const string d, int atype)
|
||||
authKey=true;
|
||||
issAltCp=true;
|
||||
subAltCp=true;
|
||||
nsCertType=2;
|
||||
keyUse=12;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user