Write a SubjectPublicKeyInfo public key to a FILE with a library context.
Synopsis
Declared in <openssl/pem.h>
int
PEM_write_PUBKEY_ex(
FILE* fp,
EVP_PKEY const* x,
OSSL_LIB_CTX* libctx,
char const* propq);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
fp |
FILE to write to. |
x |
Public key to encode. |
libctx |
Library context used for provider‐backed encoding, or NULL for the default. |
propq |
Property query for algorithm fetches, or NULL. |
Created with MrDocs