Wrapper CSP
sbardhan_at_adelphia.net
Date: 09/22/05
- Next message: Steven L Umbach: "Re: Serial/Thumbprint of Certificate attached to CA?"
- Previous message: MCSEGURU: "Re: Fast User Switching in Domain Member mode / Authentication Ticket security risks"
- Next in thread: Doug Barlow: "Re: Wrapper CSP"
- Reply: Doug Barlow: "Re: Wrapper CSP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 22 Sep 2005 14:23:51 -0700
I am supposed to write a custom CSP and was thinking of starting with
wrapping rsaenh.dll by doing a loadLibrary from within my code and then
calling the appropriate function (CPxx). I have read several posts on
this subject and very very helpful pointers by Laszlo Elteto including
his XP advapi32.dll patching instructions!!!
a) I think I have got most of the preparation work like signing etc
done. But when I run the SDK sample test program and point to my CSP
which calles rsaenh.dll, I get back a 57 (parameter wrong) from within
the base CSP. Anybody faced this?
b) My trivial (not that trivial after all since I cant get this to
work) CSP dll, simply passes the parameters down to the MS CSP. In a
post Laszlo has mentioned that I need to create my own context and pass
that back to the client and hold on to the MS CSP context. What is the
reason for that?
c) I am seeing 2 general ideas of doing the wrapper. Call CryptXXX from
within my CPxxx or call CPxxx (of Base CSP) from my CPxxx. Which is the
correct one? Is one preferred over the other?
Thanks for any pointes.
- Next message: Steven L Umbach: "Re: Serial/Thumbprint of Certificate attached to CA?"
- Previous message: MCSEGURU: "Re: Fast User Switching in Domain Member mode / Authentication Ticket security risks"
- Next in thread: Doug Barlow: "Re: Wrapper CSP"
- Reply: Doug Barlow: "Re: Wrapper CSP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|