Blame doc/functions/gnutls_priority_certificate_type_list
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {int} {gnutls_priority_certificate_type_list} (gnutls_priority_t @var{pcache}, const unsigned int ** @var{list})
|
|
Packit |
aea12f |
@var{pcache}: is a @code{gnutls_prioritity_t} type.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{list}: will point to an integer list
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
Get a list of available certificate types in the priority
|
|
Packit |
aea12f |
structure.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
As of version 3.6.4 this function is an alias for
|
|
Packit |
aea12f |
gnutls_priority_certificate_type_list2 with the target parameter
|
|
Packit |
aea12f |
set to:
|
|
Packit |
aea12f |
- GNUTLS_CTYPE_SERVER, if the @code{SERVER_PRECEDENCE} option is set
|
|
Packit |
aea12f |
- GNUTLS_CTYPE_CLIENT, otherwise.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Returns:} the number of certificate types, or an error code.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Since:} 3.0
|
|
Packit |
aea12f |
@end deftypefun
|