OSSL_ENCODER_fetch

Fetch an encoder implementation from providers by algorithm name.

Synopsis

Declared in <openssl/encoder.h>

OSSL_ENCODER*
OSSL_ENCODER_fetch(
    OSSL_LIB_CTX* libctx,
    char const* name,
    char const* properties);

Return Value

Fetched OSSL_ENCODER, or NULL on error; release with OSSL_ENCODER_free().

Parameters

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