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
00033 class KSSLPeerInfo {
00034 friend class KSSL;
00035 public:
00036 ~KSSLPeerInfo();
00037
00038 KSSLCertificate& getPeerCertificate();
00039 bool certMatchesAddress();
00040 bool cnMatchesAddress(QString cn);
00041
00042 void setPeerHost(QString host = QString::null);
00043
00044 void reset();
00045
00046
00047 protected:
00048 KSSLPeerInfo();
00049
00050 KSSLCertificate m_cert;
00051
00052 private:
00053 KSSLPeerInfoPrivate *d;
00054
00055 };
00056
00057
00058 #endif
00059
This file is part of the documentation for kdelibs Version 3.1.5.