



@deftypefun {gnutls_digest_algorithm_t} {gnutls_oid_to_digest} (const char * @var{oid})
@var{oid}: is an object identifier

Converts a textual object identifier to a @code{gnutls_digest_algorithm_t}  value.

@strong{Returns:} a @code{gnutls_digest_algorithm_t}  id of the specified digest
algorithm, or @code{GNUTLS_DIG_UNKNOWN}  on failure.

@strong{Since:} 3.4.3
@end deftypefun
