Blame doc/functions/gnutls_privkey_get_pk_algorithm
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_privkey_get_pk_algorithm} (gnutls_privkey_t @var{key}, unsigned int * @var{bits})
|
|
Packit Service |
4684c1 |
@var{key}: should contain a @code{gnutls_privkey_t} type
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{bits}: If set will return the number of bits of the parameters (may be NULL)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will return the public key algorithm of a private
|
|
Packit Service |
4684c1 |
key and if possible will return a number of bits that indicates
|
|
Packit Service |
4684c1 |
the security parameter of the key.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} a member of the @code{gnutls_pk_algorithm_t} enumeration on
|
|
Packit Service |
4684c1 |
success, or a negative error code on error.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 2.12.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|