doc/functions/gnutls_oid_to_mac
raw| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | @deftypefun {gnutls_mac_algorithm_t} {gnutls_oid_to_mac} (const char * @var{oid}) |
| 6 | @var{oid}: is an object identifier |
| 7 | |
| 8 | Converts a textual object identifier typically from PKCS@code{5} values to a @code{gnutls_mac_algorithm_t} value. |
| 9 | |
| 10 | @strong{Returns:} a @code{gnutls_mac_algorithm_t} id of the specified digest |
| 11 | algorithm, or @code{GNUTLS_MAC_UNKNOWN} on failure. |
| 12 | |
| 13 | @strong{Since:} 3.5.4 |
| 14 | @end deftypefun |