int gnutls_pk_self_test(unsigned all, gnutls_pk_algorithm_t pk);
- unsigned all
- if non-zero then tests to all public key algorithms are performed.
- gnutls_pk_algorithm_t pk
- the algorithm to use
DESCRIPTIONThis function will run self tests on the provided public key algorithm.
RETURNSZero or a negative error code on error.
COPYRIGHTCopyright © 2001-2014 Free Software Foundation, Inc..
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.