[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-cryptoapi
Subject:    A doubt about OID for hash algorithm
From:       "Carucci, Giuseppe" <Giuseppe.Carucci () GETRONICS ! COM>
Date:       2001-11-21 16:53:11
[Download RAW message or body]


I have used for hashing algorithm CALG_SHA value in CryptCreateHash function
and I have obtained a digest of my data.
Now I'm preparing the TimeStampReq struct for request of time stamp by a
Time Stamp Authority.
A field of this struct is the hash algorithm value I have used; this value
must be in the string format "1.3.14.3.2.26"
and it is named szOID_OIWSEC_sha1 in wincrypt.h.

My question is this: the Object Identifier "1.3.14.3.2.26" that I put in
TimeStampReq identifies the same algorithm
CALG_SHA that I have used in CryptCreateHash?  Or is it different?

Thanks in advance.

Giuseppe Carucci
Getronics http://www.getronics.com
Network Services & Security B.U.
tel. +39-0806352056, fax. +39-0806352089, mob. +39-3480719005
SS 271 - KM 8,3 - Contrada La Marchesa
70020 Bitritto (BA)
mailto:Giuseppe.Carucci@getronics.com

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic