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
Category: Development
STATUS DETAILS
Declined
Ideas 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:


  • Event Requests, Requests for Externals, Extensibility enhancements: https://github.com/microsoft/ALAppExtensions/
  • AL language enhancements and development environment: https://github.com/microsoft/AL 

 Read more about finding right resource and providing feedback on this blog post: 

https://community.dynamics.com/business/b/financials/archive/2018/12/04/find-the-right-resources-and-provide-feedback

 

Sincerely,

Tomás Navarro
PM, Microsoft

Comments

G

Hash algorithm: hs2019 should also be added, because sha-256 will no longer be supported by Q2 2021.

Category: Development