~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qsslcipher.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
3
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/network/ssl/qsslcipher.cpp -->
 
5
<!-- qsslcipher.cpp -->
6
6
<head>
7
 
  <title>Qt 4.5: QSslCipher Class Reference</title>
 
7
  <title>Qt 4.6: QSslCipher Class Reference</title>
8
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
9
9
</head>
10
10
<body>
 
11
<a name="//apple_ref/cpp/cl//QSslCipher" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
13
<tr>
13
 
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
 
<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="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
 
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QSslCipher Class Reference<br /><span class="small-subtitle">[<a href="qtnetwork.html">QtNetwork</a> module]</span>
 
14
<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>
 
15
<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><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
 
16
</tr></table><h1 class="title">QSslCipher Class Reference<br /><span class="small-subtitle">[<a href="qtnetwork.html">QtNetwork</a> module]</span>
16
17
</h1>
17
18
<p>The QSslCipher class represents an SSL cryptographic cipher. <a href="#details">More...</a></p>
18
 
<pre> #include &lt;QSslCipher&gt;</pre><p><b>Note:</b> All the functions in this class are <a href="threads.html#reentrant">reentrant</a>.</p>
 
19
<pre> #include &lt;QSslCipher&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
 
20
<p><b>Note:</b> All functions in this class are <a href="threads-reentrancy.html#reentrant">reentrant</a>.</p>
19
21
<p>This class was introduced in Qt 4.3.</p>
20
22
<ul>
21
23
<li><a href="qsslcipher-members.html">List of all members, including inherited members</a></li>
22
24
</ul>
 
25
<hr />
23
26
<a name="public-functions"></a>
24
 
<h3>Public Functions</h3>
25
 
<ul>
26
 
<li><div class="fn"></div><b><a href="qsslcipher.html#QSslCipher">QSslCipher</a></b> ()</li>
27
 
<li><div class="fn"></div><b><a href="qsslcipher.html#QSslCipher-2">QSslCipher</a></b> ( const QString &amp; <i>name</i>, QSsl::SslProtocol <i>protocol</i> )</li>
28
 
<li><div class="fn"></div><b><a href="qsslcipher.html#QSslCipher-3">QSslCipher</a></b> ( const QSslCipher &amp; <i>other</i> )</li>
29
 
<li><div class="fn"></div><b><a href="qsslcipher.html#dtor.QSslCipher">~QSslCipher</a></b> ()</li>
30
 
<li><div class="fn"></div>QString <b><a href="qsslcipher.html#authenticationMethod">authenticationMethod</a></b> () const</li>
31
 
<li><div class="fn"></div>QString <b><a href="qsslcipher.html#encryptionMethod">encryptionMethod</a></b> () const</li>
32
 
<li><div class="fn"></div>bool <b><a href="qsslcipher.html#isNull">isNull</a></b> () const</li>
33
 
<li><div class="fn"></div>QString <b><a href="qsslcipher.html#keyExchangeMethod">keyExchangeMethod</a></b> () const</li>
34
 
<li><div class="fn"></div>QString <b><a href="qsslcipher.html#name">name</a></b> () const</li>
35
 
<li><div class="fn"></div>QSsl::SslProtocol <b><a href="qsslcipher.html#protocol">protocol</a></b> () const</li>
36
 
<li><div class="fn"></div>QString <b><a href="qsslcipher.html#protocolString">protocolString</a></b> () const</li>
37
 
<li><div class="fn"></div>int <b><a href="qsslcipher.html#supportedBits">supportedBits</a></b> () const</li>
38
 
<li><div class="fn"></div>int <b><a href="qsslcipher.html#usedBits">usedBits</a></b> () const</li>
39
 
<li><div class="fn"></div>bool <b><a href="qsslcipher.html#operator-not-eq">operator!=</a></b> ( const QSslCipher &amp; <i>other</i> ) const</li>
40
 
<li><div class="fn"></div>QSslCipher &amp; <b><a href="qsslcipher.html#operator-eq">operator=</a></b> ( const QSslCipher &amp; <i>other</i> )</li>
41
 
<li><div class="fn"></div>bool <b><a href="qsslcipher.html#operator-eq-eq">operator==</a></b> ( const QSslCipher &amp; <i>other</i> ) const</li>
42
 
</ul>
 
27
<h2>Public Functions</h2>
 
28
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
29
<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>
 
30
<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>
 
31
<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>
 
32
<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>
 
33
<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>
 
34
<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>
 
35
<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>
 
36
<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>
 
37
<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>
 
38
<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>
 
39
<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>
 
40
<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>
 
41
<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>
 
42
<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>
 
43
<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>
 
44
<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>
 
45
</table>
43
46
<a name="details"></a>
44
47
<hr />
45
48
<h2>Detailed Description</h2>
48
51
<p>See also <a href="qsslsocket.html">QSslSocket</a> and <a href="qsslkey.html">QSslKey</a>.</p>
49
52
<hr />
50
53
<h2>Member Function Documentation</h2>
 
54
<a name="//apple_ref/cpp/instm/QSslCipher/QSslCipher" />
51
55
<h3 class="fn"><a name="QSslCipher"></a>QSslCipher::QSslCipher ()</h3>
52
56
<p>Constructs an empty <a href="qsslcipher.html">QSslCipher</a> object.</p>
53
57
<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>
55
59
<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>
56
60
<h3 class="fn"><a name="QSslCipher-3"></a>QSslCipher::QSslCipher ( const QSslCipher &amp; <i>other</i> )</h3>
57
61
<p>Constructs an identical copy of the <i>other</i> cipher.</p>
 
62
<a name="//apple_ref/cpp/instm/QSslCipher/~QSslCipher" />
58
63
<h3 class="fn"><a name="dtor.QSslCipher"></a>QSslCipher::~QSslCipher ()</h3>
59
64
<p>Destroys the <a href="qsslcipher.html">QSslCipher</a> object.</p>
 
65
<a name="//apple_ref/cpp/instm/QSslCipher/authenticationMethod" />
60
66
<h3 class="fn"><a name="authenticationMethod"></a><a href="qstring.html">QString</a> QSslCipher::authenticationMethod () const</h3>
61
67
<p>Returns the cipher's authentication method as a <a href="qstring.html">QString</a>.</p>
 
68
<a name="//apple_ref/cpp/instm/QSslCipher/encryptionMethod" />
62
69
<h3 class="fn"><a name="encryptionMethod"></a><a href="qstring.html">QString</a> QSslCipher::encryptionMethod () const</h3>
63
70
<p>Returns the cipher's encryption method as a <a href="qstring.html">QString</a>.</p>
 
71
<a name="//apple_ref/cpp/instm/QSslCipher/isNull" />
64
72
<h3 class="fn"><a name="isNull"></a>bool QSslCipher::isNull () const</h3>
65
73
<p>Returns true if this is a null cipher; otherwise returns false.</p>
 
74
<a name="//apple_ref/cpp/instm/QSslCipher/keyExchangeMethod" />
66
75
<h3 class="fn"><a name="keyExchangeMethod"></a><a href="qstring.html">QString</a> QSslCipher::keyExchangeMethod () const</h3>
67
76
<p>Returns the cipher's key exchange method as a <a href="qstring.html">QString</a>.</p>
 
77
<a name="//apple_ref/cpp/instm/QSslCipher/name" />
68
78
<h3 class="fn"><a name="name"></a><a href="qstring.html">QString</a> QSslCipher::name () const</h3>
69
79
<p>Returns the name of the cipher, or an empty <a href="qstring.html">QString</a> if this is a null cipher.</p>
70
80
<p>See also <a href="qsslcipher.html#isNull">isNull</a>().</p>
 
81
<a name="//apple_ref/cpp/instm/QSslCipher/protocol" />
71
82
<h3 class="fn"><a name="protocol"></a><a href="qssl.html#SslProtocol-enum">QSsl::SslProtocol</a> QSslCipher::protocol () const</h3>
72
83
<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>
73
84
<p>See also <a href="qsslcipher.html#protocolString">protocolString</a>().</p>
 
85
<a name="//apple_ref/cpp/instm/QSslCipher/protocolString" />
74
86
<h3 class="fn"><a name="protocolString"></a><a href="qstring.html">QString</a> QSslCipher::protocolString () const</h3>
75
87
<p>Returns the cipher's protocol as a <a href="qstring.html">QString</a>.</p>
76
88
<p>See also <a href="qsslcipher.html#protocol">protocol</a>().</p>
 
89
<a name="//apple_ref/cpp/instm/QSslCipher/supportedBits" />
77
90
<h3 class="fn"><a name="supportedBits"></a>int QSslCipher::supportedBits () const</h3>
78
91
<p>Returns the number of bits supported by the cipher.</p>
79
92
<p>See also <a href="qsslcipher.html#usedBits">usedBits</a>().</p>
 
93
<a name="//apple_ref/cpp/instm/QSslCipher/usedBits" />
80
94
<h3 class="fn"><a name="usedBits"></a>int QSslCipher::usedBits () const</h3>
81
95
<p>Returns the number of bits used by the cipher.</p>
82
96
<p>See also <a href="qsslcipher.html#supportedBits">supportedBits</a>().</p>
 
97
<a name="//apple_ref/cpp/instm/QSslCipher/operator!=" />
83
98
<h3 class="fn"><a name="operator-not-eq"></a>bool QSslCipher::operator!= ( const QSslCipher &amp; <i>other</i> ) const</h3>
84
99
<p>Returns true if this cipher is not the same as <i>other</i>; otherwise, false is returned.</p>
 
100
<a name="//apple_ref/cpp/instm/QSslCipher/operator=" />
85
101
<h3 class="fn"><a name="operator-eq"></a>QSslCipher &amp; QSslCipher::operator= ( const QSslCipher &amp; <i>other</i> )</h3>
86
102
<p>Copies the contents of <i>other</i> into this cipher, making the two ciphers identical.</p>
 
103
<a name="//apple_ref/cpp/instm/QSslCipher/operator==" />
87
104
<h3 class="fn"><a name="operator-eq-eq"></a>bool QSslCipher::operator== ( const QSslCipher &amp; <i>other</i> ) const</h3>
88
105
<p>Returns true if this cipher is the same as <i>other</i>; otherwise, false is returned.</p>
89
106
<p /><address><hr /><div align="center">
90
107
<table width="100%" cellspacing="0" border="0"><tr class="address">
91
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
92
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
93
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
94
 
</tr></table></div></address></body>
 
108
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
109
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
110
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
111
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
95
112
</html>