⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 openssl.certparams.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Key/Certificate parameters</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="openssl.constversion.html">Version constants</a></div> <div class="next" style="text-align: right; float: right;"><a href="openssl.cert.verification.html">Certificate Verification</a></div> <div class="up"><a href="book.openssl.html">OpenSSL</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1>Key/Certificate parameters</h1> <p class="para">  Quite a few of the openssl functions require a key or a certificate  parameter. PHP 4.0.5 and earlier have to use a key or certificate  <a href="language.types.resource.html" class="type resource">resource</a> returned by one of the openssl_get_xxx functions.  Later versions may use one of the following methods:  <ul class="itemizedlist">   <li class="listitem">    <p class="para">     Certificates     <ol class="orderedlist">      <li class="listitem">       <span class="simpara">        An X.509 resource returned from        <a href="function.openssl-x509-read.html" class="function">openssl_x509_read()</a>       </span>      </li>      <li class="listitem">       <span class="simpara">A string having the format        <var class="filename">file://path/to/cert.pem</var>; the named file must        contain a PEM encoded certificate       </span>      </li>      <li class="listitem">       <span class="simpara">        A string containing the content of a certificate, PEM encoded       </span>      </li>     </ol>    </p>   </li>      <li class="listitem">    <p class="para">     Public/Private Keys     <ol class="orderedlist">      <li class="listitem">       <span class="simpara">A key resource returned from        <a href="function.openssl-get-publickey.html" class="function">openssl_get_publickey()</a> or        <a href="function.openssl-get-privatekey.html" class="function">openssl_get_privatekey()</a>       </span>      </li>      <li class="listitem">       <span class="simpara">For public keys only: an X.509 resource</span>      </li>      <li class="listitem">       <span class="simpara">A string having the format        <var class="filename">file://path/to/file.pem</var> - the named file must        contain a PEM encoded certificate/private key (it may contain both)       </span>      </li>      <li class="listitem">       <span class="simpara">        A string containing the content of a certificate/key, PEM encoded       </span>      </li>      <li class="listitem">       <span class="simpara">        For private keys, you may also use the syntax        <em class="emphasis">array($key, $passphrase)</em> where $key represents a        key specified using the file:// or textual content notation above, and        $passphrase represents a string containing the passphrase for that        private key       </span>      </li>     </ol>    </p>    </li>  </ul> </p></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="openssl.constversion.html">Version constants</a></div> <div class="next" style="text-align: right; float: right;"><a href="openssl.cert.verification.html">Certificate Verification</a></div> <div class="up"><a href="book.openssl.html">OpenSSL</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -