| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {gnutls_pk_algorithm_t} {gnutls_pk_get_id} (const char * @var{name}) |
| 6 |
@var{name}: is a string containing a public key algorithm name. |
| 7 |
|
| 8 |
Convert a string to a @code{gnutls_pk_algorithm_t} value. The names are |
| 9 |
compared in a case insensitive way. For example, |
| 10 |
gnutls_pk_get_id("RSA") will return @code{GNUTLS_PK_RSA} . |
| 11 |
|
| 12 |
@strong{Returns:} a @code{gnutls_pk_algorithm_t} id of the specified public key |
| 13 |
algorithm string, or @code{GNUTLS_PK_UNKNOWN} on failures. |
| 14 |
|
| 15 |
@strong{Since:} 2.6.0 |
| 16 |
@end deftypefun |