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
"Tomppa" <(E-Mail Removed)> wrote in message
news:%23omv41%(E-Mail Removed)...
> 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);
>
> }
>
>