<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >openssl_csr_export</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Manual do PHP" HREF="index.html"><LINK REL="UP" TITLE="OpenSSL Functions" HREF="ref.openssl.html"><LINK REL="PREVIOUS" TITLE="openssl_csr_export_to_file" HREF="function.openssl-csr-export-to-file.html"><LINK REL="NEXT" TITLE="openssl_csr_get_public_key" HREF="function.openssl-csr-get-public-key.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual do PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.openssl-csr-export-to-file.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.openssl-csr-get-public-key.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.openssl-csr-export" ></A >openssl_csr_export</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN159310" ></A ><P > (PHP 4 >= 4.2.0, PHP 5)</P >openssl_csr_export -- Exports a CSR as a string</DIV ><DIV CLASS="refsect1" ><A NAME="AEN159313" ></A ><H2 >Description</H2 >bool <B CLASS="methodname" >openssl_csr_export</B > ( resource csr, string &out [, bool notext] )<BR ></BR ><P > <B CLASS="function" >openssl_csr_export()</B > takes the Certificate Signing Request represented by <CODE CLASS="parameter" >csr</CODE > and stores it as ascii-armoured text into <CODE CLASS="parameter" >out</CODE >, which is passed by reference. </P ><P > The optional parameter <CODE CLASS="parameter" >notext</CODE > affects the verbosity of the output; if it is <TT CLASS="constant" ><B >FALSE</B ></TT > then additional human-readable information is included in the output. The default value of <CODE CLASS="parameter" >notext</CODE > is <TT CLASS="constant" ><B >TRUE</B ></TT >. </P ><P > Retorna <TT CLASS="constant" ><B >TRUE</B ></TT > em caso de sucesso ou <TT CLASS="constant" ><B >FALSE</B ></TT > em falhas. </P ><P > See also <A HREF="function.openssl-csr-export-to-file.html" ><B CLASS="function" >openssl_csr_export_to_file()</B ></A >, <A HREF="function.openssl-csr-new.html" ><B CLASS="function" >openssl_csr_new()</B ></A > and <A HREF="function.openssl-csr-sign.html" ><B CLASS="function" >openssl_csr_sign()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.openssl-csr-export-to-file.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Principal</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.openssl-csr-get-public-key.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >openssl_csr_export_to_file</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.openssl.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >openssl_csr_get_public_key</TD ></TR ></TABLE ></DIV ></BODY ></HTML >