gnutls_oid_to_mac3
Api function
Usage
#include <gnutls/gnutls.h>
gnutls_mac_algorithm_t gnutls_oid_to_mac(const char * oid);
Arguments
- const char * oid
-
is an object identifier
Overview
Converts a textual object identifier typically from PKCS5 values to a gnutls_mac_algorithm_t value.
Returns
a gnutls_mac_algorithm_t id of the specified digest algorithm, or GNUTLS_MAC_UNKNOWN on failure.
Since
3.5.4
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.