Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 28b9e36e96ce34b2567ae5b47a27b2c5 > files > 1034

python-qt4-doc-4.10.3-3.mga4.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>QSslCipher Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QSslCipher Class Reference<br /><sup><sup>[<a href="qtnetwork.html">QtNetwork</a> module]</sup></sup></h1><p>The QSslCipher class represents an SSL cryptographic cipher.
<a href="#details">More...</a></p>

<h3>Methods</h3><ul><li><div class="fn" /><b><a href="qsslcipher.html#QSslCipher">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qsslcipher.html#QSslCipher-2">__init__</a></b> (<i>self</i>, QString&#160;<i>name</i>, QSsl.SslProtocol&#160;<i>protocol</i>)</li><li><div class="fn" /><b><a href="qsslcipher.html#QSslCipher-3">__init__</a></b> (<i>self</i>, QSslCipher&#160;<i>other</i>)</li><li><div class="fn" />QString <b><a href="qsslcipher.html#authenticationMethod">authenticationMethod</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qsslcipher.html#encryptionMethod">encryptionMethod</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qsslcipher.html#isNull">isNull</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qsslcipher.html#keyExchangeMethod">keyExchangeMethod</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qsslcipher.html#name">name</a></b> (<i>self</i>)</li><li><div class="fn" />QSsl.SslProtocol <b><a href="qsslcipher.html#protocol">protocol</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qsslcipher.html#protocolString">protocolString</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="qsslcipher.html#supportedBits">supportedBits</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="qsslcipher.html#usedBits">usedBits</a></b> (<i>self</i>)</li></ul><h3>Special Methods</h3><ul><li><div class="fn" />bool <b><a href="qsslcipher.html#__eq__">__eq__</a></b> (<i>self</i>, QSslCipher&#160;<i>other</i>)</li><li><div class="fn" />bool <b><a href="qsslcipher.html#__ne__">__ne__</a></b> (<i>self</i>, QSslCipher&#160;<i>other</i>)</li></ul><a name="details" /><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>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QSslCipher" />QSslCipher.__init__ (<i>self</i>)</h3><p>Constructs an empty <a href="qsslcipher.html">QSslCipher</a>
object.</p>


<h3 class="fn"><a name="QSslCipher-2" />QSslCipher.__init__ (<i>self</i>, QString&#160;<i>name</i>, <a href="qssl.html#SslProtocol-enum">QSsl.SslProtocol</a>&#160;<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., 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" />QSslCipher.__init__ (<i>self</i>, <a href="qsslcipher.html">QSslCipher</a>&#160;<i>other</i>)</h3><p>Constructs an identical copy of the <i>other</i> cipher.</p>


<h3 class="fn"><a name="authenticationMethod" />QString QSslCipher.authenticationMethod (<i>self</i>)</h3><p>Returns the cipher's authentication method as a <a href="qstring.html">QString</a>.</p>


<h3 class="fn"><a name="encryptionMethod" />QString QSslCipher.encryptionMethod (<i>self</i>)</h3><p>Returns the cipher's encryption method as a <a href="qstring.html">QString</a>.</p>


<h3 class="fn"><a name="isNull" />bool QSslCipher.isNull (<i>self</i>)</h3><p>Returns true if this is a null cipher; otherwise returns
false.</p>


<h3 class="fn"><a name="keyExchangeMethod" />QString QSslCipher.keyExchangeMethod (<i>self</i>)</h3><p>Returns the cipher's key exchange method as a <a href="qstring.html">QString</a>.</p>


<h3 class="fn"><a name="name" />QString QSslCipher.name (<i>self</i>)</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><b>See also</b> <a href="qsslcipher.html#isNull">isNull</a>().</p>


<h3 class="fn"><a name="protocol" /><a href="qssl.html#SslProtocol-enum">QSsl.SslProtocol</a> QSslCipher.protocol (<i>self</i>)</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><b>See also</b> <a href="qsslcipher.html#protocolString">protocolString</a>().</p>


<h3 class="fn"><a name="protocolString" />QString QSslCipher.protocolString (<i>self</i>)</h3><p>Returns the cipher's protocol as a <a href="qstring.html">QString</a>.</p>
<p><b>See also</b> <a href="qsslcipher.html#protocol">protocol</a>().</p>


<h3 class="fn"><a name="supportedBits" />int QSslCipher.supportedBits (<i>self</i>)</h3><p>Returns the number of bits supported by the cipher.</p>
<p><b>See also</b> <a href="qsslcipher.html#usedBits">usedBits</a>().</p>


<h3 class="fn"><a name="usedBits" />int QSslCipher.usedBits (<i>self</i>)</h3><p>Returns the number of bits used by the cipher.</p>
<p><b>See also</b> <a href="qsslcipher.html#supportedBits">supportedBits</a>().</p>


<h3 class="fn"><a name="__eq__" />bool QSslCipher.__eq__ (<i>self</i>, <a href="qsslcipher.html">QSslCipher</a>&#160;<i>other</i>)</h3><h3 class="fn"><a name="__ne__" />bool QSslCipher.__ne__ (<i>self</i>, <a href="qsslcipher.html">QSslCipher</a>&#160;<i>other</i>)</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.10.3 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2012</td><td align="right" width="25%">Qt&#160;4.8.5</td></tr></table></div></address></body></html>