Hello!
I need to sign a XML file. Format: www.w3.org.2000/09/xmldsig
The certificate is stored as "PKCS#12" (I think this is called "softtoken container" ! ).
Is everything I need for accessing the certificate and signing the XML inplemented in .NET 2.0 / VS 2005
Are there programming examples with SourceCode available for this
Best regards
CSharpNewbie22

XML-DSig and PKCS#12
WinXP_Powered
Hi,
MSDN includes a sample that demonstrates how to sign an Xml instance with a certificate. http://msdn2.microsoft.com/ms229745.aspx
You can use the class X509Certificate2 that is able to load a PFX file, by using the Import method.
Regards,
Ryan Milligan
http://support.microsoft.com/default.aspx scid=kb;en-us;320602
You will be able to save some of the unmanaged code by using the new X509 Certificate API.
Regards,
Diego Gonzalez
Lagash Systems SA
C# MVP
DeadLine
thanks for your answer. Well, I know this page, it shows how it can be done with .NET 1.1.
So I guess the "whole thing" is not implemented in .NET 2.0 And I still have to use unmanaged code ... SIGH !!
Best regards
CSharpNewbie22
Martin Ennemoser
Hi!
I would like to bring this topic up again.
Is there now a source code available that is using the new features of .NET 2.0 and C#2005
Best regards
CSharpNewbie22
Nadi
Is this question too complicated
Is the access to PKCS#12 containers implemented in .NET 2.0
Best regards
CSharpNewbie22