Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 8e6051afcdb111a0317a58fb64c2abf5 > files > 4924

qt4-doc-4.6.3-0.2mdv2010.2.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qsslcipher.cpp -->
<head>
  <title>Qt 4.6: QSslCipher Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a name="//apple_ref/cpp/cl//QSslCipher"></a>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><h1 class="title">QSslCipher Class Reference<br /><span class="small-subtitle">[<a href="qtnetwork.html">QtNetwork</a> module]</span>
</h1>
<p>The QSslCipher class represents an SSL cryptographic cipher. <a href="#details">More...</a></p>
<pre> #include &lt;QSslCipher&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
<p><b>Note:</b> All functions in this class are <a href="threads-reentrancy.html#reentrant">reentrant</a>.</p>
<p>This class was introduced in Qt 4.3.</p>
<ul>
<li><a href="qsslcipher-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#QSslCipher">QSslCipher</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#QSslCipher-2">QSslCipher</a></b> ( const QString &amp; <i>name</i>, QSsl::SslProtocol <i>protocol</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#QSslCipher-3">QSslCipher</a></b> ( const QSslCipher &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#dtor.QSslCipher">~QSslCipher</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#authenticationMethod">authenticationMethod</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#encryptionMethod">encryptionMethod</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#isNull">isNull</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#keyExchangeMethod">keyExchangeMethod</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#name">name</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSsl::SslProtocol </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#protocol">protocol</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#protocolString">protocolString</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#supportedBits">supportedBits</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#usedBits">usedBits</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#operator-not-eq">operator!=</a></b> ( const QSslCipher &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSslCipher &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#operator-eq">operator=</a></b> ( const QSslCipher &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qsslcipher.html#operator-eq-eq">operator==</a></b> ( const QSslCipher &amp; <i>other</i> ) const</td></tr>
</table>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QSslCipher class represents an SSL cryptographic cipher.</p>
<p>QSslCipher stores information about one cryptographic cipher. It is most commonly used with <a href="qsslsocket.html">QSslSocket</a>, either for configuring which ciphers the socket can use, or for displaying the socket's ciphers to the user.</p>
<p>See also <a href="qsslsocket.html">QSslSocket</a> and <a href="qsslkey.html">QSslKey</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<a name="//apple_ref/cpp/instm/QSslCipher/QSslCipher"></a>
<h3 class="fn"><a name="QSslCipher"></a>QSslCipher::QSslCipher ()</h3>
<p>Constructs an empty <a href="qsslcipher.html">QSslCipher</a> object.</p>
<h3 class="fn"><a name="QSslCipher-2"></a>QSslCipher::QSslCipher ( const <a href="qstring.html">QString</a> &amp; <i>name</i>, <a href="qssl.html#SslProtocol-enum">QSsl::SslProtocol</a> <i>protocol</i> )</h3>
<p>Constructs a <a href="qsslcipher.html">QSslCipher</a> object for the cipher determined by <i>name</i> and <i>protocol</i>. The constructor accepts only supported ciphers (i.e&#x2e;, the <i>name</i> and <i>protocol</i> must identify a cipher in the list of ciphers returned by <a href="qsslsocket.html#supportedCiphers">QSslSocket::supportedCiphers</a>()).</p>
<p>You can call <a href="qsslcipher.html#isNull">isNull</a>() after construction to check if <i>name</i> and <i>protocol</i> correctly identified a supported cipher.</p>
<h3 class="fn"><a name="QSslCipher-3"></a>QSslCipher::QSslCipher ( const QSslCipher &amp; <i>other</i> )</h3>
<p>Constructs an identical copy of the <i>other</i> cipher.</p>
<a name="//apple_ref/cpp/instm/QSslCipher/~QSslCipher"></a>
<h3 class="fn"><a name="dtor.QSslCipher"></a>QSslCipher::~QSslCipher ()</h3>
<p>Destroys the <a href="qsslcipher.html">QSslCipher</a> object.</p>
<a name="//apple_ref/cpp/instm/QSslCipher/authenticationMethod"></a>
<h3 class="fn"><a name="authenticationMethod"></a><a href="qstring.html">QString</a> QSslCipher::authenticationMethod () const</h3>
<p>Returns the cipher's authentication method as a <a href="qstring.html">QString</a>.</p>
<a name="//apple_ref/cpp/instm/QSslCipher/encryptionMethod"></a>
<h3 class="fn"><a name="encryptionMethod"></a><a href="qstring.html">QString</a> QSslCipher::encryptionMethod () const</h3>
<p>Returns the cipher's encryption method as a <a href="qstring.html">QString</a>.</p>
<a name="//apple_ref/cpp/instm/QSslCipher/isNull"></a>
<h3 class="fn"><a name="isNull"></a>bool QSslCipher::isNull () const</h3>
<p>Returns true if this is a null cipher; otherwise returns false.</p>
<a name="//apple_ref/cpp/instm/QSslCipher/keyExchangeMethod"></a>
<h3 class="fn"><a name="keyExchangeMethod"></a><a href="qstring.html">QString</a> QSslCipher::keyExchangeMethod () const</h3>
<p>Returns the cipher's key exchange method as a <a href="qstring.html">QString</a>.</p>
<a name="//apple_ref/cpp/instm/QSslCipher/name"></a>
<h3 class="fn"><a name="name"></a><a href="qstring.html">QString</a> QSslCipher::name () const</h3>
<p>Returns the name of the cipher, or an empty <a href="qstring.html">QString</a> if this is a null cipher.</p>
<p>See also <a href="qsslcipher.html#isNull">isNull</a>().</p>
<a name="//apple_ref/cpp/instm/QSslCipher/protocol"></a>
<h3 class="fn"><a name="protocol"></a><a href="qssl.html#SslProtocol-enum">QSsl::SslProtocol</a> QSslCipher::protocol () const</h3>
<p>Returns the cipher's protocol type, or <a href="qssl.html#SslProtocol-enum">QSsl::UnknownProtocol</a> if <a href="qsslcipher.html">QSslCipher</a> is unable to determine the protocol (<a href="qsslcipher.html#protocolString">protocolString</a>() may contain more information).</p>
<p>See also <a href="qsslcipher.html#protocolString">protocolString</a>().</p>
<a name="//apple_ref/cpp/instm/QSslCipher/protocolString"></a>
<h3 class="fn"><a name="protocolString"></a><a href="qstring.html">QString</a> QSslCipher::protocolString () const</h3>
<p>Returns the cipher's protocol as a <a href="qstring.html">QString</a>.</p>
<p>See also <a href="qsslcipher.html#protocol">protocol</a>().</p>
<a name="//apple_ref/cpp/instm/QSslCipher/supportedBits"></a>
<h3 class="fn"><a name="supportedBits"></a>int QSslCipher::supportedBits () const</h3>
<p>Returns the number of bits supported by the cipher.</p>
<p>See also <a href="qsslcipher.html#usedBits">usedBits</a>().</p>
<a name="//apple_ref/cpp/instm/QSslCipher/usedBits"></a>
<h3 class="fn"><a name="usedBits"></a>int QSslCipher::usedBits () const</h3>
<p>Returns the number of bits used by the cipher.</p>
<p>See also <a href="qsslcipher.html#supportedBits">supportedBits</a>().</p>
<a name="//apple_ref/cpp/instm/QSslCipher/operator!="></a>
<h3 class="fn"><a name="operator-not-eq"></a>bool QSslCipher::operator!= ( const QSslCipher &amp; <i>other</i> ) const</h3>
<p>Returns true if this cipher is not the same as <i>other</i>; otherwise, false is returned.</p>
<a name="//apple_ref/cpp/instm/QSslCipher/operator="></a>
<h3 class="fn"><a name="operator-eq"></a>QSslCipher &amp; QSslCipher::operator= ( const QSslCipher &amp; <i>other</i> )</h3>
<p>Copies the contents of <i>other</i> into this cipher, making the two ciphers identical.</p>
<a name="//apple_ref/cpp/instm/QSslCipher/operator=="></a>
<h3 class="fn"><a name="operator-eq-eq"></a>bool QSslCipher::operator== ( const QSslCipher &amp; <i>other</i> ) const</h3>
<p>Returns true if this cipher is the same as <i>other</i>; otherwise, false is returned.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="40%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="40%" align="right"><div align="right">Qt 4.6.3</div></td>
</tr></table></div></address></body>
</html>