Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 703d980c580707c382b4e43e25965bc5 > files > 3353

php-manual-pt_BR-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>openssl_pkey_export_to_file</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_pkcs7_verify"
HREF="function.openssl-pkcs7-verify.html"><LINK
REL="NEXT"
TITLE="openssl_pkey_export"
HREF="function.openssl-pkey-export.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-pkcs7-verify.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-pkey-export.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.openssl-pkey-export-to-file"
></A
>openssl_pkey_export_to_file</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN159790"
></A
><P
>    (PHP 4 &#62;= 4.2.0, PHP 5)</P
>openssl_pkey_export_to_file&nbsp;--&nbsp;Gets an exportable representation of a key into a file </DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN159793"
></A
><H2
>Description</H2
>bool <B
CLASS="methodname"
>openssl_pkey_export_to_file</B
> ( mixed key, string outfilename [, string passphrase [, array configargs]] )<BR
></BR
><P
>&#13;     <B
CLASS="function"
>openssl_pkey_export_to_file()</B
> saves an ascii-armoured
     (PEM encoded) rendition of <CODE
CLASS="parameter"
>key</CODE
> into the file named
     by <CODE
CLASS="parameter"
>outfilename</CODE
>.  The key can be optionally
     protected by a <CODE
CLASS="parameter"
>passphrase</CODE
>.
     <CODE
CLASS="parameter"
>configargs</CODE
> can be used to fine-tune the export
     process by specifying and/or overriding options for the openssl
     configuration file.  See <A
HREF="function.openssl-csr-new.html"
><B
CLASS="function"
>openssl_csr_new()</B
></A
> for more
     information about <CODE
CLASS="parameter"
>configargs</CODE
>.
     Retorna <TT
CLASS="constant"
><B
>TRUE</B
></TT
> em caso de sucesso ou <TT
CLASS="constant"
><B
>FALSE</B
></TT
> em falhas.
    </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Nota: </B
>
  You need to have a valid <TT
CLASS="filename"
>openssl.cnf</TT
> installed for
  this function to operate correctly.
  See the notes under <A
HREF="ref.openssl.html#openssl.installation"
>the installation
  section</A
> for more information.
 </P
></BLOCKQUOTE
></DIV
></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-pkcs7-verify.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-pkey-export.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>openssl_pkcs7_verify</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_pkey_export</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>