Исправлен порядок аргументов метода CoSignHash

This commit is contained in:
Artem Vasilev 2022-11-09 20:20:25 +03:00
parent 54ee2a4cb9
commit 78ece2bd76

View File

@ -571,9 +571,10 @@ class CryptoPro
); );
$signature = $cadesSignedData->CoSignHash( $signature = $cadesSignedData->CoSignHash(
$cadesHashedData,
$cadesSigner, $cadesSigner,
CADESCOM_CADES_TYPE::PKCS7_TYPE $cadesHashedData,
CADESCOM_CADES_TYPE::PKCS7_TYPE,
CADESCOM_ENCODE::BASE64
); );
} }
catch (\Throwable $e) catch (\Throwable $e)