File tree Expand file tree Collapse file tree 3 files changed +47
-4
lines changed
reference/openssl/functions Expand file tree Collapse file tree 3 files changed +47
-4
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 7da0f9995a1a6928523f8d910898e79d88f45d5f Maintainer: mowangjuanzi Status: ready -->
3+ <!-- EN-Revision: 9a8c593c09cf7d84085989e42f3b2b23536279db Maintainer: mowangjuanzi Status: ready -->
44<!-- CREDITS: Luffy -->
55<refentry xml : id =" function.openssl-private-decrypt" xmlns =" http://docbook.org/ns/docbook" >
66 <refnamediv >
1616 <methodparam ><modifier role =" attribute" >#[\SensitiveParameter]</modifier ><type >string</type ><parameter role =" reference" >decrypted_data</parameter ></methodparam >
1717 <methodparam ><modifier role =" attribute" >#[\SensitiveParameter]</modifier ><type class =" union" ><type >OpenSSLAsymmetricKey</type ><type >OpenSSLCertificate</type ><type >array</type ><type >string</type ></type ><parameter >private_key</parameter ></methodparam >
1818 <methodparam choice =" opt" ><type >int</type ><parameter >padding</parameter ><initializer ><constant >OPENSSL_PKCS1_PADDING</constant ></initializer ></methodparam >
19+ <methodparam choice =" opt" ><type class =" union" ><type >string</type ><type >null</type ></type ><parameter >digest_algo</parameter ><initializer >&null; </initializer ></methodparam >
1920 </methodsynopsis >
2021 <para >
2122 <function >openssl_private_decrypt</function > 解密之前通过 <function >openssl_public_encrypt</function > 加密的
6162 </para >
6263 </listitem >
6364 </varlistentry >
65+ <varlistentry >
66+ <term ><parameter >digest_algo</parameter ></term >
67+ <listitem >
68+ <simpara >
69+ OEAP 填充的摘要算法,或者 &null; 使用默认算法。
70+ </simpara >
71+ </listitem >
72+ </varlistentry >
6473 </variablelist >
6574 </para >
6675 </refsect1 >
7685 </row >
7786 </thead >
7887 <tbody >
88+ <row >
89+ <entry >8.5.0</entry >
90+ <entry >
91+ 添加了可选参数 <parameter >digest_algo</parameter >。
92+ </entry >
93+ </row >
7994 <row >
8095 <entry >8.0.0</entry >
8196 <entry >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 7da0f9995a1a6928523f8d910898e79d88f45d5f Maintainer: duanxiaoqiang Status: ready -->
3+ <!-- EN-Revision: 9a8c593c09cf7d84085989e42f3b2b23536279db Maintainer: duanxiaoqiang Status: ready -->
44<!-- CREDITS: mowangjuanzi, Luffy -->
55<refentry xml : id =" function.openssl-public-encrypt" xmlns =" http://docbook.org/ns/docbook" >
66 <refnamediv >
1616 <methodparam ><type >string</type ><parameter role =" reference" >encrypted_data</parameter ></methodparam >
1717 <methodparam ><type class =" union" ><type >OpenSSLAsymmetricKey</type ><type >OpenSSLCertificate</type ><type >array</type ><type >string</type ></type ><parameter >public_key</parameter ></methodparam >
1818 <methodparam choice =" opt" ><type >int</type ><parameter >padding</parameter ><initializer ><constant >OPENSSL_PKCS1_PADDING</constant ></initializer ></methodparam >
19+ <methodparam choice =" opt" ><type class =" union" ><type >string</type ><type >null</type ></type ><parameter >digest_algo</parameter ><initializer >&null; </initializer ></methodparam >
1920 </methodsynopsis >
2021 <para >
2122 <function >openssl_public_encrypt</function > 使用公钥 <parameter >public_key</parameter > 解密数据 <parameter >data</parameter >
6566 </para >
6667 </listitem >
6768 </varlistentry >
69+ <varlistentry >
70+ <term ><parameter >digest_algo</parameter ></term >
71+ <listitem >
72+ <simpara >
73+ OEAP 填充的摘要算法,或者 &null; 使用默认算法。
74+ </simpara >
75+ </listitem >
76+ </varlistentry >
6877 </variablelist >
6978 </para >
7079 </refsect1 >
8796 </row >
8897 </thead >
8998 <tbody >
99+ <row >
100+ <entry >8.5.0</entry >
101+ <entry >
102+ 添加了可选参数 <parameter >digest_algo</parameter >。
103+ </entry >
104+ </row >
90105 <row >
91106 <entry >8.0.0</entry >
92107 <entry >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 497c40ac164d5873fd87f622dfdeb5206392b446 Maintainer: duanxiaoqiang Status: ready -->
4- <!-- CREDITS: mowangjuanzi -->
3+ <!-- EN-Revision: 9a8c593c09cf7d84085989e42f3b2b23536279db Maintainer: duanxiaoqiang Status: ready -->
4+ <!-- CREDITS: mowangjuanzi, Luffy -->
55<refentry xml : id =" function.openssl-verify" xmlns =" http://docbook.org/ns/docbook" >
66 <refnamediv >
77 <refname >openssl_verify</refname >
1616 <methodparam ><type >string</type ><parameter >signature</parameter ></methodparam >
1717 <methodparam ><type class =" union" ><type >OpenSSLAsymmetricKey</type ><type >OpenSSLCertificate</type ><type >array</type ><type >string</type ></type ><parameter >public_key</parameter ></methodparam >
1818 <methodparam choice =" opt" ><type class =" union" ><type >string</type ><type >int</type ></type ><parameter >algorithm</parameter ><initializer ><constant >OPENSSL_ALGO_SHA1</constant ></initializer ></methodparam >
19+ <methodparam choice =" opt" ><type >int</type ><parameter >padding</parameter ><initializer >0</initializer ></methodparam >
1920 </methodsynopsis >
2021 <para >
2122 <function >openssl_verify</function > 使用与 <parameter >public_key</parameter > 关联的公钥验证指定数据 <parameter >data</parameter >
@@ -66,6 +67,12 @@ MIIBCgK...</literal>)
6667 </para >
6768 </listitem >
6869 </varlistentry >
70+ <varlistentry >
71+ <term ><parameter >padding</parameter ></term >
72+ <listitem >
73+ <simpara >RSA PSS填充方案。</simpara >
74+ </listitem >
75+ </varlistentry >
6976 </variablelist >
7077 </para >
7178 </refsect1 >
@@ -88,6 +95,12 @@ MIIBCgK...</literal>)
8895 </row >
8996 </thead >
9097 <tbody >
98+ <row >
99+ <entry >8.5.0</entry >
100+ <entry >
101+ 添加了可选参数 <parameter >padding</parameter >。
102+ </entry >
103+ </row >
91104 <row >
92105 <entry >8.0.0</entry >
93106 <entry >
You can’t perform that action at this time.
0 commit comments