How do I remove ds: prefix when signing the data?

To do this add the following code:

after

ElXMLSigner.Sign()/GenerateSignature()/GenerateSignatureAsync(); (this method generates “Signature” structure that could be accessed using ElXMLSigner.Signature)

add

ElXMLSigner.Signature.SignaturePrefix = "#default";

Also you will need to do the same for XAdES info:

after

ElXAdESSigner.Generate();

add

ElXAdESSigner.QualifyingProperties.XAdESPrefix = "#default";

Ready to get started?

Learn more about SecureBlackbox or download a free trial.

Download Now