



@deftypefun {int} {gnutls_priority_certificate_type_list} (gnutls_priority_t @var{pcache}, const unsigned int ** @var{list})
@var{pcache}: is a @code{gnutls_prioritity_t}  type.

@var{list}: will point to an integer list

Get a list of available certificate types in the priority
structure.

As of version 3.6.4 this function is an alias for
gnutls_priority_certificate_type_list2 with the target parameter
set to:
- GNUTLS_CTYPE_SERVER, if the @code{SERVER_PRECEDENCE}  option is set
- GNUTLS_CTYPE_CLIENT, otherwise.

@strong{Returns:} the number of certificate types, or an error code.

@strong{Since:} 3.0
@end deftypefun
