Re: Programmatically create CERT_CONTEXT?
From: Ben Rush (kwendex_at_yahoo.com)
Date: 09/01/04
- Previous message: Ben Rush: "Programmatically create CERT_CONTEXT?"
- In reply to: Ben Rush: "Programmatically create CERT_CONTEXT?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 1 Sep 2004 16:54:46 -0500
I wonder, is it enough to just create a blank CERT_CONTEXT structure and
then fill it with CertSetCertificateContextProperty? Is that all that's
needed to create a full-fledged certificate?
"Ben Rush" <kwendex@yahoo.com> wrote in message
news:eI5Dk3GkEHA.1356@TK2MSFTNGP09.phx.gbl...
> I'm curious if the API exists out there to create a certificate from
> nothing - in other words, to build a CERT_CONTEXT without an encoded
> certificate already.
>
> It looks like there are API out there such as CertCreateCertificateContext
> that can hydrate a CERT_CONTEXT structure, but only *from* an already
> existent encoded certificate blob.
>
> Basically how MakeCert.exe generates a certificate from nothing, I would
> like to be able to do that programmatically. Any thoughts?
>
> TIA,
> Ben
>
>
- Previous message: Ben Rush: "Programmatically create CERT_CONTEXT?"
- In reply to: Ben Rush: "Programmatically create CERT_CONTEXT?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|