OSSL_DECODER_is_a

Test whether a decoder implements the algorithm identified by name.

Synopsis

Declared in <openssl/decoder.h>

int
OSSL_DECODER_is_a(
    OSSL_DECODER const* encoder,
    char const* name);

Return Value

1 if encoder is identifiable as name, otherwise 0.

Parameters

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