I have some code that retrieves some xml then tries to verify the xml signature.
According to this post, the verification method of the SignedXml type requires full trust to perform xml signature verification. As my code needs to run in a sandbox, I do not have full trust and therefore a security exception is being thrown.
If this is the case, then are there other ways to verify an xml signature (preferably without needing to purchase 3rd party software)?
It seems that this is not possible. My work-around was to avoid relying on signed xml and add a hash. This is far less secure but the best I could do without utilizing any full-trust code.