473,324 Members | 2,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

XmlsDSig SignatureValue hash

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

May 10 '07 #1
3 5126
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/lib...ignature.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
May 11 '07 #2
On 11 Maj, 15:35, Petar Atanasov <ppa_i...@mail.bgwrote:
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 inhttp://msdn2.microsoft.com/en-us/library/system.security.cryptography...).
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 Atanasovhttp://a-wake.net
HI Petar!
TSA is Time Stamp Authority. RFC 3161 describes protocol TSP (Time
Stamp Protocol). TSP request for timestamp must have signature hash.
This hash need to be extracted from signature value - with this I have
problem.
I know about Bouncy Castle, but must do everything with .net security
and xml library.
Iguana

May 14 '07 #3
Iguana wrote:
On 11 Maj, 15:35, Petar Atanasov <ppa_i...@mail.bgwrote:
>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 inhttp://msdn2.microsoft.com/en-us/library/system.security.cryptography...).
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 Atanasovhttp://a-wake.net

HI Petar!
TSA is Time Stamp Authority. RFC 3161 describes protocol TSP (Time
Stamp Protocol). TSP request for timestamp must have signature hash.
This hash need to be extracted from signature value - with this I have
problem.
I know about Bouncy Castle, but must do everything with .net security
and xml library.
Iguana
Hmm think you should ask in in the microsoft.public.security.crypto -
your question tends to reach out the topics discussed here...

Anyway - I’m 90% sure that you’ll have to read some structure (e.g.
CRYPT_TIME_STAMP_REQUEST_INFO holds the timestamp value) in order to get
the hash value.

Good luck :)

Regards,
Petar Atanasov
http://a-wake.net
May 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Murali | last post by:
I have a requirement where I have to use two unsigned ints as a key in a STL hash map. A couple of ways to do this is 1. create a struct with two unsigned ints and use that as key (write my own...
2
by: Bryan Olson | last post by:
The current Python standard library provides two cryptographic hash functions: MD5 and SHA-1 . The authors of MD5 originally stated: It is conjectured that it is computationally infeasible to...
24
by: kdotsky | last post by:
Hello, I am using some very large dictionaries with keys that are long strings (urls). For a large dictionary these keys start to take up a significant amount of memory. I do not need access to...
12
by: Arash Partow | last post by:
Hi all, I've ported various hash functions to python if anyone is interested: def RSHash(key): a = 378551 b = 63689 hash = 0
21
by: Johan Tibell | last post by:
I would be grateful if someone had a minute or two to review my hash table implementation. It's not yet commented but hopefully it's short and idiomatic enough to be readable. Some of the code...
21
by: Hallvard B Furuseth | last post by:
Is the code below valid? Generally a value must be accessed through the same type it was stored as, but there is an exception for data stored through a character type. I'm not sure if that...
11
by: Douglas Dude | last post by:
how much time does it take to lok for a value - key in a hash_map ? Thanks
18
by: beginner | last post by:
Hi All. I'd like to do the following in more succint code: if k in b: a=b else: a={} b=a
2
by: NeilReed | last post by:
Hello, For reasons I can not control I am having to compose some code to talk to a b2b ebxml system. There is no WSDL so Im having to code it all. The posts are made via HTTP using SOAP with...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.