I used signedxml class for generating xml signature. And the result xml like below;
<Signature Id="orderSignature" xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
.............
......
...
</Signature>
<Object>....</Object>
I need to generate XADES-BES xml format,, thats wy I want to add Prefix "ds:" to signedxml.
without "ds", my sigature validating is working fine ,, its format is XMLDSIG as you know,
When I want to generate XADES-BES , we have to add "ds" prefix to all signature and child elements like below;
<ds:Signature Id="orderSignature" xmlns="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
.............
......
...
</ds:Signature>
<ds:Object>....</ds:Object>
And if you add that prefix after signing , it doesn't work.
So, I ve read all issues about that and there wasnt any sollituon ,,
I really need to xmlsignature with "ds" prefix.
Is there anyone to help me about this question???
Thanks.