OSSL_ENCODER_CONSTRUCT

Callback that builds the provider-native object passed to an encoder instance.

Synopsis

Declared in <openssl/encoder.h>

typedef void const* OSSL_ENCODER_CONSTRUCT(OSSL_ENCODER_INSTANCE*, void*);

Return Value

Provider-native object reference for encoding, or NULL on failure.

Parameters

NameDescription
encoder_instEncoder instance for the current encode step.
construct_dataOpaque pointer from OSSL_ENCODER_CTX_set_construct_data().