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

kio/kssl

  • kio
  • kssl
ksslpeerinfo.h
1 /* This file is part of the KDE project
2  *
3  * Copyright (C) 2000-2003 George Staikos <staikos@kde.org>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public License
16  * along with this library; see the file COPYING.LIB. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef _KSSLPEERINFO_H
22 #define _KSSLPEERINFO_H
23 
24 class KSSL;
25 
26 #include <tqglobal.h>
27 #include <tqstringlist.h>
28 #include <ksslcertificate.h>
29 
30 class KSSLPeerInfoPrivate;
31 class KInetSocketAddress;
32 
42 class KIO_EXPORT KSSLPeerInfo {
43 friend class KSSL;
44 public:
48  ~KSSLPeerInfo();
49 
56  KSSLCertificate& getPeerCertificate();
57 
66  bool certMatchesAddress();
67 
76  bool cnMatchesAddress(TQString cn);
77 
85  void setPeerHost(TQString host = TQString::null);
86 
90  const TQString& peerHost() const;
91 
95  void reset();
96 
97 protected:
98  KSSLPeerInfo();
99 
100  KSSLCertificate m_cert;
101 
102 private:
103  KSSLPeerInfoPrivate *d;
104 };
105 
106 
107 #endif
108 
KSSLCertificate
KDE X.509 Certificate.
Definition: ksslcertificate.h:77
KSSL
KDE SSL Wrapper Class.
Definition: kssl.h:42
KSSLPeerInfo
KDE SSL Peer Data.
Definition: ksslpeerinfo.h:42
KSSL::setPeerHost
void setPeerHost(TQString realHost=TQString::null)
Set the peer hostname to be used for certificate verification.
Definition: kssl.cc:642

kio/kssl

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

kio/kssl

Skip menu "kio/kssl"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kssl by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |