Re: CPAcquireContext&VTableProvStruct architecture

From: Dan Griffin (dangriff_at_online.microsoft.com)
Date: 09/19/03


Date: Fri, 19 Sep 2003 13:15:13 -0700


See the documentation for CPAcquireContext in MSDN. The internal context
information for your CSP, to which you refer below, should be referenced by
the phProv output parameter - note it is the responsibility of the CSP to
set this up.

--
Dan Griffin [MS]
Please do not send email directly to this alias.  This alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"p_hose" <selami@uekae.tubitak.gov.tr> wrote in message
news:63cc4e42.0309180234.3689ea6b@posting.google.com...
> hi
> I'm trying to write my own CSP. But i have some problems with
> CPAcquireContext and especially VTableProvStruct. I don't understand
> the parameters of the VTableProvStruct.For example what's the contents
> of the pbContextInfo? (the keys,container names...are written into
> this byte array?)Could you give me some information.
> thanks for your attention.


Relevant Pages

  • RE: I get error ERROR_INVALID_PARAMETER testing my CSP with "cspte
    ... I've read the following page on MSDN which is titled "CSP Architectural ... CPAcquireContext( ... It's up to your code how you recognize your handle and get to your context blob>from it. ... your OWN context and return this to the CAPI ...
    (microsoft.public.platformsdk.security)
  • Re: CPSignHash error 80090008
    ... In youd DllMain (of your CSP code) do LoadLibrary of the Micrtosoft (or ... You MUST create your own context and save the context you got ... So my CPAcquireContext function ... > but CPSignHash generate 8009008 error. ...
    (microsoft.public.platformsdk.security)
  • Re: CPSignHash error 80090008
    ... So my CPAcquireContext function ... Also I changes type of MyCSP to 12. ... IN DWORD dwFlags, ... Also I test my CSP with CSP Test suite, and work fine in 76% otherwise ...
    (microsoft.public.platformsdk.security)
  • Re: SChannel CSP : Not up-to-date info in MSDN
    ... I would suggest writting a simple logging CSP to get started. ... When testing an schannel CSP, these are much better to use than IE ... Please do not send email directly to this alias. ... > I did search MSDN, and managed to find various pieces of information at ...
    (microsoft.public.security)
  • _VTableProvStruc content
    ... I'm trying to write my own CSP. ... CPAcquireContext and especially _VTableProvStruc. ... written in this byte array? ...
    (microsoft.public.platformsdk.security)

Quantcast