OSSL_ENCODER_to_fp

Run encoding for a context and write the result to a FILE stream.

Synopsis

Declared in <openssl/encoder.h>

int
OSSL_ENCODER_to_fp(
    OSSL_ENCODER_CTX* ctx,
    FILE* fp);

Return Value

1 on success, or 0 on failure.

Parameters

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