AL icon indicating copy to clipboard operation
AL copied to clipboard

Adding XML Signing (Read and Create)

Open FSharpCSharp opened this issue 8 years ago • 4 comments

Would it be possible to implement the XML signing available in .NET? There are unfortunately some processes which only work with this. If possible, this should be done with a private / public key procedure, but not necessarily with a certificate, which must be installed on the client (because of the Webclient). For this, only a few more XML variables and a RSA variable would be necessary, see this example:

https://msdn.microsoft.com/de-de/library/ms229745(v=vs.110).aspx

In any case, it would be a very great help to map processes that work with signed data and should not be changed in any case.

FSharpCSharp avatar Aug 04 '17 06:08 FSharpCSharp

We do plan on providing more cryptography functionality, since it is often required for making service calls. Once we get to it we will evaluate this particular scenario in more details to see if we can cover it as well.

StanislawStempin avatar Aug 11 '17 15:08 StanislawStempin

We are using SigendXml (System.Security.Cryptography.Xml) with public/private Rsa keys for some licensing scenarios.

Could also be very helpful with licensing NAV extensions.

So it would be nice to see this features in NAV.

finstx avatar Jan 11 '18 14:01 finstx

I've just added SignedXml pull-request to cal-open-library. You can find it here:

https://github.com/Microsoft/cal-open-library/pull/54

anzwdev avatar Jan 26 '18 11:01 anzwdev

@anzaman This looks great! Now you can set the XML signature and also check if an existing document is valid! Thank you very much!

FSharpCSharp avatar Jan 29 '18 06:01 FSharpCSharp

Closing this issue. If there are any remaining asks, they should go into https://aka.ms/bcideas or System app module.

pborring avatar Dec 05 '23 11:12 pborring