20
Hi,
I am using Crypthograpy Mgt. codeunit of Business Central to sign a string:
CryptographyMgt.SignData(SigningString, PrivateKeyInstr, HashAlgorithmType::SHA256, SignatureOutStream);
I also need to set the RSASignaturePadding parameter, but this is not available at the moment:
https://stackoverflow.com/questions/24263388/rsassa-pss-in-c-sharp
I should be able to set the following parameters:
Hash algorithm: SHA-256
Mask generation function: MGF1
Mask generation algorithm: SHA-256
Salt length: 32 bytes (= 256 bits, same as the hash length)
Trailer field: 1
Can this functionality be added?
Please let me know at what time frame this could be implemented.
Kind regards,
Gijs
I am using Crypthograpy Mgt. codeunit of Business Central to sign a string:
CryptographyMgt.SignData(SigningString, PrivateKeyInstr, HashAlgorithmType::SHA256, SignatureOutStream);
I also need to set the RSASignaturePadding parameter, but this is not available at the moment:
https://stackoverflow.com/questions/24263388/rsassa-pss-in-c-sharp
I should be able to set the following parameters:
Hash algorithm: SHA-256
Mask generation function: MGF1
Mask generation algorithm: SHA-256
Salt length: 32 bytes (= 256 bits, same as the hash length)
Trailer field: 1
Can this functionality be added?
Please let me know at what time frame this could be implemented.
Kind regards,
Gijs
STATUS DETAILS
Declined
Comments
Hash algorithm: hs2019 should also be added, because sha-256 will no longer be supported by Q2 2021.
Category: Development
Business Central Team (administrator)
Thank you for reaching out. Your suggestion seems to be an event request, request for making a function external or general code contribution in for a product. Please create an issue on one of following GitHub repos: