OSSL_ENCODER_CTX_set_selection

Set the key/component selection mask for encoding (OSSL_KEYMGMT_SELECT_*).

Synopsis

Declared in <openssl/encoder.h>

int
OSSL_ENCODER_CTX_set_selection(
    OSSL_ENCODER_CTX* ctx,
    int selection);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxEncoder context to configure.
selectionNon-zero bit mask of components to encode.