OSSL_ENCODER_is_a

Test whether an encoder implements the algorithm identified by name.

Synopsis

Declared in <openssl/encoder.h>

int
OSSL_ENCODER_is_a(
    OSSL_ENCODER const* encoder,
    char const* name);

Return Value

1 if encoder is identifiable as name, otherwise 0.

Parameters

NameDescription
encoderEncoder to query.
nameAlgorithm name or synonym to match.