Blame doc/functions/gnutls_pkcs11_privkey_generate

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_pkcs11_privkey_generate} (const char * @var{url}, gnutls_pk_algorithm_t @var{pk}, unsigned int @var{bits}, const char * @var{label}, unsigned int @var{flags})
Packit aea12f
@var{url}: a token URL
Packit aea12f
Packit aea12f
@var{pk}: the public key algorithm
Packit aea12f
Packit aea12f
@var{bits}: the security bits
Packit aea12f
Packit aea12f
@var{label}: a label
Packit aea12f
Packit aea12f
@var{flags}: should be zero
Packit aea12f
Packit aea12f
This function will generate a private key in the specified
Packit aea12f
by the  @code{url} token. The private key will be generate within
Packit aea12f
the token and will not be exportable.
Packit aea12f
Packit aea12f
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit aea12f
negative error value.
Packit aea12f
Packit aea12f
@strong{Since:} 3.0
Packit aea12f
@end deftypefun