Re: XmlsDSig SignatureValue hash

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Iguana wrote:
Hi!
I create application in csharp, .net 2.0. I must get (decode) from
SignedXml.Signature.SignatureValue hash. This hash I need to send to
TSA with TSP RFC 3161. I have spend lot of time read msdn and some
news gropus but dont see any method for this. Can any one show me the
way how do this?
Thanks for help!
Iguana


Hi, Iguana

Yes, the signature is available trough the Signature.SignatureValue Property
(as described in http://msdn2.microsoft.com/en-us/library/system.security.cryptography.xml.signature.aspx).
But whats TSA ? B)

For crypto stuff I usually do the Bouncy Castle C# API
(http://www.bouncycastle.org/csharp/). They cover TSP - RFC 3161, as you can see from the link.

Regards,
Petar Atanasov
http://a-wake.net
.



Relevant Pages

  • Re: XmlsDSig SignatureValue hash
    ... SignedXml.Signature.SignatureValue hash. ... TSA with TSP RFC 3161. ... the signature is available trough the Signature.SignatureValue Property ...
    (microsoft.public.dotnet.xml)
  • Re: XmlsDSig SignatureValue hash
    ... SignedXml.Signature.SignatureValue hash. ... TSA with TSP RFC 3161. ... Hi, Iguana ...
    (microsoft.public.dotnet.xml)
  • XmlsDSig SignatureValue hash
    ... I must get (decode) from ... SignedXml.Signature.SignatureValue hash. ... TSA with TSP RFC 3161. ...
    (microsoft.public.dotnet.xml)
  • Re: Compatibility between different providers
    ... need is a plain old unkeyed MD5 implementation, which even Microsoft ... unkeyed hash? ... I was using the term "unkeyed hash" simply to emphasize the difference ... implementation follows RFC 2104 and only hashes it if it's longer than ...
    (sci.crypt)
  • Problematic Relationship of Pt, Ct, and MAC
    ... Ct is slightly longer than the Pt. ... results but if the Pt is treated the same way, decode routine, a hash ... if Ct is sent with the hash ... of the Pt as a MAC, the proper receiver can show with some relative ...
    (sci.crypt)