Associate opaque construct data passed to the encoder construct callback.

Synopsis

Declared in <openssl/encoder.h>

int
OSSL_ENCODER_CTX_set_construct_data(
    OSSL_ENCODER_CTX* ctx,
    void* construct_data);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ctx

Encoder context to configure.

construct_data

Caller‐owned pointer delivered to OSSL_ENCODER_CONSTRUCT / CLEANUP.

Created with MrDocs