<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/openssl.xml, last change in rev 1.19 -->
  <refentry id="function.openssl-csr-export">
   <refnamediv>
    <refname>openssl_csr_export</refname>
    <refpurpose>Exports a CSR as a string</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>bool</type><methodname>openssl_csr_export</methodname>
      <methodparam><type>resource</type><parameter>csr</parameter></methodparam>
      <methodparam><type>string</type><parameter role="reference">out</parameter></methodparam>
      <methodparam choice="opt"><type>bool</type><parameter>notext</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>openssl_csr_export</function> takes the Certificate Signing
     Request represented by <parameter>csr</parameter> and stores it as
     ascii-armoured text into <parameter>out</parameter>, which is passed by
     reference.
    </para>
    &reference.openssl.parameter-notext;
    <para>
     &return.success;
    </para>
    <simpara>
     See also <function>openssl_csr_export_to_file</function>,
     <function>openssl_csr_new</function> and
     <function>openssl_csr_sign</function>.
    </simpara>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->