📄 function.openssl-csr-export-to-file.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Exports a CSR to a file</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="ref.openssl.html">OpenSSL Functions</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.openssl-csr-export.html">openssl_csr_export</a></div> <div class="up"><a href="ref.openssl.html">OpenSSL Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.openssl-csr-export-to-file" class="refentry"> <div class="refnamediv"> <h1 class="refname">openssl_csr_export_to_file</h1> <p class="verinfo">(PHP 4 >= 4.2.0, PHP 5)</p><p class="refpurpose"><span class="refname">openssl_csr_export_to_file</span> — <span class="dc-title">Exports a CSR to a file</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><b>openssl_csr_export_to_file</b></b></span> ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$csr</tt></span> , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$outfilename</tt></span> [, <span class="methodparam"><span class="type">bool</span> <tt class="parameter">$notext</tt></span> ] )</div> <p class="para rdfs-comment"> <b>openssl_csr_export_to_file()</b> takes the Certificate Signing Request represented by <i><tt class="parameter">csr</tt></i> and saves it as ascii-armoured text into the file named by <i><tt class="parameter">outfilename</tt></i>. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">csr</tt></i></span> <dd> <p class="para"> </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">outfilename</tt></i></span> <dd> <p class="para"> Path to the output file. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">notext</tt></i></span> <dd> <p class="para"> The optional parameter <i><tt class="parameter">notext</tt></i> affects the verbosity of the output; if it is <b><tt>FALSE</tt></b>, then additional human-readable information is included in the output. The default value of <i><tt class="parameter">notext</tt></i> is <b><tt>TRUE</tt></b>.</p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <b><tt>TRUE</tt></b> on success or <b><tt>FALSE</tt></b> on failure. </p> </div> <div class="refsect1 seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="function.openssl-csr-export.html" class="function" rel="rdfs-seeAlso">openssl_csr_export()</a></li> <li class="member"><a href="function.openssl-csr-new.html" class="function" rel="rdfs-seeAlso">openssl_csr_new()</a></li> <li class="member"><a href="function.openssl-csr-sign.html" class="function" rel="rdfs-seeAlso">openssl_csr_sign()</a></li> </ul> </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ref.openssl.html">OpenSSL Functions</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.openssl-csr-export.html">openssl_csr_export</a></div> <div class="up"><a href="ref.openssl.html">OpenSSL Functions</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 + -