Generate Digital Signature but with a Specific Namespace Prefix (“ds:”)
问题 I digitally sign XML files, but need the signature tags contain the namespace prefix "ds". I researched quite the google and found many of the same questions, but no satisfactory answer. I tried to put the "ds" manually in the file, but the signature becomes invalid. The tag "SignatureValue" signs the tag "SignedInfo" so the signature becomes invalid. Could somebody show me how I generate the value of the tag "SignatureValue" so I can replace the signature after adding the prefix "ds"? 回答1: