| | | |
Offset 247, 15 lines modified | Offset 247, 15 lines modified |
247 | </dd></dl> | 247 | </dd></dl> |
| |
248 | </section> | 248 | </section> |
249 | <section·id="certificate-signing-requests"> | 249 | <section·id="certificate-signing-requests"> |
250 | <h3>Certificate·signing·requests<a·class="headerlink"·href="#certificate-signing-requests"·title="Link·to·this·heading">¶</a></h3> | 250 | <h3>Certificate·signing·requests<a·class="headerlink"·href="#certificate-signing-requests"·title="Link·to·this·heading">¶</a></h3> |
251 | <dl·class="py·function"> | 251 | <dl·class="py·function"> |
252 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.dump_certificate_request"> | 252 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.dump_certificate_request"> |
253 | <span·class="sig-prename·descclassname"><span·class="pre">OpenSSL.crypto.</span></span><span·class="sig-name·descname"><span·class="pre">dump_certificate_request</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">type:</span>·<span·class="pre">int</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">req:</span>·<span·class="pre"><cryptography.utils._DeprecatedValue</span>·<span·class="pre">object</span>·<span·class="pre">at</span>·<span·class="pre">0xf458a9c0></span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><span·class="pre">bytes</span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.dump_certificate_request"·title="Link·to·this·definition">¶</a></dt> | 253 | <span·class="sig-prename·descclassname"><span·class="pre">OpenSSL.crypto.</span></span><span·class="sig-name·descname"><span·class="pre">dump_certificate_request</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">type:</span>·<span·class="pre">int</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">req:</span>·<span·class="pre"><cryptography.utils._DeprecatedValue</span>·<span·class="pre">object</span>·<span·class="pre">at</span>·<span·class="pre">0xf465e9c0></span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><span·class="pre">bytes</span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.dump_certificate_request"·title="Link·to·this·definition">¶</a></dt> |
254 | <dd><p>Dump·the·certificate·request·<em>req</em>·into·a·buffer·string·encoded·with·the | 254 | <dd><p>Dump·the·certificate·request·<em>req</em>·into·a·buffer·string·encoded·with·the |
255 | type·<em>type</em>.</p> | 255 | type·<em>type</em>.</p> |
256 | <dl·class="field-list·simple"> | 256 | <dl·class="field-list·simple"> |
257 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | 257 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> |
258 | <dd·class="field-odd"><ul·class="simple"> | 258 | <dd·class="field-odd"><ul·class="simple"> |
259 | <li><p><strong>type</strong>·–·The·file·type·(one·of·FILETYPE_PEM,·FILETYPE_ASN1)</p></li> | 259 | <li><p><strong>type</strong>·–·The·file·type·(one·of·FILETYPE_PEM,·FILETYPE_ASN1)</p></li> |
260 | <li><p><strong>req</strong>·–·The·certificate·request·to·dump</p></li> | 260 | <li><p><strong>req</strong>·–·The·certificate·request·to·dump</p></li> |
Offset 265, 15 lines modified | Offset 265, 15 lines modified |
265 | <dd·class="field-even"><p>The·buffer·with·the·dumped·certificate·request·in</p> | 265 | <dd·class="field-even"><p>The·buffer·with·the·dumped·certificate·request·in</p> |
266 | </dd> | 266 | </dd> |
267 | </dl> | 267 | </dl> |
268 | </dd></dl> | 268 | </dd></dl> |
| |
269 | <dl·class="py·function"> | 269 | <dl·class="py·function"> |
270 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.load_certificate_request"> | 270 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.load_certificate_request"> |
271 | <span·class="sig-prename·descclassname"><span·class="pre">OpenSSL.crypto.</span></span><span·class="sig-name·descname"><span·class="pre">load_certificate_request</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">int</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">buffer</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">bytes</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><span·class="pre"><cryptography.utils._DeprecatedValue</span>·<span·class="pre">object</span>·<span·class="pre">at</span>·<span·class="pre">0xf458a9c0></span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.load_certificate_request"·title="Link·to·this·definition">¶</a></dt> | 271 | <span·class="sig-prename·descclassname"><span·class="pre">OpenSSL.crypto.</span></span><span·class="sig-name·descname"><span·class="pre">load_certificate_request</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">type</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">int</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">buffer</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">bytes</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><span·class="pre"><cryptography.utils._DeprecatedValue</span>·<span·class="pre">object</span>·<span·class="pre">at</span>·<span·class="pre">0xf465e9c0></span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.load_certificate_request"·title="Link·to·this·definition">¶</a></dt> |
272 | <dd><p>Load·a·certificate·request·(X509Req)·from·the·string·<em>buffer</em>·encoded·with | 272 | <dd><p>Load·a·certificate·request·(X509Req)·from·the·string·<em>buffer</em>·encoded·with |
273 | the·type·<em>type</em>.</p> | 273 | the·type·<em>type</em>.</p> |
274 | <dl·class="field-list·simple"> | 274 | <dl·class="field-list·simple"> |
275 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | 275 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> |
276 | <dd·class="field-odd"><ul·class="simple"> | 276 | <dd·class="field-odd"><ul·class="simple"> |
277 | <li><p><strong>type</strong>·–·The·file·type·(one·of·FILETYPE_PEM,·FILETYPE_ASN1)</p></li> | 277 | <li><p><strong>type</strong>·–·The·file·type·(one·of·FILETYPE_PEM,·FILETYPE_ASN1)</p></li> |
278 | <li><p><strong>buffer</strong>·–·The·buffer·the·certificate·request·is·stored·in</p></li> | 278 | <li><p><strong>buffer</strong>·–·The·buffer·the·certificate·request·is·stored·in</p></li> |
Offset 1047, 15 lines modified | Offset 1047, 15 lines modified |
1047 | <dd·class="field-even"><p><code·class="docutils·literal·notranslate"><span·class="pre">None</span></code></p> | 1047 | <dd·class="field-even"><p><code·class="docutils·literal·notranslate"><span·class="pre">None</span></code></p> |
1048 | </dd> | 1048 | </dd> |
1049 | </dl> | 1049 | </dl> |
1050 | </dd></dl> | 1050 | </dd></dl> |
| |
1051 | <dl·class="py·method"> | 1051 | <dl·class="py·method"> |
1052 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.X509Req.from_cryptography"> | 1052 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.X509Req.from_cryptography"> |
1053 | <em·class="property"><span·class="pre">classmethod</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">from_cryptography</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">crypto_req</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CertificateSigningRequest</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><span·class="pre"><cryptography.utils._DeprecatedValue</span>·<span·class="pre">object</span>·<span·class="pre">at</span>·<span·class="pre">0xf458a9c0></span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.X509Req.from_cryptography"·title="Link·to·this·definition">¶</a></dt> | 1053 | <em·class="property"><span·class="pre">classmethod</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">from_cryptography</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">crypto_req</span></span><span·class="p"><span·class="pre">:</span></span><span·class="w">·</span><span·class="n"><span·class="pre">CertificateSigningRequest</span></span></em><span·class="sig-paren">)</span>·<span·class="sig-return"><span·class="sig-return-icon">→</span>·<span·class="sig-return-typehint"><span·class="pre"><cryptography.utils._DeprecatedValue</span>·<span·class="pre">object</span>·<span·class="pre">at</span>·<span·class="pre">0xf465e9c0></span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.X509Req.from_cryptography"·title="Link·to·this·definition">¶</a></dt> |
1054 | <dd><p>Construct·based·on·a·<code·class="docutils·literal·notranslate"><span·class="pre">cryptography</span></code>·<em>crypto_req</em>.</p> | 1054 | <dd><p>Construct·based·on·a·<code·class="docutils·literal·notranslate"><span·class="pre">cryptography</span></code>·<em>crypto_req</em>.</p> |
1055 | <dl·class="field-list·simple"> | 1055 | <dl·class="field-list·simple"> |
1056 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | 1056 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> |
1057 | <dd·class="field-odd"><p><strong>crypto_req</strong>·(<code·class="docutils·literal·notranslate"><span·class="pre">cryptography.x509.CertificateSigningRequest</span></code>)·–·A·<code·class="docutils·literal·notranslate"><span·class="pre">cryptography</span></code>·X.509·certificate·signing·request</p> | 1057 | <dd·class="field-odd"><p><strong>crypto_req</strong>·(<code·class="docutils·literal·notranslate"><span·class="pre">cryptography.x509.CertificateSigningRequest</span></code>)·–·A·<code·class="docutils·literal·notranslate"><span·class="pre">cryptography</span></code>·X.509·certificate·signing·request</p> |
1058 | </dd> | 1058 | </dd> |
1059 | <dt·class="field-even">Return·type<span·class="colon">:</span></dt> | 1059 | <dt·class="field-even">Return·type<span·class="colon">:</span></dt> |
1060 | <dd·class="field-even"><p><a·class="reference·internal"·href="#OpenSSL.crypto.X509Req"·title="OpenSSL.crypto.X509Req">X509Req</a></p> | 1060 | <dd·class="field-even"><p><a·class="reference·internal"·href="#OpenSSL.crypto.X509Req"·title="OpenSSL.crypto.X509Req">X509Req</a></p> |