[Mono-dev] Verifying XML Sign
atsushi at ximian.com
Wed Feb 28 05:40:48 EST 2007
You don't need CryptoAPI. You can use
CheckSignature(AsymmetricAlgorithm) with the certificate's key (In
X509Certificate2, .PublicKey.Key or .PrivateKey.)
We have standalone test case for X509 support:
> You're right but I need to use a .cer file to verify the signature
> and looking at this article http://support.microsoft.com/kb/320602 it
> seems that I must use cryptoapi to extract the key to pass at the
> verifysign method.
> At 10.55 28/02/2007, Atsushi Eno wrote:
>> You can sign and verify XML signatures without WSE.
>> System.Security.Cryptography.Xml.SignedXml and relevant classes are
>> implemented in Mono too.
>> Atsushi Eno
>> APS wrote:
>>> Hi guys,
>>> how to verify xml signature in mono? http://www.w3.org/TR/xmldsig-core/
>>> I've read docs for .net and it includes adding webservice2 assemblies
>>> to machine.config (to support new namespaces) and using windows API
>>> for accessing signer certificates data.
>>> How can I do it in mono? There's this possibility?
>>> Thanks in advance
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list