[#PEM_write_RSA_PUBKEY] = PEM_write_RSA_PUBKEY :mrdocs: Write an RSA SubjectPublicKeyInfo to a FILE in PEM form (deprecated). == Synopsis Declared in `<openssl/pem.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int PEM_write_RSA_PUBKEY( FILE* fp, xref:RSA.adoc[RSA] const* x); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *fp* | FILE to write to. | *x* | RSA key to encode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#