| | | |
Offset 59, 122 lines modified | Offset 59, 124 lines modified |
59 | <p>For·the·documentation,·refer·to·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#module-ssl"·title="(in·Python·v2.7)"><code·class="xref·py·py-mod·docutils·literal·notranslate"><span·class="pre">ssl</span></code></a>·module·manual.</p> | 59 | <p>For·the·documentation,·refer·to·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#module-ssl"·title="(in·Python·v2.7)"><code·class="xref·py·py-mod·docutils·literal·notranslate"><span·class="pre">ssl</span></code></a>·module·manual.</p> |
60 | <p>This·module·implements·cooperative·SSL·socket·wrappers.</p> | 60 | <p>This·module·implements·cooperative·SSL·socket·wrappers.</p> |
61 | <div·class="deprecated"> | 61 | <div·class="deprecated"> |
62 | <p><span·class="versionmodified">Deprecated·since·version·1.3:·</span>This·module·is·not·secure.·Support·for·Python·versions | 62 | <p><span·class="versionmodified">Deprecated·since·version·1.3:·</span>This·module·is·not·secure.·Support·for·Python·versions |
63 | with·only·this·level·of·SSL·will·be·dropped·in·gevent·1.4.</p> | 63 | with·only·this·level·of·SSL·will·be·dropped·in·gevent·1.4.</p> |
64 | </div> | 64 | </div> |
65 | <dl·class="exception"> | 65 | <dl·class="exception"> |
66 | <dt·id="gevent._ssl2.SSLWantReadError"> | 66 | <dt·id="gevent._ssl2.SSLEOFError"> |
67 | <em·class="property">exception·</em><code·class="descname">SSLWantReadError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantReadError"·title="Permalink·to·this·definition">¶</a></dt> | 67 | <em·class="property">exception·</em><code·class="descname">SSLEOFError</code><a·class="headerlink"·href="#gevent._ssl2.SSLEOFError"·title="Permalink·to·this·definition">¶</a></dt> |
68 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> | 68 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> |
69 | <p>Non-blocking·SSL·socket·needs·to·read·more·data | 69 | <p>SSL/TLS·connection·terminated·abruptly.</p> |
70 | before·the·requested·operation·can·be·completed.</p> | |
71 | </dd></dl> | 70 | </dd></dl> |
| |
72 | <dl·class="attribute"> | 71 | <dl·class="attribute"> |
73 | <dt·id="gevent._ssl2.socket_error"> | 72 | <dt·id="gevent._ssl2.socket_error"> |
74 | <code·class="descname">socket_error</code><a·class="headerlink"·href="#gevent._ssl2.socket_error"·title="Permalink·to·this·definition">¶</a></dt> | 73 | <code·class="descname">socket_error</code><a·class="headerlink"·href="#gevent._ssl2.socket_error"·title="Permalink·to·this·definition">¶</a></dt> |
75 | <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">builtins.OSError</span></code></p> | 74 | <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">builtins.OSError</span></code></p> |
76 | </dd></dl> | 75 | </dd></dl> |
| |
77 | <dl·class="exception"> | 76 | <dl·class="exception"> |
78 | <dt·id="gevent._ssl2.SSLWantWriteError"> | 77 | <dt·id="gevent._ssl2.SSLSyscallError"> |
79 | <em·class="property">exception·</em><code·class="descname">SSLWantWriteError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantWriteError"·title="Permalink·to·this·definition">¶</a></dt> | 78 | <em·class="property">exception·</em><code·class="descname">SSLSyscallError</code><a·class="headerlink"·href="#gevent._ssl2.SSLSyscallError"·title="Permalink·to·this·definition">¶</a></dt> |
80 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> | 79 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> |
81 | <p>Non-blocking·SSL·socket·needs·to·write·more·data | 80 | <p>System·error·when·attempting·SSL·operation.</p> |
| 81 | </dd></dl> |
| |
| 82 | <dl·class="exception"> |
| 83 | <dt·id="gevent._ssl2.SSLWantReadError"> |
| 84 | <em·class="property">exception·</em><code·class="descname">SSLWantReadError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantReadError"·title="Permalink·to·this·definition">¶</a></dt> |
| 85 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> |
| 86 | <p>Non-blocking·SSL·socket·needs·to·read·more·data |
82 | before·the·requested·operation·can·be·completed.</p> | 87 | before·the·requested·operation·can·be·completed.</p> |
83 | </dd></dl> | 88 | </dd></dl> |
| |
84 | <dl·class="exception"> | 89 | <dl·class="exception"> |
85 | <dt·id="gevent._ssl2.SSLError"> | 90 | <dt·id="gevent._ssl2.SSLZeroReturnError"> |
86 | <em·class="property">exception·</em><code·class="descname">SSLError</code><a·class="headerlink"·href="#gevent._ssl2.SSLError"·title="Permalink·to·this·definition">¶</a></dt> | 91 | <em·class="property">exception·</em><code·class="descname">SSLZeroReturnError</code><a·class="headerlink"·href="#gevent._ssl2.SSLZeroReturnError"·title="Permalink·to·this·definition">¶</a></dt> |
87 | <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">OSError</span></code></p> | 92 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> |
88 | <p>An·error·occurred·in·the·SSL·implementation.</p> | 93 | <p>SSL/TLS·session·closed·cleanly.</p> |
89 | </dd></dl> | 94 | </dd></dl> |
| |
90 | <dl·class="exception"> | 95 | <dl·class="exception"> |
91 | <dt·id="gevent._ssl2.SSLCertVerificationError"> | 96 | <dt·id="gevent._ssl2.SSLCertVerificationError"> |
92 | <em·class="property">exception·</em><code·class="descname">SSLCertVerificationError</code><a·class="headerlink"·href="#gevent._ssl2.SSLCertVerificationError"·title="Permalink·to·this·definition">¶</a></dt> | 97 | <em·class="property">exception·</em><code·class="descname">SSLCertVerificationError</code><a·class="headerlink"·href="#gevent._ssl2.SSLCertVerificationError"·title="Permalink·to·this·definition">¶</a></dt> |
93 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a>,·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ValueError</span></code></p> | 98 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a>,·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ValueError</span></code></p> |
94 | <p>A·certificate·could·not·be·verified.</p> | 99 | <p>A·certificate·could·not·be·verified.</p> |
95 | </dd></dl> | 100 | </dd></dl> |
| |
96 | <dl·class="exception"> | |
97 | <dt·id="gevent._ssl2.SSLEOFError"> | |
98 | <em·class="property">exception·</em><code·class="descname">SSLEOFError</code><a·class="headerlink"·href="#gevent._ssl2.SSLEOFError"·title="Permalink·to·this·definition">¶</a></dt> | |
99 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> | |
100 | <p>SSL/TLS·connection·terminated·abruptly.</p> | |
101 | </dd></dl> | |
| |
102 | <dl·class="attribute"> | 101 | <dl·class="attribute"> |
103 | <dt·id="gevent._ssl2.CertificateError"> | 102 | <dt·id="gevent._ssl2.CertificateError"> |
104 | <code·class="descname">CertificateError</code><a·class="headerlink"·href="#gevent._ssl2.CertificateError"·title="Permalink·to·this·definition">¶</a></dt> | 103 | <code·class="descname">CertificateError</code><a·class="headerlink"·href="#gevent._ssl2.CertificateError"·title="Permalink·to·this·definition">¶</a></dt> |
105 | <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLCertVerificationError</span></code></p> | 104 | <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLCertVerificationError</span></code></p> |
106 | </dd></dl> | 105 | </dd></dl> |
| |
107 | <dl·class="exception"> | 106 | <dl·class="exception"> |
108 | <dt·id="gevent._ssl2.SSLZeroReturnError"> | 107 | <dt·id="gevent._ssl2.SSLWantWriteError"> |
109 | <em·class="property">exception·</em><code·class="descname">SSLZeroReturnError</code><a·class="headerlink"·href="#gevent._ssl2.SSLZeroReturnError"·title="Permalink·to·this·definition">¶</a></dt> | 108 | <em·class="property">exception·</em><code·class="descname">SSLWantWriteError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantWriteError"·title="Permalink·to·this·definition">¶</a></dt> |
110 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> | 109 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> |
111 | <p>SSL/TLS·session·closed·cleanly.</p> | 110 | <p>Non-blocking·SSL·socket·needs·to·write·more·data |
| 111 | before·the·requested·operation·can·be·completed.</p> |
112 | </dd></dl> | 112 | </dd></dl> |
| |
113 | <dl·class="exception"> | 113 | <dl·class="exception"> |
114 | <dt·id="gevent._ssl2.SSLSyscallError"> | 114 | <dt·id="gevent._ssl2.SSLError"> |
115 | <em·class="property">exception·</em><code·class="descname">SSLSyscallError</code><a·class="headerlink"·href="#gevent._ssl2.SSLSyscallError"·title="Permalink·to·this·definition">¶</a></dt> | 115 | <em·class="property">exception·</em><code·class="descname">SSLError</code><a·class="headerlink"·href="#gevent._ssl2.SSLError"·title="Permalink·to·this·definition">¶</a></dt> |
116 | <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> | 116 | <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">OSError</span></code></p> |
117 | <p>System·error·when·attempting·SSL·operation.</p> | 117 | <p>An·error·occurred·in·the·SSL·implementation.</p> |
118 | </dd></dl> | 118 | </dd></dl> |
| |
119 | <dl·class="class"> | 119 | <dl·class="class"> |
120 | <dt·id="gevent._ssl2.SSLErrorNumber"> | 120 | <dt·id="gevent._ssl2.DefaultVerifyPaths"> |
121 | <em·class="property">class·</em><code·class="descname">SSLErrorNumber</code><a·class="headerlink"·href="#gevent._ssl2.SSLErrorNumber"·title="Permalink·to·this·definition">¶</a></dt> | 121 | <em·class="property">class·</em><code·class="descname">DefaultVerifyPaths</code><span·class="sig-paren">(</span><em>cafile</em>,·<em>capath</em>,·<em>openssl_cafile_env</em>,·<em>openssl_cafile</em>,·<em>openssl_capath_env</em>,·<em>openssl_capath</em><span·class="sig-paren">)</span><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths"·title="Permalink·to·this·definition">¶</a></dt> |
122 | <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">enum.IntEnum</span></code></p> | 122 | <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">tuple</span></code></p> |
123 | <p>An·enumeration.</p> | 123 | <p>Create·new·instance·of·DefaultVerifyPaths(cafile,·capath,·openssl_cafile_env,·openssl_cafile,·openssl_capath_env,·openssl_capath)</p> |
| 124 | <dl·class="attribute"> |
| 125 | <dt·id="gevent._ssl2.DefaultVerifyPaths.cafile"> |
| 126 | <code·class="descname">cafile</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.cafile"·title="Permalink·to·this·definition">¶</a></dt> |
| 127 | <dd><p>Alias·for·field·number·0</p> |
124 | </dd></dl> | 128 | </dd></dl> |
| |
125 | <dl·class="class"> | |
126 | <dt·id="gevent._ssl2.SSLContext"> | |
127 | <em·class="property">class·</em><code·class="descname">SSLContext</code><a·class="reference·internal"·href="../_modules/ssl.html#SSLContext"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent._ssl2.SSLContext"·title="Permalink·to·this·definition">¶</a></dt> | |
128 | <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">_ssl._SSLContext</span></code></p> | |
129 | <p>An·SSLContext·holds·various·SSL-related·configuration·options·and | |
130 | data,·such·as·certificates·and·possibly·a·private·key.</p> | |
131 | <dl·class="attribute"> | 129 | <dl·class="attribute"> |
132 | <dt·id="gevent._ssl2.SSLContext.sslobject_class"> | 130 | <dt·id="gevent._ssl2.DefaultVerifyPaths.capath"> |
133 | <code·class="descname">sslobject_class</code><a·class="headerlink"·href="#gevent._ssl2.SSLContext.sslobject_class"·title="Permalink·to·this·definition">¶</a></dt> | 131 | <code·class="descname">capath</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.capath"·title="Permalink·to·this·definition">¶</a></dt> |
134 | <dd><p>alias·of·<a·class="reference·internal"·href="#gevent._ssl2.SSLObject"·title="gevent._ssl2.SSLObject"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">SSLObject</span></code></a></p> | 132 | <dd><p>Alias·for·field·number·1</p> |
135 | </dd></dl> | 133 | </dd></dl> |
| |
136 | <dl·class="attribute"> | 134 | <dl·class="attribute"> |
137 | <dt·id="gevent._ssl2.SSLContext.sslsocket_class"> | 135 | <dt·id="gevent._ssl2.DefaultVerifyPaths.openssl_cafile"> |
138 | <code·class="descname">sslsocket_class</code><a·class="headerlink"·href="#gevent._ssl2.SSLContext.sslsocket_class"·title="Permalink·to·this·definition">¶</a></dt> | 136 | <code·class="descname">openssl_cafile</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.openssl_cafile"·title="Permalink·to·this·definition">¶</a></dt> |
139 | <dd><p>alias·of·<a·class="reference·internal"·href="#gevent._ssl2.SSLSocket"·title="gevent._ssl2.SSLSocket"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">SSLSocket</span></code></a></p> | 137 | <dd><p>Alias·for·field·number·3</p> |
140 | </dd></dl> | 138 | </dd></dl> |
| |
| 139 | <dl·class="attribute"> |
| 140 | <dt·id="gevent._ssl2.DefaultVerifyPaths.openssl_cafile_env"> |
| 141 | <code·class="descname">openssl_cafile_env</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.openssl_cafile_env"·title="Permalink·to·this·definition">¶</a></dt> |
| 142 | <dd><p>Alias·for·field·number·2</p> |
141 | </dd></dl> | 143 | </dd></dl> |
| |
142 | <dl·class="class"> | 144 | <dl·class="attribute"> |
143 | <dt·id="gevent._ssl2.VerifyMode"> | 145 | <dt·id="gevent._ssl2.DefaultVerifyPaths.openssl_capath"> |
144 | <em·class="property">class·</em><code·class="descname">VerifyMode</code><a·class="headerlink"·href="#gevent._ssl2.VerifyMode"·title="Permalink·to·this·definition">¶</a></dt> | 146 | <code·class="descname">openssl_capath</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.openssl_capath"·title="Permalink·to·this·definition">¶</a></dt> |
145 | <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">enum.IntEnum</span></code></p> | 147 | <dd><p>Alias·for·field·number·5</p> |
146 | <p>An·enumeration.</p> | 148 | </dd></dl> |
| |
| 149 | <dl·class="attribute"> |
| 150 | <dt·id="gevent._ssl2.DefaultVerifyPaths.openssl_capath_env"> |
| 151 | <code·class="descname">openssl_capath_env</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.openssl_capath_env"·title="Permalink·to·this·definition">¶</a></dt> |
| 152 | <dd><p>Alias·for·field·number·4</p> |
147 | </dd></dl> | 153 | </dd></dl> |
| |
148 | <dl·class="class"> | |
149 | <dt·id="gevent._ssl2.AlertDescription"> | |
150 | <em·class="property">class·</em><code·class="descname">AlertDescription</code><a·class="headerlink"·href="#gevent._ssl2.AlertDescription"·title="Permalink·to·this·definition">¶</a></dt> | |
Max diff block lines reached; 26424/39230 bytes (67.36%) of diff not shown.
|