On Mon, Feb 12, 2007 at 05:53:56PM -0800, Ravi Bhatt wrote:
> Hello,
>  I want to use the Open SSL function call to extract the Public Key from the 
> Manufacturers X.509 Certificate, which is in the .CER format. Could someone 
> please advise me?

fp = fopen();
c = PEM_read_X509(fp, NULL, NULL, NULL);
k = X509_get_pubkey(c);


Christian

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to