all groups > dotnet compact framework > june 2006 >
You're in the

dotnet compact framework

group:

XML digital signature in CF?


XML digital signature in CF? Tomppa
6/29/2006 7:32:44 PM
dotnet compact framework: Can I do this in CF with some other namespace?

static bool VerifyXmlDocument(RSA key, XmlDocument doc)

{

SignedXml sxml = new SignedXml(doc);

try

{

// Find signature node

XmlNode sig = doc.GetElementsByTagName("Signature",
SignedXml.XmlDsigNamespaceUrl)[0];

sxml.LoadXml((XmlElement)sig);

}

catch

{

// Not signed!

return false;

}

return sxml.CheckSignature(key);

}

Re: XML digital signature in CF? Alex Yakhnin
7/2/2006 10:02:17 AM
The CF doesn't support that. You will need to implement the similar
functionality by yourself.

--
Alex Yakhnin, Device Applicatoin Developer MVP
http://www.opennetcf.com

[quoted text, click to view]

AddThis Social Bookmark Button