You can use this function to read the DER encoded files
d2i_X509()
"unsigned char * Certificate
d2i_X509(NULL,&certificate,certSize);
Mahesh
-----Original Message-----
From: Dave Michael [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 11:35 AM
To: [EMAIL PROTECTED]
Subject: question on supporting PEM and DER file
I'm using the function PEM_read_X509 to read in the PEM certificate files.
The problem is that this function can't seem to handle DER (binary) files.
How do I go about supporting both PEM and DER files? I've exhaustively
search the crypto library and can't find any equivalent DER function.
Thank you in advance.
Dave
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]