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
a9373293f4
commit
073570d298
@ -364,7 +364,6 @@ class CryptoPro
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
/** @var string $signature */
|
|
||||||
$signature = $cadesSignedData->SignHash($cadesHashedData, $cadesSigner, PKCS7_TYPE);
|
$signature = $cadesSignedData->SignHash($cadesHashedData, $cadesSigner, PKCS7_TYPE);
|
||||||
}
|
}
|
||||||
catch (\Throwable $e)
|
catch (\Throwable $e)
|
||||||
@ -438,7 +437,6 @@ class CryptoPro
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
$cadesSignedData->VerifyCades($signedMessage, PKCS7_TYPE);
|
$cadesSignedData->VerifyCades($signedMessage, PKCS7_TYPE);
|
||||||
/** @var string $signature */
|
|
||||||
$signature = $cadesSignedData->CoSignCades($cadesSigner, PKCS7_TYPE);
|
$signature = $cadesSignedData->CoSignCades($cadesSigner, PKCS7_TYPE);
|
||||||
}
|
}
|
||||||
catch (\Throwable $e)
|
catch (\Throwable $e)
|
||||||
@ -528,7 +526,6 @@ class CryptoPro
|
|||||||
{
|
{
|
||||||
$cadesSignedData->VerifyHash($cadesHashedData, $signedMessage, PKCS7_TYPE);
|
$cadesSignedData->VerifyHash($cadesHashedData, $signedMessage, PKCS7_TYPE);
|
||||||
|
|
||||||
/** @var string $signature */
|
|
||||||
$signature = $cadesSignedData->CoSignHash($cadesHashedData, $cadesSigner, PKCS7_TYPE);
|
$signature = $cadesSignedData->CoSignHash($cadesHashedData, $cadesSigner, PKCS7_TYPE);
|
||||||
}
|
}
|
||||||
catch (\Throwable $e)
|
catch (\Throwable $e)
|
||||||
|
Loading…
Reference in New Issue
Block a user