OSSL_DECODER_CTX_set_construct

Register a callback invoked when a decoded object is constructed.

Synopsis

Declared in <openssl/decoder.h>

int
OSSL_DECODER_CTX_set_construct(
    OSSL_DECODER_CTX* ctx,
    OSSL_DECODER_CONSTRUCT* construct);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
ctxDecoder context to configure.
constructCallback receiving params for each constructed object, or NULL to clear.