gnutls_oid_to_pk — API function

Synopsis

#include <gnutls/gnutls.h>

gnutls_pk_algorithm_t gnutls_oid_to_pk(const char * oid);

Arguments

const char * oid

is an object identifier

Description

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

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

https://www.gnutls.org/manual/

Info

3.6.9 gnutls