Register the constructor that builds the provider‐side object to encode.

Synopsis

Declared in <openssl/encoder.h>

int
OSSL_ENCODER_CTX_set_construct(
    OSSL_ENCODER_CTX* ctx,
    OSSL_ENCODER_CONSTRUCT* construct);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ctx

Encoder context to configure.

construct

Callback returning a provider‐native object, or NULL to clear.

Created with MrDocs