Hi Guys, I have a task to perform where I need to convert a downloaded CRL file which is in DER format to PEM format. As of now I came across one API which helps me to read the downloaded CRL file.
BIO* crlBIO = NULL; X509_CRL* dlCRL = NULL; bool retCode = false; if ((crlBIO = (BIO_new(BIO_s_file()))) == NULL) { return retCode; } if (BIO_read_filename(crlBIO, hashFilePath) == 0) { return retCode; } if ((dlCRL = d2i_X509_CRL_bio(crlBIO, NULL)) == NULL) { } Now can I convert this dlCRL to PEM format? All this needs to be done programmatically and not by executing openssl crl commands. Thanks, Anirudh
-- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev