We are trying to implement XmlDocument signing on Business Central.
If we understand the code correctly, we're supposed to import certificates into isolated storage, which we did.
And then we think we're supposed to use SignXmlText function from codeunit 6227.
[External] SignXmlText(XmlText : Text;PrivateKey : Text) : Text
However there does not seem to be any way to get access to the privatekey.
By looking at the code this is supposed to be hex encoded binary blob with the actual private key data.
Are there any samples / documentation where we could see how we're supposed to do this?
Docker image: bcinsider.azurecr.io/bcsandbox-master
Application version: 14.0.26992.0
Platform version: 14.0.26873.0