



@deftypefun {int} {gnutls_pk_self_test} (unsigned @var{all}, gnutls_pk_algorithm_t @var{pk})
@var{all}: if non-zero then tests to all public key algorithms are performed.

@var{pk}: the algorithm to use

This function will run self tests on the provided public key algorithm.

@strong{Returns:} Zero or a negative error code on error.

@strong{Since:} 3.3.0
@end deftypefun
