ksslpeerinfo.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef _KSSLPEERINFO_H
00022
#define _KSSLPEERINFO_H
00023
00024
class KSSL;
00025
00026
#include <qglobal.h>
00027
#include <qstringlist.h>
00028
#include <ksslcertificate.h>
00029
00030
class KSSLPeerInfoPrivate;
00031
class KInetSocketAddress;
00032
00042 class KIO_EXPORT KSSLPeerInfo {
00043
friend class KSSL;
00044
public:
00048 ~KSSLPeerInfo();
00049
00056
KSSLCertificate& getPeerCertificate();
00057
00066
bool certMatchesAddress();
00067
00076
bool cnMatchesAddress(
QString cn);
00077
00085
void setPeerHost(
QString host = QString::null);
00086
00090
void reset();
00091
00092
protected:
00093 KSSLPeerInfo();
00094
00095
KSSLCertificate m_cert;
00096
00097
private:
00098 KSSLPeerInfoPrivate *d;
00099 };
00100
00101
00102
#endif
00103
This file is part of the documentation for kio Library Version 3.4.0.