This question is followup on an another question:- Read certificate files from memory instead of a file using OpenSSL
In the above thread, there was a solution by using PEM_X509_INFO_read_bio to get a stack of (X509_INFO) looking for similar api if i have to read it from a DER object.