svn: /phpdoc/ru/trunk/reference/openssl/functions/ openssl-digest.xml openssl-verify.xml openssl-x509-parse.xml
| From: | Andrey Gromov | Date: | Fri, 14 Feb 2020 22:51:37 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/reference/openssl/functions/ openssl-digest.xml openssl-verify.xml openssl-x509-parse.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-8317@lists.php.net to get a copy of this message | ||
rjhdby Fri, 14 Feb 2020 22:51:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349225
Log:
upd
Changed paths:
U phpdoc/ru/trunk/reference/openssl/functions/openssl-digest.xml
U phpdoc/ru/trunk/reference/openssl/functions/openssl-verify.xml
U phpdoc/ru/trunk/reference/openssl/functions/openssl-x509-parse.xml
Modified: phpdoc/ru/trunk/reference/openssl/functions/openssl-digest.xml
===================================================================
--- phpdoc/ru/trunk/reference/openssl/functions/openssl-digest.xml 2020-02-14 21:28:26 UTC (rev
349224)
+++ phpdoc/ru/trunk/reference/openssl/functions/openssl-digest.xml 2020-02-14 22:51:37 UTC (rev
349225)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343899 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 349221 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<refentry xml:id="function.openssl-digest" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -22,8 +22,6 @@
Возвращает необработанную строку или строку
шестнадцатеричных чисел.
</para>
- &warn.undocumented.func;
-
</refsect1>
<refsect1 role="parameters">
Modified: phpdoc/ru/trunk/reference/openssl/functions/openssl-verify.xml
===================================================================
--- phpdoc/ru/trunk/reference/openssl/functions/openssl-verify.xml 2020-02-14 21:28:26 UTC (rev
349224)
+++ phpdoc/ru/trunk/reference/openssl/functions/openssl-verify.xml 2020-02-14 22:51:37 UTC (rev
349225)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 332644 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 349221 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.openssl-verify">
@@ -151,10 +151,10 @@
$public_key_res = openssl_pkey_get_public($details['key']);
//Вычисляем подпись
-openssl_sign($data, $signature, $private_key_res, "sha1WithRSAEncryption");
+openssl_sign($data, $signature, $private_key_res, "sha256WithRSAEncryption");
//Сверяем подпись
-$ok = openssl_verify($data, $signature, $public_key_res, OPENSSL_ALGO_SHA1);
+$ok = openssl_verify($data, $signature, $public_key_res, OPENSSL_ALGO_SHA256);
if ($ok == 1) {
echo "корректна";
} elseif ($ok == 0) {
Modified: phpdoc/ru/trunk/reference/openssl/functions/openssl-x509-parse.xml
===================================================================
--- phpdoc/ru/trunk/reference/openssl/functions/openssl-x509-parse.xml 2020-02-14 21:28:26 UTC (rev
349224)
+++ phpdoc/ru/trunk/reference/openssl/functions/openssl-x509-parse.xml 2020-02-14 22:51:37 UTC (rev
349225)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343899 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 349221 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.openssl-x509-parse">
@@ -31,6 +31,7 @@
<term><parameter>x509cert</parameter></term>
<listitem>
<para>
+ Сертификат X509. Список корректных значений смотри
в <link linkend="openssl.certparams">Параметры
Key/Certificate</link>.
</para>
</listitem>
</varlistentry>