From 78ece2bd76df23a9b79ac4c17f423e8df6aceba8 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Wed, 9 Nov 2022 20:20:25 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=BF=D0=BE=D1=80=D1=8F=D0=B4=D0=BE=D0=BA=20?= =?UTF-8?q?=D0=B0=D1=80=D0=B3=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=D0=B0=20CoSignHash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CryptoPro.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CryptoPro.php b/src/CryptoPro.php index d14a507..295af62 100755 --- a/src/CryptoPro.php +++ b/src/CryptoPro.php @@ -571,9 +571,10 @@ class CryptoPro ); $signature = $cadesSignedData->CoSignHash( - $cadesHashedData, $cadesSigner, - CADESCOM_CADES_TYPE::PKCS7_TYPE + $cadesHashedData, + CADESCOM_CADES_TYPE::PKCS7_TYPE, + CADESCOM_ENCODE::BASE64 ); } catch (\Throwable $e)