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

List:       ms-cryptoapi
Subject:    Re: flag CRYPT_NOHASHOID
From:       Laszlo Elteto <lelteto () RAINBOW ! COM>
Date:       2003-08-27 15:21:47
[Download RAW message or body]

You sign the following byte stream:
  00 | BT | FF...FF | 00 | Data
(where data is the hash, usually 16 or 20 bytes) ie. just leave out the
DigestInfo part.

Laszlo Elteto
Fellow Scientist
Rainbow Technologies, Inc.

-----Original Message-----
From: Fabio [mailto:fregene@YAHOO.COM]
Sent: Wednesday, August 27, 2003 5:22 AM
To: CryptoAPI@DISCUSS.MICROSOFT.COM
Subject: flag CRYPT_NOHASHOID


Hello,
i am trying to implement a CSP which support
CRYPT_NOHASHOID flag.
Actually it is not clear to me how to sign data in
case the flag is set.
If it is not set the signature function envelops data
in this way:
BT1|DigestInfo|Data
following the PKCS#1 specification.
In case of CRYPT_NOHASHOID flag set what must be
signed?
Actually i have tried the following:
BT1|Data
BT0|Data
but none of them seems to work.

Thanks in advance,
Dennis



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
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

This message and any material contained in any attachment may contain information \
which is the property of and which is confidential to Rainbow Technologies, Inc. This \
information is intended solely for the use of the individual or entity to whom it is \
addressed. If you are not the intended recipient, you are hereby notified that any \
disclosure, copying, distribution, or use of any of the information contained in this \
message is STRICTLY PROHIBITED. If you have received this message in error, please \
notify us immediately. Thank you.

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
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