PEM_write_bio_RSAPublicKey

Write a traditional PKCS#1 RSA public key to a BIO in PEM form (deprecated).

Synopsis

Declared in <openssl/pem.h>

[[deprecated]]
int
PEM_write_bio_RSAPublicKey(
    BIO* bp,
    RSA const* x);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
bpBIO to write to.
xRSA key to encode.