OSSL_DECODER_fetch

Fetch a decoder implementation from providers by algorithm name.

Synopsis

Declared in <openssl/decoder.h>

OSSL_DECODER*
OSSL_DECODER_fetch(
    OSSL_LIB_CTX* libctx,
    char const* name,
    char const* properties);

Return Value

Fetched OSSL_DECODER, or NULL on error; release with OSSL_DECODER_free().

Parameters

NameDescription
libctxLibrary context, or NULL for the default.
nameDecoder algorithm name (for example "DER").
propertiesOptional property query string, or NULL.