mirror of
https://github.com/php/doc-es.git
synced 2026-04-28 09:33:10 +02:00
aa9e475b9d
Ignore entities.*.xml git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@310922 c90b9560-bf6c-de11-be94-00142212c4b1
80 lines
2.4 KiB
XML
80 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: seros Status: ready -->
|
|
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.openssl-x509-parse">
|
|
<refnamediv>
|
|
<refname>openssl_x509_parse</refname>
|
|
<refpurpose>Analiza un certificado X509 y devuelve la información como un matriz</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>array</type><methodname>openssl_x509_parse</methodname>
|
|
<methodparam><type>mixed</type><parameter>x509cert</parameter></methodparam>
|
|
<methodparam choice="opt"><type>bool</type><parameter>shortnames</parameter><initializer>true</initializer></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>openssl_x509_parse</function> devuelve la información sobre el certificado
|
|
<parameter>x509cert</parameter> proporcionado, incluyendo los campos tales como subject
|
|
name, issuer name, purposes, fechas valid from y valid to, etc.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>x509cert</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>shortnames</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
<parameter>shortnames</parameter> controla cómo se indexa la información en la
|
|
matriz - si <parameter>shortnames</parameter> es &true; (por defecto) los
|
|
campos serán indexados con el nombre corto, si no, se usará el
|
|
nombre largo - p.ej.: CN es el nombre corto de commonName.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
<emphasis>La estructura de la información devuleta no está (deliberadamente)
|
|
documentada aún, ya que todavía está sujeta a cambios.</emphasis>
|
|
</para>
|
|
</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:"~/.phpdoc/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
|
|
-->
|