2
Answers

XML Canonicalization

lesbros

lesbros

20y
11.3k
1
Hi, I have to canonicalize some XML data, in order to apply a particular digital signature algorithm. I read about SignedXML and XmlDsigC14NTransform classes, I read the http://www.dotnet247.com/247reference/a.aspx?u=http://www.c-sharpcorner.com/Code/2002/Mar/XMLSignatureSL001.asp article too. But I can't find any way to isolate the canonicalization process from the whole process. In my problem, I have to compute a signature (using a MD5) from the concatenation of a key (a customised key, from none of the standard ones) and the canonical representation of a part of an XML blob of data. May someone give me some link or idea ? Thanks.
Answers (2)
0
Administrator

Administrator

Admin 2.3k 1.3m 22y
Hi, To retrevie infromation from a usercontrol form from the save button which is in another user control what we can do is When the save button is clicked find the parent control of the save button, then using the parent control instance find out the form user control instance from that u can get the information. For example Let me have 2 user control the first user control the as an input as Name textbox and age textbox and another user control has an display button in another usercontrol To retervie the information and display when the display button is clicked private void btnDisplay_Click(object sender, System.EventArgs e) { //Finds out the panel control since the usercontrol is placed in a panel System.Web.UI.Control ct = this.Parent.FindControl("p1"); if(ct != null) { //Find out entry(form control) control System.Web.UI.Control ef = ct.FindControl("entry1"); if(ef != null) { //Find out the textbox control which is in form in turn which is place in a panel System.Web.UI.Control tb = ef.FindControl("txtName"); Response.Write(((TextBox)tb).Text); } else Response.Write("Entry form Box not found"); } else Response.Write("Control not found"); } If you want the entire program give me ur email id. Thanks edward prakash