Filling a X509 structure from a der certificate file

2001-03-28 Thread Dave Michael
I'm having problems filling in an x509 structure from a DER encoded binary certificate. Like the person who posted below, I'm getting a null x509 pointer whenever I call d2i_X509_fp(fp,pX509). Please help. Thanks, Dave From: Aslam [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL

question on supporting PEM and DER file

2001-01-11 Thread Dave Michael
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.