Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdeio/kssl
tdeio/kssl
tdeio
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
TDEIO_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
KSSLPeerInfo
KDE SSL Peer Data.
Definition:
ksslpeerinfo.h:42
KSSL
KDE SSL Wrapper Class.
Definition:
kssl.h:42
KSSL::setPeerHost
void setPeerHost(TQString realHost=TQString::null)
Set the peer hostname to be used for certificate verification.
Definition:
kssl.cpp:642
tdeio/kssl
Skip menu "tdeio/kssl"
Main Page
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