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

Name

Description

ctx

Encoder context to configure.

selection

Non‐zero bit mask of components to encode.

Created with MrDocs