gnutls_oid_to_mac - Man Page

API function

Synopsis

#include <gnutls/gnutls.h>

gnutls_mac_algorithm_t gnutls_oid_to_mac(const char * oid);

Arguments

const char * oid

is an object identifier

Description

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

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

https://www.gnutls.org/manual/

Info

3.8.7 gnutls