OBJ_NAME_get

Look up data associated with a named object of the given type.

Synopsis

Declared in <openssl/objects.h>

char const*
OBJ_NAME_get(
    char const* name,
    int type);

Return Value

Associated data string (often an algorithm name), or NULL if not found.

Parameters

NameDescription
nameName string to resolve.
typeOBJ_NAME type such as OBJ_NAME_TYPE_MD_METH or OBJ_NAME_TYPE_CIPHER_METH.