Write a trusted X.509 certificate (with aux trust info) to a FILE as PEM.
Declared in <openssl/pem.h>
<openssl/pem.h>
int PEM_write_X509_AUX( FILE* fp, X509 const* x);
1 on success, or 0 on failure.