• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/kssl
 

tdeio/kssl

ksslinfodlg.h

00001 /* This file is part of the KDE project
00002  *
00003  * Copyright (C) 2000-2003 George Staikos <staikos@kde.org>
00004  * Copyright (C) 2000 Malte Starostik <malte@kde.org>
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Library General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Library General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Library General Public License
00017  * along with this library; see the file COPYING.LIB.  If not, write to
00018  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019  * Boston, MA 02110-1301, USA.
00020  */
00021 
00022 #ifndef _KSSLINFODLG_H
00023 #define _KSSLINFODLG_H
00024 
00025 #include <kdialog.h>
00026 
00027 #include "ksslx509map.h"
00028 #include "ksslcertificate.h"
00029 #include "kssl.h"
00030 #include <tqscrollview.h>
00031 
00032 class TQWidget;
00033 class KSSLCertBox;
00034 class KSSLCertChain;
00035 
00036 
00050 class TDEIO_EXPORT KSSLInfoDlg : public KDialog {
00051     Q_OBJECT
00052 public:
00061     KSSLInfoDlg(bool secureConnection, TQWidget *parent=0L, const char *name=0L, bool modal=false);
00062 
00066     virtual ~KSSLInfoDlg();
00067 
00074     void setSecurityInQuestion(bool isIt);
00075 
00089     void setup(KSSLCertificate *cert,
00090             const TQString& ip, const TQString& url,
00091             const TQString& cipher, const TQString& cipherdesc,
00092             const TQString& sslversion, int usedbits, int bits,
00093             KSSLCertificate::KSSLValidation certState);
00094 
00104     void setup( KSSL & ssl, const TQString & ip, const TQString & url );
00105 
00110         void setCertState(const TQString &errorNrs);
00111 
00121     static KSSLCertBox *certInfoWidget(TQWidget *parent, const TQString &certName, TQWidget *mailCatcher=0);
00122 
00123 private:
00124     TQScrollView *buildCertInfo(const TQString &certName);
00125     void displayCert(KSSLCertificate *x);
00126 
00127     class KSSLInfoDlgPrivate;
00128     KSSLInfoDlgPrivate *d;
00129 
00130 private slots:
00131     void launchConfig();
00132     void urlClicked(const TQString &url);
00133     void mailClicked(const TQString &url);
00134     void slotChain(int x);
00135 };
00136 
00137 
00149 class TDEIO_EXPORT KSSLCertBox : public TQScrollView {
00150 public:
00158     KSSLCertBox(TQWidget *parent=0L, const char *name=0L, WFlags f=0);
00159 
00166     void setValues(TQString certName, TQWidget *mailCatcher=0L);
00167 
00168 private:
00169     TQFrame *_frame;
00170 };
00171 
00172 #endif
00173 

tdeio/kssl

Skip menu "tdeio/kssl"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/kssl

Skip menu "tdeio/kssl"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/kssl by doxygen 1.7.1
This website is maintained by Timothy Pearson.