OSSL_DECODER_CTX_set_selection

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

Synopsis

Declared in <openssl/decoder.h>

int
OSSL_DECODER_CTX_set_selection(
    OSSL_DECODER_CTX* ctx,
    int selection);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
ctxDecoder context to configure.
selectionBit mask of components to decode.