OSSL_ENCODER_to_bio

Run encoding for a context and write the result to a BIO.

Synopsis

Declared in <openssl/encoder.h>

int
OSSL_ENCODER_to_bio(
    OSSL_ENCODER_CTX* ctx,
    BIO* out);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxConfigured encoder context.
outDestination BIO (text or binary mode as appropriate for the output type).