Add an encoder implementation to an encoder context's chain.

Synopsis

Declared in <openssl/encoder.h>

int
OSSL_ENCODER_CTX_add_encoder(
    OSSL_ENCODER_CTX* ctx,
    OSSL_ENCODER* encoder);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ctx

Encoder context to populate.

encoder

Fetched encoder to append for encoding the input object.

Created with MrDocs