Ask a Question related to ASP.NET Security, Design and Development.
-
A programmer #1
XmlDsigC14NTransform framework 1.0 vs 1.1. Bug?
Hi,
I have been using XmlDsigC14NTransform class and I am getting different
result with framework 1.1 and framework 1.0. It looks like the 1.1 version
handles newlines between elements differently - it replaces newline
charaacter (ASCII) 10 with escaped version - 
This means, that XML digital signatures, created with one version of the
framework are invalid with the other one!
Any ideas?
Bye,
Matej
static byte[] CreateC14NXml()
{
XmlDsigC14NTransform t=new XmlDsigC14NTransform(false);
XmlDocument doc=new XmlDocument();
// load XML:
doc.Load("xml.xml");
t.LoadInput(doc);
byte[] ret;
// copy output to byte array
using (Stream s=(Stream) t.GetOutput(typeof(Stream)))
{
s.Position=0;
ret=new byte[s.Length];
if (s.Read(ret,0,(int)s.Length)!=s.Length)
throw new Exception("Error while reading C14N stream!");
}
return ret;
}
A programmer Guest
-
FMS framework
Hi everybody! , this is my first post in this forum. I´m new to FMS and multiuser tecnologies. And I´m looking for the best way to make multiuser... -
.NET Framework 1.1
We have updated our web server to use .NET Framework 1.1 and we have re-compiled our web services under .NET Framework 1.1 We have found that... -
Framework issue ?
Hi, I am trying to test my application on Windows 2003 Server (Standard Edition), which comes along with .NET Framework 1.1. The application... -
ASP.net in other framework
hie, i would like to know whether do i need to use the "Imports" statement in my webapplication when i create a component in another application. i... -
VS.NET 2002 using 1.1 Framework
You can specify which version of the framework it will use. Here's more info: http://www.asp.net/faq/SideBySide.aspx...



Reply With Quote

