kio
ksslconnectioninfo.cc
Go to the documentation of this file.00001 /* This file is part of the KDE project 00002 * 00003 * Copyright (C) 2000 George Staikos <staikos@kde.org> 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Library General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Library General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Library General Public License 00016 * along with this library; see the file COPYING.LIB. If not, write to 00017 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301, USA. 00019 */ 00020 00021 #include "ksslconnectioninfo.h" 00022 00023 00024 KSSLConnectionInfo::KSSLConnectionInfo() { 00025 clean(); 00026 } 00027 00028 00029 KSSLConnectionInfo::~KSSLConnectionInfo() { 00030 00031 } 00032 00033 00034 void KSSLConnectionInfo::clean() { 00035 m_iCipherUsedBits = 0; 00036 m_iCipherBits = 0; 00037 m_cipherName = ""; 00038 } 00039 00040 00041 const QString& KSSLConnectionInfo::getCipherVersion() const { 00042 return m_cipherVersion; 00043 } 00044 00045 00046 const QString& KSSLConnectionInfo::getCipherDescription() const { 00047 return m_cipherDescription; 00048 } 00049 00050 00051 const QString& KSSLConnectionInfo::getCipher() const { 00052 return m_cipherName; 00053 } 00054 00055 00056 int KSSLConnectionInfo::getCipherUsedBits() const { 00057 return m_iCipherUsedBits; 00058 } 00059 00060 00061 int KSSLConnectionInfo::getCipherBits() const { 00062 return m_iCipherBits; 00063 } 00064 00065 00066