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

Note: This article applies only to SecureBlackbox Legacy. For future development please consider using the latest version.

  1. After the line

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

    add

    ElXMLSigner.Signature.SignaturePrefix = "#default";
  2. Also, you will need to do the same for XAdES info:. After

    ElXAdESSigner.Generate();

    add

    ElXAdESSigner.QualifyingProperties.XAdESPrefix = "#default";

We appreciate your feedback.  If you have any questions, comments, or suggestions about this article please contact our support team at kb@nsoftware.com.