From 8283d8e7b9db4791012f2d71a93755edb346d8fa Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 12 Apr 2007 12:25:28 +0200 Subject: [PATCH] replace copyright notice in source files (copyright and licence itself remain unchanged) fix configure to set Qt include dir code justifying --- .gitignore | 1 + COPYRIGHT | 9 +- Makefile | 4 +- configure | 2 + doc/Makefile | 2 +- lib/asn1int.cpp | 47 +--------- lib/asn1int.h | 47 +--------- lib/asn1time.cpp | 48 +--------- lib/asn1time.h | 47 +--------- lib/base.h | 7 +- lib/db.cpp | 7 ++ lib/db.h | 7 ++ lib/db_base.cpp | 48 +--------- lib/db_base.h | 160 ++++++++++++-------------------- lib/db_crl.cpp | 48 +--------- lib/db_crl.h | 47 +--------- lib/db_dump.cpp | 7 +- lib/db_key.cpp | 48 +--------- lib/db_key.h | 93 ++++++------------- lib/db_temp.cpp | 47 +--------- lib/db_temp.h | 47 +--------- lib/db_x509.cpp | 48 +--------- lib/db_x509.h | 48 +--------- lib/db_x509req.cpp | 48 +--------- lib/db_x509req.h | 73 ++++----------- lib/db_x509super.cpp | 47 +--------- lib/db_x509super.h | 61 ++---------- lib/exception.h | 47 +--------- lib/func.cpp | 47 +--------- lib/func.h | 47 +--------- lib/import.cpp | 9 +- lib/load_obj.cpp | 47 +--------- lib/load_obj.h | 47 +--------- lib/main.cpp | 48 +--------- lib/oid.cpp | 48 +--------- lib/oid.h | 48 +--------- lib/pass_info.cpp | 47 +--------- lib/pass_info.h | 47 +--------- lib/pki_base.cpp | 48 +--------- lib/pki_base.h | 143 ++++++++++------------------ lib/pki_crl.cpp | 48 +--------- lib/pki_crl.h | 119 ++++++++---------------- lib/pki_key.cpp | 48 +--------- lib/pki_key.h | 173 +++++++++++++--------------------- lib/pki_pkcs12.cpp | 48 +--------- lib/pki_pkcs12.h | 47 +--------- lib/pki_pkcs7.cpp | 47 +--------- lib/pki_pkcs7.h | 47 +--------- lib/pki_temp.cpp | 48 +--------- lib/pki_temp.h | 48 +--------- lib/pki_x509.cpp | 47 +--------- lib/pki_x509.h | 201 ++++++++++++++++------------------------ lib/pki_x509req.cpp | 48 +--------- lib/pki_x509req.h | 111 +++++++--------------- lib/pki_x509super.cpp | 47 +--------- lib/pki_x509super.h | 67 +++----------- lib/x509name.cpp | 48 +--------- lib/x509name.h | 48 +--------- lib/x509rev.cpp | 48 +--------- lib/x509rev.h | 48 +--------- lib/x509v3ext.cpp | 48 +--------- lib/x509v3ext.h | 47 +--------- widgets/CertDetail.cpp | 47 +--------- widgets/CertDetail.h | 47 +--------- widgets/CertExtend.cpp | 47 +--------- widgets/CertExtend.h | 46 +-------- widgets/CrlDetail.cpp | 48 +--------- widgets/CrlDetail.h | 48 +--------- widgets/ExportCert.cpp | 47 +--------- widgets/ExportCert.h | 47 +--------- widgets/ExportDer.cpp | 47 +--------- widgets/ExportDer.h | 47 +--------- widgets/ExportKey.cpp | 47 +--------- widgets/ExportKey.h | 47 +--------- widgets/ImportMulti.cpp | 48 +--------- widgets/ImportMulti.h | 48 +--------- widgets/KeyDetail.cpp | 48 +--------- widgets/KeyDetail.h | 47 +--------- widgets/MW_database.cpp | 47 +--------- widgets/MW_help.cpp | 48 +--------- widgets/MW_menu.cpp | 48 +--------- widgets/MainWindow.cpp | 48 +--------- widgets/MainWindow.h | 48 +--------- widgets/NewX509.cpp | 48 +--------- widgets/NewX509.h | 47 +--------- widgets/NewX509_ext.cpp | 48 +--------- widgets/ReqDetail.cpp | 47 +--------- widgets/ReqDetail.h | 47 +--------- widgets/XcaTreeView.cpp | 47 +--------- widgets/XcaTreeView.h | 47 +--------- widgets/clicklabel.cpp | 48 +--------- widgets/clicklabel.h | 48 +--------- widgets/distname.cpp | 47 +--------- widgets/distname.h | 47 +--------- widgets/v3ext.cpp | 48 +--------- widgets/v3ext.h | 48 +--------- widgets/validity.cpp | 48 +--------- widgets/validity.h | 47 +--------- 98 files changed, 674 insertions(+), 4285 deletions(-) diff --git a/.gitignore b/.gitignore index 6c46365e..0c809335 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ *.h.gch moc_* Local.mak +local.h conftest conftest.c conftest.log diff --git a/COPYRIGHT b/COPYRIGHT index 3b67d248..e4f0e593 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,5 +1,5 @@ -Copyright (C) 2001 - 2006 Christian Hohnstaedt. +Copyright (C) 2001 - 2007 Christian Hohnstaedt. All rights reserved. @@ -33,8 +33,9 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This program links to software with different licenses from: - http://www.openssl.org which includes cryptographic software - written by Eric Young (eay@cryptsoft.com)" + - http://www.openssl.org which includes cryptographic software + written by Eric Young (eay@cryptsoft.com)" + + - http://www.trolltech.com - http://www.trolltech.com diff --git a/Makefile b/Makefile index cbe24274..fb90d09a 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ clean: distclean: clean for x in $(SUBDIRS) $(CLEANDIRS); do $(MAKE) -C $${x} distclean; done - rm -f Local.mak conftest conftest.log xca.pro + rm -f Local.mak conftest conftest.log dist: lang doc test ! -z "$(TVERSION)" @@ -85,6 +85,6 @@ setup.exe: xca$(SUFFIX) misc/xca.nsi doc lang .PHONY: $(SUBDIRS) $(INSTDIR) xca.app setup.exe doc lang -Local.mak: configure +Local.mak local.h: configure ./configure diff --git a/configure b/configure index fd22cd31..fd1dde74 100755 --- a/configure +++ b/configure @@ -123,6 +123,8 @@ echo -e "\n\nConfiguring XCA `cat VERSION`\n----------------------------" ######################### QT subdirs="/qt /qt4" search_includes Qt/qobject.h || err "The QT Library headerfiles were not found. Set QTDIR appropriately." +subdirs="/qt/Qt /qt4/Qt" +search_includes qobject.h || err "The QT Library headerfiles were not found. Set QTDIR appropriately." search_lib QtGui4 QtGui || err "The QT library was not found." search_lib c_r || true diff --git a/doc/Makefile b/doc/Makefile index dc6a5b7d..8c770dd3 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -19,7 +19,7 @@ install: xca.1.gz xca.html install xca.1.gz $(destdir)$(prefix)/$(mandir)/man1 clean: - $(RM) xca.1.gz xca.1 + $(RM) xca.1.gz app: xca.html mkdir -p $(APPDIR)/Resources diff --git a/lib/asn1int.cpp b/lib/asn1int.cpp index 777731ac..8530e804 100644 --- a/lib/asn1int.cpp +++ b/lib/asn1int.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/asn1int.h b/lib/asn1int.h index 06a87ad0..08681eaf 100644 --- a/lib/asn1int.h +++ b/lib/asn1int.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef ASN1INTEGER_H diff --git a/lib/asn1time.cpp b/lib/asn1time.cpp index 447811c7..dc0dffa7 100644 --- a/lib/asn1time.cpp +++ b/lib/asn1time.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "base.h" diff --git a/lib/asn1time.h b/lib/asn1time.h index 58c6510b..60e112b9 100644 --- a/lib/asn1time.h +++ b/lib/asn1time.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef ASN1TIME_H diff --git a/lib/base.h b/lib/base.h index d0bdd911..f0c4fee7 100644 --- a/lib/base.h +++ b/lib/base.h @@ -1,4 +1,9 @@ -/* base definitions */ +/* vi: set sw=4 ts=4: + * + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. + * + * All rights reserved. + */ #ifndef BASE_H #define BASE_H diff --git a/lib/db.cpp b/lib/db.cpp index b7872afd..d00fe609 100644 --- a/lib/db.cpp +++ b/lib/db.cpp @@ -1,3 +1,10 @@ +/* vi: set sw=4 ts=4: + * + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. + * + * All rights reserved. + */ + #include "db.h" #include "base.h" #include "exception.h" diff --git a/lib/db.h b/lib/db.h index c7b024ad..1d6759bd 100644 --- a/lib/db.h +++ b/lib/db.h @@ -1,3 +1,10 @@ +/* vi: set sw=4 ts=4: + * + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. + * + * All rights reserved. + */ + #ifndef _XCA_DB_H_ #define _XCA_DB_H_ diff --git a/lib/db_base.cpp b/lib/db_base.cpp index 99677488..ced0574a 100644 --- a/lib/db_base.cpp +++ b/lib/db_base.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/db_base.h b/lib/db_base.h index e105447f..c41a7cd0 100644 --- a/lib/db_base.h +++ b/lib/db_base.h @@ -1,48 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef DB_BASE_H @@ -71,68 +31,68 @@ class db_base: public QAbstractItemModel { Q_OBJECT - protected: - QString dbName, delete_txt; - QModelIndex currentIdx; - void _writePKI(pki_base *pki, bool overwrite ); - void _removePKI(pki_base *pki ); - void removeItem(QString k); - enum pki_type pkitype; - QList headertext; - MainWindow *mainwin; - XcaTreeView *view; - QString class_name; + protected: + QString dbName, delete_txt; + QModelIndex currentIdx; + void _writePKI(pki_base *pki, bool overwrite ); + void _removePKI(pki_base *pki ); + void removeItem(QString k); + enum pki_type pkitype; + QList headertext; + MainWindow *mainwin; + XcaTreeView *view; + QString class_name; - public: - pki_base *rootItem; - db_base(QString db, MainWindow *mw); - virtual ~db_base(); - virtual pki_base *newPKI(); - virtual void insertPKI(pki_base *pki); - virtual void updatePKI(pki_base *pki); - pki_base *getByName(QString desc); - pki_base *getByReference(pki_base *refpki); - pki_base *getByPtr(void *); - virtual void loadContainer(); - QStringList getDesc(); - virtual pki_base* insert(pki_base *item); - virtual void inToCont(pki_base *pki); - virtual void remFromCont(QModelIndex &idx); + public: + pki_base *rootItem; + db_base(QString db, MainWindow *mw); + virtual ~db_base(); + virtual pki_base *newPKI(); + virtual void insertPKI(pki_base *pki); + virtual void updatePKI(pki_base *pki); + pki_base *getByName(QString desc); + pki_base *getByReference(pki_base *refpki); + pki_base *getByPtr(void *); + virtual void loadContainer(); + QStringList getDesc(); + virtual pki_base* insert(pki_base *item); + virtual void inToCont(pki_base *pki); + virtual void remFromCont(QModelIndex &idx); - QPixmap *loadImg(const char *name); - void writeAll(void); - void dump(QString dirname); - virtual void showContextMenu(QContextMenuEvent * e, - const QModelIndex &index){}; + QPixmap *loadImg(const char *name); + void writeAll(void); + void dump(QString dirname); + virtual void showContextMenu(QContextMenuEvent * e, + const QModelIndex &index){}; - QModelIndex index(int row, int column, const QModelIndex &parent)const; - QModelIndex index(pki_base *pki)const; - QModelIndex parent(const QModelIndex &index) const; - int rowCount(const QModelIndex &parent) const; - int columnCount(const QModelIndex &parent) const; - QVariant data(const QModelIndex &index, int role) const; - QVariant headerData(int section, Qt::Orientation orientation, - int role) const; - Qt::ItemFlags flags(const QModelIndex &index) const; - bool setData(const QModelIndex &index, const QVariant &value, int role); - void deleteSelectedItems(XcaTreeView* view); - void showSelectedItems(XcaTreeView *view); - void storeSelectedItems(XcaTreeView *view); - void load_default(load_base &load); - void insertChild(pki_base *parent, pki_base *child); + QModelIndex index(int row, int column, const QModelIndex &parent)const; + QModelIndex index(pki_base *pki)const; + QModelIndex parent(const QModelIndex &index) const; + int rowCount(const QModelIndex &parent) const; + int columnCount(const QModelIndex &parent) const; + QVariant data(const QModelIndex &index, int role) const; + QVariant headerData(int section, Qt::Orientation orientation, + int role) const; + Qt::ItemFlags flags(const QModelIndex &index) const; + bool setData(const QModelIndex &index, const QVariant &value, int role); + void deleteSelectedItems(XcaTreeView* view); + void showSelectedItems(XcaTreeView *view); + void storeSelectedItems(XcaTreeView *view); + void load_default(load_base &load); + void insertChild(pki_base *parent, pki_base *child); - public slots: - void deletePKI(); - void delete_ask(); - void edit(); - virtual void showItem(); - virtual void store(){}; - virtual void showPki(pki_base *pki) { }; - virtual void showItem(const QModelIndex &index); - virtual void showItem(const QString keyname); + public slots: + void deletePKI(); + void delete_ask(); + void edit(); + virtual void showItem(); + virtual void store(){}; + virtual void showPki(pki_base *pki) { }; + virtual void showItem(const QModelIndex &index); + virtual void showItem(const QString keyname); - signals: - void connNewX509(NewX509 *dlg); + signals: + void connNewX509(NewX509 *dlg); }; #endif diff --git a/lib/db_crl.cpp b/lib/db_crl.cpp index 821ac4ac..0f215c15 100644 --- a/lib/db_crl.cpp +++ b/lib/db_crl.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/db_crl.h b/lib/db_crl.h index d38a26d4..923355f8 100644 --- a/lib/db_crl.h +++ b/lib/db_crl.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef DB_CRL_H diff --git a/lib/db_dump.cpp b/lib/db_dump.cpp index ff1276f1..3c895335 100644 --- a/lib/db_dump.cpp +++ b/lib/db_dump.cpp @@ -1,4 +1,9 @@ -#include "db.h" +/* vi: set sw=4 ts=4: + * + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. + * + * All rights reserved. + */ int main(int argc, char *argv[]) { diff --git a/lib/db_key.cpp b/lib/db_key.cpp index d75eab61..fcc6b3fa 100644 --- a/lib/db_key.cpp +++ b/lib/db_key.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/db_key.h b/lib/db_key.h index 5ace84cb..0a0b70f2 100644 --- a/lib/db_key.h +++ b/lib/db_key.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef DB_KEY_H @@ -61,31 +20,31 @@ class QContextMenuEvent; class db_key: public db_base { Q_OBJECT - private: - void __setOwnPass(enum pki_key::passType); - public: - db_key(QString db, MainWindow *mw); - pki_base *newPKI(); - QStringList getPrivateDesc(); - QStringList get0PrivateDesc(); - void inToCont(pki_base *pki); - void remFromCont(QModelIndex &idx); - pki_base* insert(pki_base *item); - void writeAll(); - void showContextMenu(QContextMenuEvent * e, const QModelIndex &index); + private: + void __setOwnPass(enum pki_key::passType); + public: + db_key(QString db, MainWindow *mw); + pki_base *newPKI(); + QStringList getPrivateDesc(); + QStringList get0PrivateDesc(); + void inToCont(pki_base *pki); + void remFromCont(QModelIndex &idx); + pki_base* insert(pki_base *item); + void writeAll(); + void showContextMenu(QContextMenuEvent * e, const QModelIndex &index); - public slots: - void newItem(); - void load(); - void store(); - void showPki(pki_base *pki); - void setOwnPass(); - void resetOwnPass(); + public slots: + void newItem(); + void load(); + void store(); + void showPki(pki_base *pki); + void setOwnPass(); + void resetOwnPass(); - signals: - void delKey(pki_key *delkey); - void newKey(pki_key *newkey); - void keyDone(QString name); + signals: + void delKey(pki_key *delkey); + void newKey(pki_key *newkey); + void keyDone(QString name); }; #endif diff --git a/lib/db_temp.cpp b/lib/db_temp.cpp index ae01dbfa..1b356200 100644 --- a/lib/db_temp.cpp +++ b/lib/db_temp.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/db_temp.h b/lib/db_temp.h index 434fb51f..9e813cd3 100644 --- a/lib/db_temp.h +++ b/lib/db_temp.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/db_x509.cpp b/lib/db_x509.cpp index 657dc4a3..249fcbf5 100644 --- a/lib/db_x509.cpp +++ b/lib/db_x509.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "db_x509.h" diff --git a/lib/db_x509.h b/lib/db_x509.h index 7711b6a9..be23a47f 100644 --- a/lib/db_x509.h +++ b/lib/db_x509.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/db_x509req.cpp b/lib/db_x509req.cpp index 68c47382..1781fe92 100644 --- a/lib/db_x509req.cpp +++ b/lib/db_x509req.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/db_x509req.h b/lib/db_x509req.h index 443cca58..f74f471f 100644 --- a/lib/db_x509req.h +++ b/lib/db_x509req.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ @@ -59,20 +18,20 @@ class db_x509req: public db_x509super { Q_OBJECT - public: - db_x509req(QString DBfile, MainWindow *mw); - pki_base* insert(pki_base *item); - pki_base *newPKI(); - void showContextMenu(QContextMenuEvent *e, const QModelIndex &index); + public: + db_x509req(QString DBfile, MainWindow *mw); + pki_base* insert(pki_base *item); + pki_base *newPKI(); + void showContextMenu(QContextMenuEvent *e, const QModelIndex &index); - public slots: - void newItem(pki_temp *temp = NULL); - void load(); - void store(); - void showPki(pki_base *pki); - void signReq(); - signals: - void newCert(pki_x509req *req); + public slots: + void newItem(pki_temp *temp = NULL); + void load(); + void store(); + void showPki(pki_base *pki); + void signReq(); + signals: + void newCert(pki_x509req *req); }; #endif diff --git a/lib/db_x509super.cpp b/lib/db_x509super.cpp index 5bf8c474..38959090 100644 --- a/lib/db_x509super.cpp +++ b/lib/db_x509super.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "db_x509super.h" diff --git a/lib/db_x509super.h b/lib/db_x509super.h index fe7981a9..9f7dbfff 100644 --- a/lib/db_x509super.h +++ b/lib/db_x509super.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ @@ -57,14 +16,14 @@ class db_x509super: public db_base { Q_OBJECT - public: - db_x509super(QString db, MainWindow *mw); - pki_key *findKey(pki_x509super *ref); - void inToCont(pki_base *pki); + public: + db_x509super(QString db, MainWindow *mw); + pki_key *findKey(pki_x509super *ref); + void inToCont(pki_base *pki); - public slots: - void delKey(pki_key *delkey); - void newKey(pki_key *newKey); + public slots: + void delKey(pki_key *delkey); + void newKey(pki_key *newKey); }; diff --git a/lib/exception.h b/lib/exception.h index fac90b4d..ee05d2e8 100644 --- a/lib/exception.h +++ b/lib/exception.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef PKI_EXCEPTION_H diff --git a/lib/func.cpp b/lib/func.cpp index 78f8b27e..e04080b6 100644 --- a/lib/func.cpp +++ b/lib/func.cpp @@ -1,49 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/func.h b/lib/func.h index ce22751a..d1fd2037 100644 --- a/lib/func.h +++ b/lib/func.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef FUNC_H diff --git a/lib/import.cpp b/lib/import.cpp index 80fa876a..7c70908d 100644 --- a/lib/import.cpp +++ b/lib/import.cpp @@ -1,4 +1,11 @@ -/* vi: set sw=4 ts=4: */ +/* vi: set sw=4 ts=4: + * + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. + * + * All rights reserved. + */ + + #include "exception.h" #include "db_base.h" #include diff --git a/lib/load_obj.cpp b/lib/load_obj.cpp index 97cd1310..3384a59f 100644 --- a/lib/load_obj.cpp +++ b/lib/load_obj.cpp @@ -1,49 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/load_obj.h b/lib/load_obj.h index 9e70f814..e22094d4 100644 --- a/lib/load_obj.h +++ b/lib/load_obj.h @@ -1,49 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/main.cpp b/lib/main.cpp index ad5470ce..93590647 100644 --- a/lib/main.cpp +++ b/lib/main.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include diff --git a/lib/oid.cpp b/lib/oid.cpp index d29e40b2..3d40773d 100644 --- a/lib/oid.cpp +++ b/lib/oid.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ /* here we have the possibility to add our own OIDS */ diff --git a/lib/oid.h b/lib/oid.h index 45c865ec..fd281862 100644 --- a/lib/oid.h +++ b/lib/oid.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pass_info.cpp b/lib/pass_info.cpp index 8547329b..55131903 100644 --- a/lib/pass_info.cpp +++ b/lib/pass_info.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include diff --git a/lib/pass_info.h b/lib/pass_info.h index 6a2ea4da..eddb3bcd 100644 --- a/lib/pass_info.h +++ b/lib/pass_info.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef PASS_INFO_H diff --git a/lib/pki_base.cpp b/lib/pki_base.cpp index ee2ce27f..0a5bcab5 100644 --- a/lib/pki_base.cpp +++ b/lib/pki_base.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pki_base.h b/lib/pki_base.h index 16e9a8b3..ae42a902 100644 --- a/lib/pki_base.h +++ b/lib/pki_base.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef PKI_BASE_H @@ -59,57 +18,57 @@ class pki_base : public QObject { Q_OBJECT - private: - static int pki_counter; - protected: - int cols; - const char *class_name; - QString desc; - int dataVersion; - enum pki_type pkiType; - /* model data */ - pki_base *parent; + private: + static int pki_counter; + protected: + int cols; + const char *class_name; + QString desc; + int dataVersion; + enum pki_type pkiType; + /* model data */ + pki_base *parent; - void openssl_error(const QString myerr = "") const; - void my_error(const QString myerr) const; - void fopen_error(const QString fname); - bool ign_openssl_error() const; + void openssl_error(const QString myerr = "") const; + void my_error(const QString myerr) const; + void fopen_error(const QString fname); + bool ign_openssl_error() const; - public: - QList childItems; - pki_base(const QString d = "", pki_base *p = NULL); - virtual void fload(const QString name){}; - virtual void writeDefault(const QString fname){}; - static int get_pki_counter(void); - virtual void fromData(const unsigned char *p, db_header_t *head){}; - virtual void oldFromData(unsigned char *p, int size); - virtual unsigned char *toData(int *size){return NULL;} - virtual bool compare(pki_base *ref){return false;} - virtual ~pki_base(); - QString getIntName() const; - QString getUnderlinedName() const; - void setIntName(const QString &d); - QString getClassName(); - static QString rmslashdot(const QString &fname); - //virtual void updateView(); + public: + QList childItems; + pki_base(const QString d = "", pki_base *p = NULL); + virtual void fload(const QString name){}; + virtual void writeDefault(const QString fname){}; + static int get_pki_counter(void); + virtual void fromData(const unsigned char *p, db_header_t *head){}; + virtual void oldFromData(unsigned char *p, int size); + virtual unsigned char *toData(int *size){return NULL;} + virtual bool compare(pki_base *ref){return false;} + virtual ~pki_base(); + QString getIntName() const; + QString getUnderlinedName() const; + void setIntName(const QString &d); + QString getClassName(); + static QString rmslashdot(const QString &fname); + //virtual void updateView(); - int getVersion(); - enum pki_type getType(); - void setParent(pki_base *p); - virtual pki_base *getParent(); - pki_base *child(int row); - void append(pki_base *item); - void insert(int row, pki_base *item); - int childCount(); - int row() const; - pki_base *iterate(pki_base *pki = NULL); - void takeChild(pki_base *pki); - pki_base *takeFirst(); - int columns(); - virtual QVariant column_data(int col); - virtual QVariant getIcon(); - const char *className() { return class_name; }; - uint32_t intFromData(const unsigned char **p); + int getVersion(); + enum pki_type getType(); + void setParent(pki_base *p); + virtual pki_base *getParent(); + pki_base *child(int row); + void append(pki_base *item); + void insert(int row, pki_base *item); + int childCount(); + int row() const; + pki_base *iterate(pki_base *pki = NULL); + void takeChild(pki_base *pki); + pki_base *takeFirst(); + int columns(); + virtual QVariant column_data(int col); + virtual QVariant getIcon(); + const char *className() { return class_name; }; + uint32_t intFromData(const unsigned char **p); }; #endif diff --git a/lib/pki_crl.cpp b/lib/pki_crl.cpp index 5b8c5b02..4a9f4bb8 100644 --- a/lib/pki_crl.cpp +++ b/lib/pki_crl.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pki_crl.h b/lib/pki_crl.h index e4bcc700..bd7c4b92 100644 --- a/lib/pki_crl.h +++ b/lib/pki_crl.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ @@ -60,42 +19,42 @@ class pki_crl: public pki_base { friend class pki_x509; - protected: - pki_x509 *issuer; - X509_CRL *crl; - public: - pki_crl(const QString name = ""); - /* destructor */ - ~pki_crl(); - void fload(const QString fname); - void writeDefault(const QString fname); - static QPixmap *icon; - void createCrl(const QString d, pki_x509 *iss); - void addRev(const x509rev &rev); - void addExt(int nid, QString value); - void write(QString fname); - void addV3ext(const x509v3ext &e); - void sign(pki_key *key, const EVP_MD *md = EVP_md5()); - void writeCrl(const QString fname, bool pem = true); - pki_x509 *getIssuer(); - void setIssuer(pki_x509 *iss); - x509name getIssuerName(); - void setLastUpdate(const a1time &t); - void setNextUpdate(const a1time &t); - a1time getNextUpdate(); - a1time getLastUpdate(); - void fromData(const unsigned char *p, db_header_t *head); - void oldFromData(unsigned char *p, int size); - unsigned char *toData(int *size); - bool compare(pki_base *refcrl); - int numRev(); - bool verify(pki_key *pkey); - x509rev getRev(int num); - QString printV3ext(); - x509v3ext getExtByNid(int nid); - a1int getVersion(); - QVariant column_data(int col); - QVariant getIcon(); + protected: + pki_x509 *issuer; + X509_CRL *crl; + public: + pki_crl(const QString name = ""); + /* destructor */ + ~pki_crl(); + void fload(const QString fname); + void writeDefault(const QString fname); + static QPixmap *icon; + void createCrl(const QString d, pki_x509 *iss); + void addRev(const x509rev &rev); + void addExt(int nid, QString value); + void write(QString fname); + void addV3ext(const x509v3ext &e); + void sign(pki_key *key, const EVP_MD *md = EVP_md5()); + void writeCrl(const QString fname, bool pem = true); + pki_x509 *getIssuer(); + void setIssuer(pki_x509 *iss); + x509name getIssuerName(); + void setLastUpdate(const a1time &t); + void setNextUpdate(const a1time &t); + a1time getNextUpdate(); + a1time getLastUpdate(); + void fromData(const unsigned char *p, db_header_t *head); + void oldFromData(unsigned char *p, int size); + unsigned char *toData(int *size); + bool compare(pki_base *refcrl); + int numRev(); + bool verify(pki_key *pkey); + x509rev getRev(int num); + QString printV3ext(); + x509v3ext getExtByNid(int nid); + a1int getVersion(); + QVariant column_data(int col); + QVariant getIcon(); }; #endif diff --git a/lib/pki_key.cpp b/lib/pki_key.cpp index f5611030..e3e5caa5 100644 --- a/lib/pki_key.cpp +++ b/lib/pki_key.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pki_key.h b/lib/pki_key.h index 256b2ace..a8187783 100644 --- a/lib/pki_key.h +++ b/lib/pki_key.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef PKI_KEY_H @@ -63,70 +22,70 @@ class pki_key: public pki_base { - protected: - int ownPass; - EVP_PKEY *key; - unsigned char *encKey; - int encKey_len; - int ucount; // usage counter - QString BN2QString(BIGNUM *bn); - void init(int type = EVP_PKEY_RSA); - static void incProgress(int a, int b, void *progress); - void veryOldFromData(unsigned char *p, int size); - public: - enum passType { ptCommon, ptPrivate, ptBogus }; - static QPixmap *icon[2]; - static QString passHash; - static char passwd[MAX_PASS_LENGTH]; - static char oldpasswd[MAX_PASS_LENGTH]; - static void erasePasswd(); - static void eraseOldPasswd(); - static void setPasswd(const char *pass); - static void setOldPasswd(const char *pass); - static QString md5passwd(const char *pass, - char *md5 = NULL, int *len = NULL); - void generate(int bits, int type, QProgressBar *progress); - void setOwnPass(enum passType); - int getOwnPass(void) {return ownPass;}; - pki_key(const QString name = "", int type = EVP_PKEY_RSA); - pki_key(EVP_PKEY *pkey); - void encryptKey(const char *password = NULL); - void bogusEncryptKey(); - EVP_PKEY *decryptKey() const; - pki_key(const pki_key *pk); - /* destructor */ - ~pki_key(); + protected: + int ownPass; + EVP_PKEY *key; + unsigned char *encKey; + int encKey_len; + int ucount; // usage counter + QString BN2QString(BIGNUM *bn); + void init(int type = EVP_PKEY_RSA); + static void incProgress(int a, int b, void *progress); + void veryOldFromData(unsigned char *p, int size); + public: + enum passType { ptCommon, ptPrivate, ptBogus }; + static QPixmap *icon[2]; + static QString passHash; + static char passwd[MAX_PASS_LENGTH]; + static char oldpasswd[MAX_PASS_LENGTH]; + static void erasePasswd(); + static void eraseOldPasswd(); + static void setPasswd(const char *pass); + static void setOldPasswd(const char *pass); + static QString md5passwd(const char *pass, + char *md5 = NULL, int *len = NULL); + void generate(int bits, int type, QProgressBar *progress); + void setOwnPass(enum passType); + int getOwnPass(void) {return ownPass;}; + pki_key(const QString name = "", int type = EVP_PKEY_RSA); + pki_key(EVP_PKEY *pkey); + void encryptKey(const char *password = NULL); + void bogusEncryptKey(); + EVP_PKEY *decryptKey() const; + pki_key(const pki_key *pk); + /* destructor */ + ~pki_key(); - QString getTypeString(void); - QString getIntNameWithType(void); - static QString removeTypeFromIntName(QString n); - void fload(const QString fname); - void writeDefault(const QString fname); - void fromData(const unsigned char *p, db_header_t *head); - void oldFromData(unsigned char *p, int size); - unsigned char *toData(int *size); - bool compare(pki_base *ref); - QString length(); - QString modulus(); - QString pubEx(); - QString subprime(); - QString pubkey(); - void writeKey(const QString fname, const EVP_CIPHER *enc, - pem_password_cb *cb, bool pem); - void writePublic(const QString fname, bool pem); - void writePKCS8(const QString fname, const EVP_CIPHER *enc, - pem_password_cb *cb, bool pem); - bool isPrivKey() const; - bool isPubKey() const; - int verify(); - int getType(); - int incUcount(); - int decUcount(); - int getUcount(); - const EVP_MD *getDefaultMD(); - QVariant column_data(int col); - EVP_PKEY *getPubKey() {return key;}; - QVariant getIcon(); + QString getTypeString(void); + QString getIntNameWithType(void); + static QString removeTypeFromIntName(QString n); + void fload(const QString fname); + void writeDefault(const QString fname); + void fromData(const unsigned char *p, db_header_t *head); + void oldFromData(unsigned char *p, int size); + unsigned char *toData(int *size); + bool compare(pki_base *ref); + QString length(); + QString modulus(); + QString pubEx(); + QString subprime(); + QString pubkey(); + void writeKey(const QString fname, const EVP_CIPHER *enc, + pem_password_cb *cb, bool pem); + void writePublic(const QString fname, bool pem); + void writePKCS8(const QString fname, const EVP_CIPHER *enc, + pem_password_cb *cb, bool pem); + bool isPrivKey() const; + bool isPubKey() const; + int verify(); + int getType(); + int incUcount(); + int decUcount(); + int getUcount(); + const EVP_MD *getDefaultMD(); + QVariant column_data(int col); + EVP_PKEY *getPubKey() {return key;}; + QVariant getIcon(); }; #endif diff --git a/lib/pki_pkcs12.cpp b/lib/pki_pkcs12.cpp index cfc4a1b8..d1e1ab56 100644 --- a/lib/pki_pkcs12.cpp +++ b/lib/pki_pkcs12.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pki_pkcs12.h b/lib/pki_pkcs12.h index bdc376ab..e30c1b01 100644 --- a/lib/pki_pkcs12.h +++ b/lib/pki_pkcs12.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pki_pkcs7.cpp b/lib/pki_pkcs7.cpp index 57515750..e67a3505 100644 --- a/lib/pki_pkcs7.cpp +++ b/lib/pki_pkcs7.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pki_pkcs7.h b/lib/pki_pkcs7.h index 2ba83ef1..bf0b697b 100644 --- a/lib/pki_pkcs7.h +++ b/lib/pki_pkcs7.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef PKI_PKCS7_H diff --git a/lib/pki_temp.cpp b/lib/pki_temp.cpp index 35c7c238..2c476094 100644 --- a/lib/pki_temp.cpp +++ b/lib/pki_temp.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pki_temp.h b/lib/pki_temp.h index a9836db4..f4012a00 100644 --- a/lib/pki_temp.h +++ b/lib/pki_temp.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef PKI_TEMP_H diff --git a/lib/pki_x509.cpp b/lib/pki_x509.cpp index 76e8bd61..31f000cf 100644 --- a/lib/pki_x509.cpp +++ b/lib/pki_x509.cpp @@ -1,49 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pki_x509.h b/lib/pki_x509.h index 63af79c4..1930be97 100644 --- a/lib/pki_x509.h +++ b/lib/pki_x509.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef PKI_X509_H @@ -63,88 +22,86 @@ class pki_x509 : public pki_x509super { - //friend class pki_crl; - //friend class db_x509; private: - pki_x509 *psigner; - a1time revoked, crlExpiry; - bool isrevoked; - int trust; - int efftrust; - a1int caSerial; - int crlDays; - QString caTemplate; - X509 *cert; - void init(); - void set_date(ASN1_TIME **a, const a1time &a1); + pki_x509 *psigner; + a1time revoked, crlExpiry; + bool isrevoked; + int trust; + int efftrust; + a1int caSerial; + int crlDays; + QString caTemplate; + X509 *cert; + void init(); + void set_date(ASN1_TIME **a, const a1time &a1); public: - static QPixmap *icon[4]; - pki_x509(X509 *c); - pki_x509(const pki_x509 *crt); - pki_x509(const QString name = ""); - ~pki_x509(); + static QPixmap *icon[4]; + pki_x509(X509 *c); + pki_x509(const pki_x509 *crt); + pki_x509(const QString name = ""); + ~pki_x509(); - void fload(const QString fname); - void writeDefault(const QString fname); - a1int hashInfo(const EVP_MD *md) const; - a1int getQASerial(const a1int &secret) const; - bool verifyQASerial(const a1int &secret) const; - void setSerial(const a1int &serial); - a1int getSerial() const; - void setNotBefore(const a1time &a1); - void setNotAfter(const a1time &a1); - a1time getNotBefore() const; - a1time getNotAfter() const; - x509name getSubject() const; - x509name getIssuer() const; - void setSubject(const x509name &n); - void setIssuer(const x509name &n); + void fload(const QString fname); + void writeDefault(const QString fname); + a1int hashInfo(const EVP_MD *md) const; + a1int getQASerial(const a1int &secret) const; + bool verifyQASerial(const a1int &secret) const; + void setSerial(const a1int &serial); + a1int getSerial() const; + void setNotBefore(const a1time &a1); + void setNotAfter(const a1time &a1); + a1time getNotBefore() const; + a1time getNotAfter() const; + x509name getSubject() const; + x509name getIssuer() const; + void setSubject(const x509name &n); + void setIssuer(const x509name &n); - unsigned char *toData(int *size); - void fromData(const unsigned char *p, db_header_t *head); - void oldFromData(unsigned char *p, int size); - bool compare(pki_base *refcert); - bool canSign(); - void writeCert(const QString fname, bool PEM, bool append = false); - bool verify(pki_x509 *signer); - pki_key *getPubKey() const; - void setPubKey(pki_key *key); - pki_x509 *getSigner(); - void delSigner(pki_base *s); - QString fingerprint(const EVP_MD *digest); - QString printV3ext(); - int checkDate(); - void addV3ext(const x509v3ext &e); - void sign(pki_key *signkey, const EVP_MD *digest); - X509 *getCert(){ return cert;} - int getTrust(); - void setTrust(int t); - int getEffTrust(); - void setEffTrust(int t); - void setRevoked(bool rev); - void setRevoked(const a1time &when); - a1time &getRevoked(); - bool isRevoked(); - int calcEffTrust(); - a1int getIncCaSerial(); - a1int getCaSerial(); - void setCaSerial(a1int s); - void setTemplate(QString s); - QString getTemplate(); - void setCrlDays(int s); - int getCrlDays(); - void setCrlExpiry(const a1time &time); - int resetTimes(pki_x509 *signer); - bool hasExtension(int nid); - bool cmpIssuerAndSerial(pki_x509 *refcert); - void updateView(); - x509rev getRev(); - QString getSigAlg(); - x509v3ext getExtByNid(int nid); - const EVP_MD *getDigest(); - extList getExt(); - QVariant column_data(int col); - QVariant getIcon(); + unsigned char *toData(int *size); + void fromData(const unsigned char *p, db_header_t *head); + void oldFromData(unsigned char *p, int size); + bool compare(pki_base *refcert); + bool canSign(); + void writeCert(const QString fname, bool PEM, bool append = false); + bool verify(pki_x509 *signer); + pki_key *getPubKey() const; + void setPubKey(pki_key *key); + pki_x509 *getSigner(); + void delSigner(pki_base *s); + QString fingerprint(const EVP_MD *digest); + QString printV3ext(); + int checkDate(); + void addV3ext(const x509v3ext &e); + void sign(pki_key *signkey, const EVP_MD *digest); + X509 *getCert(){ return cert;} + int getTrust(); + void setTrust(int t); + int getEffTrust(); + void setEffTrust(int t); + void setRevoked(bool rev); + void setRevoked(const a1time &when); + a1time &getRevoked(); + bool isRevoked(); + int calcEffTrust(); + a1int getIncCaSerial(); + a1int getCaSerial(); + void setCaSerial(a1int s); + void setTemplate(QString s); + QString getTemplate(); + void setCrlDays(int s); + int getCrlDays(); + void setCrlExpiry(const a1time &time); + int resetTimes(pki_x509 *signer); + bool hasExtension(int nid); + bool cmpIssuerAndSerial(pki_x509 *refcert); + void updateView(); + x509rev getRev(); + QString getSigAlg(); + x509v3ext getExtByNid(int nid); + const EVP_MD *getDigest(); + extList getExt(); + QVariant column_data(int col); + QVariant getIcon(); }; #endif diff --git a/lib/pki_x509req.cpp b/lib/pki_x509req.cpp index 39a88b7e..1b39c91b 100644 --- a/lib/pki_x509req.cpp +++ b/lib/pki_x509req.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/lib/pki_x509req.h b/lib/pki_x509req.h index 49a94df2..677c4733 100644 --- a/lib/pki_x509req.h +++ b/lib/pki_x509req.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef PKI_X509REQ_H @@ -62,43 +21,43 @@ class pki_x509; class pki_x509req : public pki_x509super { private: - //loading spkac file and convert it to a request - void load_spkac(const QString filename); - //for checking spkac content-fields - int fix_data(int nid, int *type); + //loading spkac file and convert it to a request + void load_spkac(const QString filename); + //for checking spkac content-fields + int fix_data(int nid, int *type); protected: - X509_REQ *request; - NETSCAPE_SPKI *spki; + X509_REQ *request; + NETSCAPE_SPKI *spki; public: - extList getV3Ext(); - static QPixmap *icon[3]; - pki_x509req(QString name = ""); - void fload(const QString fname); - void writeDefault(const QString fname); - ~pki_x509req(); - void fromData(const unsigned char *p, db_header_t *head); - void oldFromData(unsigned char *p, int size); - unsigned char *toData(int *size); - bool compare(pki_base *refreq); - x509name getSubject() const; - bool isSpki() const; - void writeReq(const QString fname, bool pem); - X509_REQ *getReq() {return request;} + extList getV3Ext(); + static QPixmap *icon[3]; + pki_x509req(QString name = ""); + void fload(const QString fname); + void writeDefault(const QString fname); + ~pki_x509req(); + void fromData(const unsigned char *p, db_header_t *head); + void oldFromData(unsigned char *p, int size); + unsigned char *toData(int *size); + bool compare(pki_base *refreq); + x509name getSubject() const; + bool isSpki() const; + void writeReq(const QString fname, bool pem); + X509_REQ *getReq() {return request;} - int verify(); - pki_key *getPubKey() const; - void createReq(pki_key *key, const x509name &dn, const EVP_MD *md, - extList el); - QString getSigAlg(); - void setSubject(const x509name &n); - /* SPKAC special functions */ - void setSPKIFromData(const unsigned char *p, int size); - void setSPKIBase64(const char *p); - void set_spki(NETSCAPE_SPKI *_spki); - QVariant column_data(int col); - QVariant getIcon(); + int verify(); + pki_key *getPubKey() const; + void createReq(pki_key *key, const x509name &dn, const EVP_MD *md, + extList el); + QString getSigAlg(); + void setSubject(const x509name &n); + /* SPKAC special functions */ + void setSPKIFromData(const unsigned char *p, int size); + void setSPKIBase64(const char *p); + void set_spki(NETSCAPE_SPKI *_spki); + QVariant column_data(int col); + QVariant getIcon(); }; #endif diff --git a/lib/pki_x509super.cpp b/lib/pki_x509super.cpp index e0523df0..6cac108b 100644 --- a/lib/pki_x509super.cpp +++ b/lib/pki_x509super.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "pki_x509super.h" diff --git a/lib/pki_x509super.h b/lib/pki_x509super.h index ddc5ea65..5f838a4d 100644 --- a/lib/pki_x509super.h +++ b/lib/pki_x509super.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef PKI_X509SUPER_H @@ -59,17 +18,17 @@ class pki_x509; class pki_x509super : public pki_base { protected: - pki_key *privkey; + pki_key *privkey; public: - pki_x509super(const QString name = ""); - virtual ~pki_x509super(); - virtual x509name getSubject() const; - virtual int verify(); - virtual pki_key *getPubKey() const; - pki_key *getRefKey() const; - void setRefKey(pki_key *ref); - void delRefKey(pki_key *ref); - void autoIntName(); + pki_x509super(const QString name = ""); + virtual ~pki_x509super(); + virtual x509name getSubject() const; + virtual int verify(); + virtual pki_key *getPubKey() const; + pki_key *getRefKey() const; + void setRefKey(pki_key *ref); + void delRefKey(pki_key *ref); + void autoIntName(); }; #endif diff --git a/lib/x509name.cpp b/lib/x509name.cpp index 71674e54..670ff592 100644 --- a/lib/x509name.cpp +++ b/lib/x509name.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "x509name.h" diff --git a/lib/x509name.h b/lib/x509name.h index 3df8844d..e6403b34 100644 --- a/lib/x509name.h +++ b/lib/x509name.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef X509NAME_H diff --git a/lib/x509rev.cpp b/lib/x509rev.cpp index 561ca5fe..8fb6f292 100644 --- a/lib/x509rev.cpp +++ b/lib/x509rev.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "x509rev.h" diff --git a/lib/x509rev.h b/lib/x509rev.h index ccd85506..3c2f12ba 100644 --- a/lib/x509rev.h +++ b/lib/x509rev.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef X509REV_H diff --git a/lib/x509v3ext.cpp b/lib/x509v3ext.cpp index 201931b9..cee8ec5e 100644 --- a/lib/x509v3ext.cpp +++ b/lib/x509v3ext.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "x509v3ext.h" diff --git a/lib/x509v3ext.h b/lib/x509v3ext.h index 6373472b..2e78679c 100644 --- a/lib/x509v3ext.h +++ b/lib/x509v3ext.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef X509V3EXT_H diff --git a/widgets/CertDetail.cpp b/widgets/CertDetail.cpp index e1b54e9b..4d843f6e 100644 --- a/widgets/CertDetail.cpp +++ b/widgets/CertDetail.cpp @@ -1,49 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/CertDetail.h b/widgets/CertDetail.h index fcc7ab60..5f7aecd0 100644 --- a/widgets/CertDetail.h +++ b/widgets/CertDetail.h @@ -1,49 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef __CERTDETAIL_H diff --git a/widgets/CertExtend.cpp b/widgets/CertExtend.cpp index b628094f..347721c8 100644 --- a/widgets/CertExtend.cpp +++ b/widgets/CertExtend.cpp @@ -1,49 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/CertExtend.h b/widgets/CertExtend.h index 7ccb4916..eab5a743 100644 --- a/widgets/CertExtend.h +++ b/widgets/CertExtend.h @@ -1,48 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef __CERTEXTEND_H diff --git a/widgets/CrlDetail.cpp b/widgets/CrlDetail.cpp index 888ccf75..21f11053 100644 --- a/widgets/CrlDetail.cpp +++ b/widgets/CrlDetail.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/CrlDetail.h b/widgets/CrlDetail.h index 6e28f42a..9b0953ef 100644 --- a/widgets/CrlDetail.h +++ b/widgets/CrlDetail.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef __CRLDETAIL_H diff --git a/widgets/ExportCert.cpp b/widgets/ExportCert.cpp index b54839f8..1069e4bf 100644 --- a/widgets/ExportCert.cpp +++ b/widgets/ExportCert.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/ExportCert.h b/widgets/ExportCert.h index 0aee7744..26c8e6b0 100644 --- a/widgets/ExportCert.h +++ b/widgets/ExportCert.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef __EXPORTCERT_H diff --git a/widgets/ExportDer.cpp b/widgets/ExportDer.cpp index 6fb30897..8826b7e5 100644 --- a/widgets/ExportDer.cpp +++ b/widgets/ExportDer.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/ExportDer.h b/widgets/ExportDer.h index dc99ca42..79a70a17 100644 --- a/widgets/ExportDer.h +++ b/widgets/ExportDer.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef __EXPORTDER_H diff --git a/widgets/ExportKey.cpp b/widgets/ExportKey.cpp index 5f30be64..ecf0598c 100644 --- a/widgets/ExportKey.cpp +++ b/widgets/ExportKey.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/ExportKey.h b/widgets/ExportKey.h index 08fdcf50..3ecd02b6 100644 --- a/widgets/ExportKey.h +++ b/widgets/ExportKey.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef __EXPORTKEY_H diff --git a/widgets/ImportMulti.cpp b/widgets/ImportMulti.cpp index fb90240a..69715485 100644 --- a/widgets/ImportMulti.cpp +++ b/widgets/ImportMulti.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/ImportMulti.h b/widgets/ImportMulti.h index eb7b7a1c..302dbfc9 100644 --- a/widgets/ImportMulti.h +++ b/widgets/ImportMulti.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef __IMPORTMULTI_H diff --git a/widgets/KeyDetail.cpp b/widgets/KeyDetail.cpp index 3f555fba..ea72b5e9 100644 --- a/widgets/KeyDetail.cpp +++ b/widgets/KeyDetail.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/KeyDetail.h b/widgets/KeyDetail.h index 8f14bcd4..3ef5c4eb 100644 --- a/widgets/KeyDetail.h +++ b/widgets/KeyDetail.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef __KEYDETAIL_H diff --git a/widgets/MW_database.cpp b/widgets/MW_database.cpp index 4aee0634..29c4223c 100644 --- a/widgets/MW_database.cpp +++ b/widgets/MW_database.cpp @@ -1,49 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/MW_help.cpp b/widgets/MW_help.cpp index 360f2f82..3b81d9bc 100644 --- a/widgets/MW_help.cpp +++ b/widgets/MW_help.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/MW_menu.cpp b/widgets/MW_menu.cpp index d9294b39..21cfebb9 100644 --- a/widgets/MW_menu.cpp +++ b/widgets/MW_menu.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/MainWindow.cpp b/widgets/MainWindow.cpp index edb609f3..1d52a3c8 100644 --- a/widgets/MainWindow.cpp +++ b/widgets/MainWindow.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/MainWindow.h b/widgets/MainWindow.h index 437e1b1c..cf21a8d0 100644 --- a/widgets/MainWindow.h +++ b/widgets/MainWindow.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef _MAINWINDOW_H diff --git a/widgets/NewX509.cpp b/widgets/NewX509.cpp index d1d78638..d33c99d2 100644 --- a/widgets/NewX509.cpp +++ b/widgets/NewX509.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/NewX509.h b/widgets/NewX509.h index 7858a569..c70c050b 100644 --- a/widgets/NewX509.h +++ b/widgets/NewX509.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/NewX509_ext.cpp b/widgets/NewX509_ext.cpp index f11023e5..6c3bd809 100644 --- a/widgets/NewX509_ext.cpp +++ b/widgets/NewX509_ext.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/ReqDetail.cpp b/widgets/ReqDetail.cpp index 93ba66a6..b415f99d 100644 --- a/widgets/ReqDetail.cpp +++ b/widgets/ReqDetail.cpp @@ -1,49 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/ReqDetail.h b/widgets/ReqDetail.h index 4a56b36e..e031ee29 100644 --- a/widgets/ReqDetail.h +++ b/widgets/ReqDetail.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef _REQDETAIL_H diff --git a/widgets/XcaTreeView.cpp b/widgets/XcaTreeView.cpp index 86092196..7b4234e9 100644 --- a/widgets/XcaTreeView.cpp +++ b/widgets/XcaTreeView.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/XcaTreeView.h b/widgets/XcaTreeView.h index 29d2e5bc..a5ded688 100644 --- a/widgets/XcaTreeView.h +++ b/widgets/XcaTreeView.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef _XCATREEVIEW_H diff --git a/widgets/clicklabel.cpp b/widgets/clicklabel.cpp index 0c9f6f8a..1947994e 100644 --- a/widgets/clicklabel.cpp +++ b/widgets/clicklabel.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "clicklabel.h" diff --git a/widgets/clicklabel.h b/widgets/clicklabel.h index c6d715aa..f74ea41d 100644 --- a/widgets/clicklabel.h +++ b/widgets/clicklabel.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef CLICKLABEL_H diff --git a/widgets/distname.cpp b/widgets/distname.cpp index c231ce73..c95febbd 100644 --- a/widgets/distname.cpp +++ b/widgets/distname.cpp @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "distname.h" diff --git a/widgets/distname.h b/widgets/distname.h index 8098f3e8..bc4e6006 100644 --- a/widgets/distname.h +++ b/widgets/distname.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef DISTNAME_H diff --git a/widgets/v3ext.cpp b/widgets/v3ext.cpp index b3be6dca..acd8699d 100644 --- a/widgets/v3ext.cpp +++ b/widgets/v3ext.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ diff --git a/widgets/v3ext.h b/widgets/v3ext.h index 65cc8e30..66a6f0f1 100644 --- a/widgets/v3ext.h +++ b/widgets/v3ext.h @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef IMPORTMULTI_H diff --git a/widgets/validity.cpp b/widgets/validity.cpp index 5bff8bb9..ce77b369 100644 --- a/widgets/validity.cpp +++ b/widgets/validity.cpp @@ -1,50 +1,8 @@ -/* vi: set sw=4 ts=4: */ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #include "validity.h" diff --git a/widgets/validity.h b/widgets/validity.h index 8c2c80f8..50e758c2 100644 --- a/widgets/validity.h +++ b/widgets/validity.h @@ -1,49 +1,8 @@ -/* - * Copyright (C) 2001 Christian Hohnstaedt. +/* vi: set sw=4 ts=4: * - * All rights reserved. - * - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of the author nor the names of its contributors may be - * used to endorse or promote products derived from this software without - * specific prior written permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * This program links to software with different licenses from: - * - * http://www.openssl.org which includes cryptographic software - * written by Eric Young (eay@cryptsoft.com)" - * - * http://www.trolltech.com - * - * - * - * http://www.hohnstaedt.de/xca - * email: christian@hohnstaedt.de - * - * $Id$ + * Copyright (C) 2001 - 2007 Christian Hohnstaedt. * + * All rights reserved. */ #ifndef VALIDITY_H