Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

c# - Library to work with XAdES digital signatures

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

It seems XAdES (XML Advances Digital Signature) is dificult to find :-D

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...