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