I read pkcs#15 from a smart card. I want to convert it to a pem/der/crt file. How can i achieve this using openssl command line or library? Please help.