Decoded data using openssl asn1parse with the command "openssl asn1parse -in a.pem -out b.pem". How to implement the same using Openssl C language API.