I’m looking for a library compatible with microsoft.net framework that allows the creation and verification of XAdES signatures (XAdES, XAdES-C, XAdES-XL, etc…).
It is important that the library enable the programmer to choose:
1.- Type of certificate to use in the signature process (PFX file, Windows centralized store, SmartCard)
2.- CRL to validate the certificate.
3.- Possibility to include Time stamping on the signature.
4.- Possibility to include OCSP response on the signature.
All I found are libraries in Java, but have not found any libraries in .NET.
All suggestions are welcome.
It seems XAdES (XML Advances Digital Signature) is dificult to find 😀
I searched in the web but I only found implementations in Java using Apache libraries, and only 1 .NET library that is mentioned in some web forums:
SecureBlackbox by EldoS
http://www.eldos.com/sbb/
In the tests in ran on this library I found it to work perfectly with documents that only need 1 signature, but when you need to multi-sign a document it surfaces some problems.
At the moment I have not found a functional implementation of XAdES in .NET that you can use to put multiple signatures in an XML with Timestamping al CRLs.
EDIT (27/08/2012):
A team at Microsoft France developed an implementation of XAdES using .NET 3.5.
At this moment the library is available for download at this Microsoft web site ( http://www.microsoft.com/france/interop/ressources/xades.aspx) and it supports XAdES, XAdES-T, XAdES-C, XAdES-X and XAdES-XL signatures.
A pretty good solution entirely written in .NET