Blame doc/functions/gnutls_system_key_add_x509
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {int} {gnutls_system_key_add_x509} (gnutls_x509_crt_t @var{crt}, gnutls_x509_privkey_t @var{privkey}, const char * @var{label}, char ** @var{cert_url}, char ** @var{key_url})
|
|
Packit |
aea12f |
@var{crt}: the certificate to be added
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{privkey}: the key to be added
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{label}: the friendly name to describe the key
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{cert_url}: if non-NULL it will contain an allocated value with the certificate URL
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{key_url}: if non-NULL it will contain an allocated value with the key URL
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This function will added the given key and certificate pair,
|
|
Packit |
aea12f |
to the system list.
|
|
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.4.0
|
|
Packit |
aea12f |
@end deftypefun
|