On 11/10/2011 12:47 PM, Rajib Karmakar wrote:

Hi,

I am using OpenSSL version 1.0.0e and want to create a certificate store using DER and PKCS12 formatted certificates.


I have to read and convert DER and PKCS12 certificates into X509 object and add them into X509_STORE. But if PEM, DER and PKCS12 certificates are stored in same path I have to identify each certificate format.

Is there any OpenSSL API that tells the certificate format?

You try to decode them in all formats, only one of them will succeed.

Reply via email to