[openssl-dev] APIs to convert a downloaded DER format CRL file to PEM format

Patel, Anirudh (Anirudh) anirudhp at avaya.com
Tue Sep 6 11:33:21 UTC 2016


Thanks a lot !!!

-----Original Message-----
From: openssl-dev [mailto:openssl-dev-bounces at openssl.org] On Behalf Of Matt Caswell
Sent: Tuesday, September 06, 2016 1:26 PM
To: openssl-dev at openssl.org
Subject: Re: [openssl-dev] APIs to convert a downloaded DER format CRL file to PEM format



On 06/09/16 08:00, Patel, Anirudh (Anirudh) wrote:
> Now can I convert this dlCRL to PEM format? All this needs to be done 
> programmatically and not by executing openssl crl commands.

Yes. Use PEM_write_bio_X509_CRL(), or PEM_write_X509_CRL():

https://urldefense.proofpoint.com/v2/url?u=https-3A__www.openssl.org_docs_manmaster_crypto_PEM-5Fread-5FX509.html&d=CwICAg&c=BFpWQw8bsuKpl1SgiZH64Q&r=r_yFHjnA3pyorIMQVU-vjyndTmY6-rsuMCBf8EzS6oU&m=tPCSvJtcu_uId0NG6Yo9I8n--A7FxNDZiXMcudwKPjM&s=KQy0slyF2P2Q05rM4o0Io8iGALOG351feKT5xPDs_Gs&e= 

Matt
--
openssl-dev mailing list
To unsubscribe: https://urldefense.proofpoint.com/v2/url?u=https-3A__mta.openssl.org_mailman_listinfo_openssl-2Ddev&d=CwICAg&c=BFpWQw8bsuKpl1SgiZH64Q&r=r_yFHjnA3pyorIMQVU-vjyndTmY6-rsuMCBf8EzS6oU&m=tPCSvJtcu_uId0NG6Yo9I8n--A7FxNDZiXMcudwKPjM&s=FiHjKbO9X_7TRgZtZPqpOQgi60KV-LApuor4fwi-zpY&e= 


More information about the openssl-dev mailing list