mirror of
https://github.com/crypto-pro-web/crypto-pro-php.git
synced 2025-01-18 19:25:51 +03:00
Поправил докблоки
This commit is contained in:
parent
7a709d9206
commit
768fd3c050
@ -349,7 +349,6 @@ class CryptoPro
|
||||
|
||||
$cadesSigner->set_Certificate($cadesCertificate);
|
||||
|
||||
/** @var \CPAttributes $cadesAuthAttrs */
|
||||
$cadesAuthAttrs = $cadesSigner->get_AuthenticatedAttributes();
|
||||
$cadesAuthAttrs->Add($cadesAttrs);
|
||||
|
||||
@ -443,7 +442,6 @@ class CryptoPro
|
||||
|
||||
$cadesSigner->set_Certificate($cadesCertificate);
|
||||
|
||||
/** @var \CPAttributes $cadesAuthAttrs */
|
||||
$cadesAuthAttrs = $cadesSigner->get_AuthenticatedAttributes();
|
||||
$cadesAuthAttrs->Add($cadesAttrs);
|
||||
|
||||
@ -526,7 +524,6 @@ class CryptoPro
|
||||
|
||||
$cadesSigner->set_Certificate($cadesCertificate);
|
||||
|
||||
/** @var \CPAttributes $cadesAuthAttrs */
|
||||
$cadesAuthAttrs = $cadesSigner->get_AuthenticatedAttributes();
|
||||
$cadesAuthAttrs->Add($cadesAttrs);
|
||||
|
||||
@ -580,7 +577,8 @@ class CryptoPro
|
||||
*
|
||||
* @param string $unencryptedMessage сообщение для хеширования
|
||||
*
|
||||
* @return void
|
||||
* @throws \Exception
|
||||
* @return string
|
||||
*/
|
||||
public static function createHash(string $unencryptedMessage)
|
||||
{
|
||||
@ -608,7 +606,6 @@ class CryptoPro
|
||||
|
||||
try
|
||||
{
|
||||
/** @var string $hash */
|
||||
$hash = $cadesHashedData->get_Value();
|
||||
}
|
||||
catch (\Throwable $e)
|
||||
|
Loading…
Reference in New Issue
Block a user