Generating XADES-BES with

Arrarmsweelve

New Member
I used signedxml class for generating xml signature. And the result xml like below;\[code\] <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>\[/code\]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;\[code\]<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>\[/code\]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.
 
Back
Top