| | | |
Offset 245, 15 lines modified | Offset 245, 15 lines modified |
245 | </dd></dl> | 245 | </dd></dl> |
| |
246 | </section> | 246 | </section> |
247 | <section·id="certificate-signing-requests"> | 247 | <section·id="certificate-signing-requests"> |
248 | <h3>Certificate·signing·requests<a·class="headerlink"·href="#certificate-signing-requests"·title="Link·to·this·heading">¶</a></h3> | 248 | <h3>Certificate·signing·requests<a·class="headerlink"·href="#certificate-signing-requests"·title="Link·to·this·heading">¶</a></h3> |
249 | <dl·class="py·function"> | 249 | <dl·class="py·function"> |
250 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.dump_certificate_request"> | 250 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.dump_certificate_request"> |
251 | <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">0xf4650978></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> | 251 | <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">0xf4597978></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> |
252 | <dd><p>Dump·the·certificate·request·<em>req</em>·into·a·buffer·string·encoded·with·the | 252 | <dd><p>Dump·the·certificate·request·<em>req</em>·into·a·buffer·string·encoded·with·the |
253 | type·<em>type</em>.</p> | 253 | type·<em>type</em>.</p> |
254 | <dl·class="field-list·simple"> | 254 | <dl·class="field-list·simple"> |
255 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | 255 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> |
256 | <dd·class="field-odd"><ul·class="simple"> | 256 | <dd·class="field-odd"><ul·class="simple"> |
257 | <li><p><strong>type</strong>·–·The·file·type·(one·of·FILETYPE_PEM,·FILETYPE_ASN1)</p></li> | 257 | <li><p><strong>type</strong>·–·The·file·type·(one·of·FILETYPE_PEM,·FILETYPE_ASN1)</p></li> |
258 | <li><p><strong>req</strong>·–·The·certificate·request·to·dump</p></li> | 258 | <li><p><strong>req</strong>·–·The·certificate·request·to·dump</p></li> |
Offset 263, 15 lines modified | Offset 263, 15 lines modified |
263 | <dd·class="field-even"><p>The·buffer·with·the·dumped·certificate·request·in</p> | 263 | <dd·class="field-even"><p>The·buffer·with·the·dumped·certificate·request·in</p> |
264 | </dd> | 264 | </dd> |
265 | </dl> | 265 | </dl> |
266 | </dd></dl> | 266 | </dd></dl> |
| |
267 | <dl·class="py·function"> | 267 | <dl·class="py·function"> |
268 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.load_certificate_request"> | 268 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.load_certificate_request"> |
269 | <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">0xf4650978></span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.load_certificate_request"·title="Link·to·this·definition">¶</a></dt> | 269 | <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">0xf4597978></span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.load_certificate_request"·title="Link·to·this·definition">¶</a></dt> |
270 | <dd><p>Load·a·certificate·request·(X509Req)·from·the·string·<em>buffer</em>·encoded·with | 270 | <dd><p>Load·a·certificate·request·(X509Req)·from·the·string·<em>buffer</em>·encoded·with |
271 | the·type·<em>type</em>.</p> | 271 | the·type·<em>type</em>.</p> |
272 | <dl·class="field-list·simple"> | 272 | <dl·class="field-list·simple"> |
273 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | 273 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> |
274 | <dd·class="field-odd"><ul·class="simple"> | 274 | <dd·class="field-odd"><ul·class="simple"> |
275 | <li><p><strong>type</strong>·–·The·file·type·(one·of·FILETYPE_PEM,·FILETYPE_ASN1)</p></li> | 275 | <li><p><strong>type</strong>·–·The·file·type·(one·of·FILETYPE_PEM,·FILETYPE_ASN1)</p></li> |
276 | <li><p><strong>buffer</strong>·–·The·buffer·the·certificate·request·is·stored·in</p></li> | 276 | <li><p><strong>buffer</strong>·–·The·buffer·the·certificate·request·is·stored·in</p></li> |
Offset 1045, 15 lines modified | Offset 1045, 15 lines modified |
1045 | <dd·class="field-even"><p><code·class="docutils·literal·notranslate"><span·class="pre">None</span></code></p> | 1045 | <dd·class="field-even"><p><code·class="docutils·literal·notranslate"><span·class="pre">None</span></code></p> |
1046 | </dd> | 1046 | </dd> |
1047 | </dl> | 1047 | </dl> |
1048 | </dd></dl> | 1048 | </dd></dl> |
| |
1049 | <dl·class="py·method"> | 1049 | <dl·class="py·method"> |
1050 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.X509Req.from_cryptography"> | 1050 | <dt·class="sig·sig-object·py"·id="OpenSSL.crypto.X509Req.from_cryptography"> |
1051 | <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">0xf4650978></span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.X509Req.from_cryptography"·title="Link·to·this·definition">¶</a></dt> | 1051 | <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">0xf4597978></span></span></span><a·class="headerlink"·href="#OpenSSL.crypto.X509Req.from_cryptography"·title="Link·to·this·definition">¶</a></dt> |
1052 | <dd><p>Construct·based·on·a·<code·class="docutils·literal·notranslate"><span·class="pre">cryptography</span></code>·<em>crypto_req</em>.</p> | 1052 | <dd><p>Construct·based·on·a·<code·class="docutils·literal·notranslate"><span·class="pre">cryptography</span></code>·<em>crypto_req</em>.</p> |
1053 | <dl·class="field-list·simple"> | 1053 | <dl·class="field-list·simple"> |
1054 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | 1054 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> |
1055 | <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> | 1055 | <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> |
1056 | </dd> | 1056 | </dd> |
1057 | <dt·class="field-even">Return·type<span·class="colon">:</span></dt> | 1057 | <dt·class="field-even">Return·type<span·class="colon">:</span></dt> |
1058 | <dd·class="field-even"><p><a·class="reference·internal"·href="#OpenSSL.crypto.X509Req"·title="OpenSSL.crypto.X509Req">X509Req</a></p> | 1058 | <dd·class="field-even"><p><a·class="reference·internal"·href="#OpenSSL.crypto.X509Req"·title="OpenSSL.crypto.X509Req">X509Req</a></p> |