peachpie
peachpie copied to clipboard
Feature Request: openssl_sign() support
It would be nice to have openssl_sign() support.
this requires PeachPie to target netstandard2.1, then we can implement it
@jakubmisek may I ask why .Net Standard 2.1 is needed here? What is blocking to implements this function?
netstandard2.1 introduces https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.asymmetricalgorithm.importencryptedpkcs8privatekey?view=netcore-3.1#System_Security_Cryptography_AsymmetricAlgorithm_ImportEncryptedPkcs8PrivateKey_System_ReadOnlySpan_System_Byte__System_ReadOnlySpan_System_Byte__System_Int32__ which would be needed