Blame doc/functions/gnutls_privkey_import_x509
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_privkey_import_x509} (gnutls_privkey_t @var{pkey}, gnutls_x509_privkey_t @var{key}, unsigned int @var{flags})
|
|
Packit Service |
4684c1 |
@var{pkey}: The private key
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{key}: The private key to be imported
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{flags}: Flags for the import
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will import the given private key to the abstract
|
|
Packit Service |
4684c1 |
@code{gnutls_privkey_t} type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The @code{gnutls_x509_privkey_t} object must not be deallocated
|
|
Packit Service |
4684c1 |
during the lifetime of this structure.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@code{flags} might be zero or one of @code{GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE}
|
|
Packit Service |
4684c1 |
and @code{GNUTLS_PRIVKEY_IMPORT_COPY} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit Service |
4684c1 |
negative error value.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 2.12.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|