gnutls_oid_to_mac(3)

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.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.