Re: COM Calls to MS CA to Accept and Issue Certificates?

From: Shawn Corey [MSFT] (shawncor_at_online.microsoft.com)
Date: 01/28/04


Date: Wed, 28 Jan 2004 10:34:58 -0800

Here are the pointers to the APIs supported in win2K, most of these have
sample code in the MSDN for both C and VB.
For sending the request look at ICertRequest:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/icertrequest.asp
For enumerating and retrieving the certs in the CA database look at
ICertView:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/icertview.asp
For approving the request look at ICertAdmin:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/icertadmin.asp

-- 
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"localhost" <primpilus@cohort.ces> wrote in message
news:94sf109chjnerftj870afafb8d4hq186f8@4ax.com...
>
> I have a Win2K stand-alone CA.  I want to use COM calls to the
> Certificate Service to pass it a certificate request.  Then I want to
> use COM calls to enumerate the certificates and then approve/extract
> them.
>
> The Platform SDK doesn't seem to have this stuff anywhere.  Can anyone
> recommend pointers or reply with some sample code to make this happen?
>
> Thanks.


Relevant Pages

  • RE: Use USB-token client certificate
    ... The following is the sample code I used. ... // Find a certificate chain. ... > CertGetCertificateContextProperty points to the USB token's CSP? ...
    (microsoft.public.platformsdk.security)
  • Re: Leaking Memory on Assignment(=) Interface
    ... turn the POINTERs into ALLOCATABLEs. ... There is a second assignment subroutine in the sample code that defines ...
    (comp.lang.fortran)
  • Re: Recently Used File List
    ... Any pointers to some sample code ... There's one tiny CMRUList class which I found quite handy. ... Terra Informatica Software inc. ...
    (microsoft.public.vb.general.discussion)
  • Web Update for VB6 Application
    ... Hello - I would like to add a "Web Update" feature for my VB6 application. ... Does anyone have any sample code or pointers to how to accomplish this? ...
    (microsoft.public.vb.general.discussion)
  • Re: Module and Interfaces - effect on POINTER Arguments
    ... I don't see any allocatables in the sample code - only pointers. ... but that probably doesn't directly bear in the question. ...
    (comp.lang.fortran)