Write a SubjectPublicKeyInfo public key to a BIO with a library context.
Synopsis
Declared in <openssl/pem.h>
int
PEM_write_bio_PUBKEY_ex(
BIO* bp,
EVP_PKEY const* x,
OSSL_LIB_CTX* libctx,
char const* propq);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
bp |
BIO 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