Norm Kay wrote:
> 
> I may be missing something, but I cannot see how to convert the certificate
> info in X509_CINF format into Windows CERT_INFO format so as to check a
> certificate against those certificates in the certificate store in Windows
> 2000.  Is it necessary to a conversion of the formats or is there a routine
> for getting the certificate from the certificate store in X509_CINF format.
> 

You are best using the 'X509' structure to construct a DER encoded
certificate under OpenSSL (see FAQ) and then use the various CryptoAPI
routines to convert the DER encoded certificate into whatever form you
want.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to