[Mono-dev] Verifying XML Sign
dev.malst at apsystems.it
Wed Feb 28 06:30:22 EST 2007
Trying to understand....maybe I found my problem.
I develop using vs2003 and framework 1.1 so X509Certificate2 doesn't exists.
I have a look at the testcase, it says that "MS doesn't extract the
public key out of the certificates ..." referring to the same MSDN
article I was talking, so it creates a
Mono.Security.X509.X509Certificate using rawdata from a
than it CheckSignature on that object.
I'm wrong if I say that I cannot use namespaces from m$ 1.1 framework
to verify with certificates and to make it work in linux/mono? I've
to use 2.0 objects or mono objects right?
Thanks for helping
At 11.40 28/02/2007, Atsushi Eno wrote:
>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.
>>>>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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list