[openssl-users] Is there openssl API to verify certificate content is DER or PEM format ?

Nayna Jain naynjain at in.ibm.com
Tue Jun 9 04:21:52 UTC 2015


Hi,

I need to verify if the certifiate I have received is having its content in
PEM/DER format.

Is there any API which if given file pointer like (fp) will tell me whether
it has valid format of certificate and if yes then whether it is PEM/DER
format ?

If no API, then what is the other way to verify this ?

Thanks & Regards,
Nayna Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150609/ce39189b/attachment.html>


More information about the openssl-users mailing list