To add an Id to a Signature element you can use TElXMLSigner.Signature.ID property.
But, if you are including XAdES info, then the ID attribute will be generated automatically. And if you are modifying Signature.ID property, then you will need to change QualifyingProperties.Target property too. For example:

Only the prefix was gone, but i was looking for a way to remove the entire xmlns attribute. I know it is possible because when signing with the XMLSEC library, the Signature node does include the ds: prefix but not the xmlns namespace attribute declaration. Can that be done with secureBlackBox?

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.