Re: how do I export a certificate to x.509?
From: Anyone (rick_at_server.net)
Date: 01/30/04
- Next message: Steven L Umbach: "Re: Please Help"
- Previous message: Marco: "Re: Please Help"
- In reply to: Vishal Agarwal[MSFT]: "Re: how do I export a certificate to x.509?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 30 Jan 2004 15:24:10 -0600
Just this morning I realized CERT_CONTEXT contained the x.509 certificate in
the pbCertEncoded member.
Thanks.
"Vishal Agarwal[MSFT]" <vishala@online.microsoft.com> wrote in message
news:eh2tcS25DHA.1816@TK2MSFTNGP12.phx.gbl...
> I'm clear about your question. Do you already have a certifiate? Or do you
> want to export a certificate from an existing store on Windows machine?
>
> If you want to export a certificate from an existing store, you need to
open
> the store (use CertOpenStore API) and then find the certificate you want
to
> export (CertFindCerticateInStore API) and then you can just store the
> pbCertEncoded field on CERT_CONTEXT structure in a file.
>
> Thanks,
> Vishal [MSFT]
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> "Anyone" <rick@server.net> wrote in message
> news:bv9fem$m4o@library2.airnews.net...
> > From Visual C++ how can I export a certificate to x.509? I need to pass
> > this to a third party crypt library we're migrating away from. There
are
> > many Cert?????? functions but no CertExport().
> >
> >
> > Thanks in advance
> >
> >
> >
>
>
- Next message: Steven L Umbach: "Re: Please Help"
- Previous message: Marco: "Re: Please Help"
- In reply to: Vishal Agarwal[MSFT]: "Re: how do I export a certificate to x.509?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|