Read a traditional PKCS#1 RSA public key from a PEM-encoded FILE (deprecated).
Declared in <openssl/pem.h>
[[deprecated]]
RSA*
PEM_read_RSAPublicKey(
FILE* fp,
RSA** x,
pem_password_cb* cb,
void* u);
Deprecated. Use of this entity is allowed but discouraged.
RSA key on success, or NULL on failure.
| Name | Description |
|---|---|
| fp | FILE to read from. |
| x | Optional address of an RSA pointer to reuse, or NULL. |
| cb | Password callback for encrypted PEM, or NULL. |
| u | Application data passed to cb. |