summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_privkey_get_pk_algorithm
blob: ee56bfbdef512a3f0659191b60e133be27a080e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@deftypefun {int} {gnutls_x509_privkey_get_pk_algorithm} (gnutls_x509_privkey_t @var{key})
@var{key}: should contain a @code{gnutls_x509_privkey_t}  type

This function will return the public key algorithm of a private
key.

@strong{Returns:} a member of the @code{gnutls_pk_algorithm_t}  enumeration on
success, or a negative error code on error.
@end deftypefun