Write an RSA SubjectPublicKeyInfo to a FILE in PEM form (deprecated).

Synopsis

Declared in <openssl/pem.h>

[[deprecated]]
int
PEM_write_RSA_PUBKEY(
    FILE* fp,
    RSA const* x);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

fp

FILE to write to.

x

RSA key to encode.

Created with MrDocs