Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Change in XML

 
naval kumar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear, i have XML , and i m doing the work on reading Certificate any body please tell me can i change the URI of the below of XML

Like "http://www.w3.org/TR/2001/REC-xml-c14n-20010315" with "xyz".
"http://www.w3.org/2000/09/xmldsig#rsa-sha1" with "abc" it will effect the XML or not.
Bcz this XML , i m storing in databsase so its making long varchar i want to reduce the size.


<SignedInfo>
<CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="">
<Transforms>
<Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>tVicGh6V+8cHbVYFIU91o5+L3OQ=</DigestValue>
</Reference>
</SignedInfo>
 
Paul Clapham
Sheriff
Posts: 21126
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, if you change the document in that way you will affect it. In other words, you will change its meaning.

I don't understand the problem. Just because you are storing it in a long varchar database column, that doesn't mean you have to reduce its size.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic