[#PEM_write_bio_RSAPublicKey] = PEM_write_bio_RSAPublicKey :mrdocs: Write a traditional PKCS#1 RSA public key to a BIO in PEM form (deprecated). == Synopsis Declared in `<openssl/pem.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int PEM_write_bio_RSAPublicKey( xref:BIO.adoc[BIO]* bp, 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 | *bp* | BIO to write to. | *x* | RSA key to encode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#