0

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.

Community
  • 1
  • 1
sunnyX
  • 87
  • 2
  • 12
  • From what i understand a certificate chain file CANNOT be represented as a single DER object and hence there are no functions like d2i_X509_INFO_read_bio where it takes a DER formatted certificate chain file. – sunnyX Apr 29 '16 at 21:44
  • A certificate chain can indeed be represented as a single DER object using the PKCS#7 format. – Jim Flood May 01 '16 at 17:12

0 Answers0