gnutls_oid_to_pk3
Api function
Usage
#include <gnutls/gnutls.h>
gnutls_pk_algorithm_t gnutls_oid_to_pk(const char * oid);
Arguments
- const char * oid
-
is an object identifier
Overview
Converts a textual object identifier to a gnutls_pk_algorithm_t value.
Returns
a gnutls_pk_algorithm_t id of the specified digest algorithm, or GNUTLS_PK_UNKNOWN on failure.
Since
3.4.3
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.