[#OSSL_ENCODER_CTX_set_construct] = OSSL_ENCODER_CTX_set_construct :mrdocs: Register the constructor that builds the provider‐side object to encode. == Synopsis Declared in `<openssl/encoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_ENCODER_CTX_set_construct( xref:OSSL_ENCODER_CTX.adoc[OSSL_ENCODER_CTX]* ctx, xref:OSSL_ENCODER_CONSTRUCT.adoc[OSSL_ENCODER_CONSTRUCT]* construct); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Encoder context to configure. | *construct* | Callback returning a provider‐native object, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#