OSSL_ENCODER_CTX_set_construct

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

NameDescription
ctxEncoder context to configure.
constructCallback returning a provider-native object, or NULL to clear.