autodoc.git / modref / ex / predef_3A_3A / Standards / X509 / make_selfsigned_certificate.html

version» Context lines:

autodoc.git/modref/ex/predef_3A_3A/Standards/X509/make_selfsigned_certificate.html:62:    <div class="contentbox">    <article>    <h1>Method Standards.X509.make_selfsigned_certificate()</h1>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>make_selfsigned_certificate</b></span>   </dt> - <dd><p><code><code class='datatype'>string</code> <b><span class='method'>make_selfsigned_certificate</span>(</b><code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Crypto/Sign/State.html'>Crypto.Sign.State</a></code> <code class='argument'>c</code>, <code class='datatype'>int</code> <code class='argument'>ttl</code>, <code class='datatype'>mapping</code>|<code class='datatype'>array</code> <code class='argument'>name</code>, <code class='datatype'>mapping</code>(<code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Standards/ASN1/Types/Identifier.html'>Identifier</a></code>:<code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Standards/ASN1/Types/Sequence.html'>Sequence</a></code>)|<code class='datatype'>void</code> <code class='argument'>extensions</code>, <code class='datatype'>void</code>|<code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Crypto/Hash.html'>Crypto.Hash</a></code> <code class='argument'>h</code>, <code class='datatype'>void</code>|<code class='datatype'>int</code> <code class='argument'>serial</code><b>)</b></code></p></dd> + <dd><p><code><code class='datatype'>string</code> <b><span class='method'>make_selfsigned_certificate</span>(</b><code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Crypto/Sign/State.html'>Crypto.Sign.State</a></code> <code class='argument'>c</code>, <code class='datatype'>int</code> <code class='argument'>ttl</code>, <code class='datatype'>mapping</code>|<code class='datatype'>array</code> <code class='argument'>name</code>, <code class='datatype'>mapping</code>(<code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Standards/ASN1/Types/Identifier.html'>Identifier</a></code>:<code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Standards/ASN1/Types/Sequence.html'>Sequence</a></code>)|<code class='datatype'>void</code> <code class='argument'>extensions</code>, <code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Crypto/Hash.html'>Crypto.Hash</a></code>|<code class='datatype'>void</code> <code class='argument'>h</code>, <code class='datatype'>int</code>|<code class='datatype'>void</code> <code class='argument'>serial</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Creates a selfsigned certificate, i.e. where issuer and subject    are the same entity. This entity is derived from the list of pairs    in <code class='reference paramref'>name</code>, which is encoded into an distinguished_name by    <a class='ms reference' href='../../../predef_3A_3A/Standards/PKCS/Certificate/build_distinguished_name.html'>Standards.PKCS.Certificate.build_distinguished_name</a>.</p>   </dd>   <dt class='head--doc'><span id='p-c'></span>Parameter <code class='parameter'>c</code></dt>   <dd></dd><dd class='body--doc'><p>The public key cipher used for the certificate, <a class='ms reference' href='../../../predef_3A_3A/Crypto/RSA.html'>Crypto.RSA</a>,    <a class='ms reference' href='../../../predef_3A_3A/Crypto/DSA.html'>Crypto.DSA</a> or <a class='ms reference' href='../../../predef_3A_3A/Crypto/ECC/Curve/ECDSA.html'>Crypto.ECC.Curve.ECDSA</a>. The object should be