phpas2
phpas2 copied to clipboard
CryptoHelper::verify method seems wrong
The CryptoHelper::verify()
method (here) uses openssl_pkcs7_verify.
But the parameters do not match the documentation at all:
- The first parameter is a
MimePart
or a content string when it should be a filename - The third parameter is an output file when it should be null
- The fourth parameter is an array of strings (which actually only contains a single certificate as a string, which comes from
PartnerInterface::getCertificate()
) when according to this, it should contain an array of filenames.
Am I missing something here?