[#PEM_read_X509] = PEM_read_X509 :mrdocs: Read an X.509 certificate from a PEM‐encoded FILE stream. == Synopsis Declared in `<openssl/pem.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:X509.adoc[X509]* PEM_read_X509( FILE* fp, xref:X509.adoc[X509]** x, xref:pem_password_cb.adoc[pem_password_cb]* cb, void* u); ---- == Return Value Certificate on success, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *fp* | FILE to read from. | *x* | Optional address of an X509 pointer to reuse, or NULL. | *cb* | Password callback for encrypted PEM, or NULL. | *u* | Application data passed to `cb.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#