Blame doc/functions/gnutls_pkcs11_privkey_import_url

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_pkcs11_privkey_import_url} (gnutls_pkcs11_privkey_t @var{pkey}, const char * @var{url}, unsigned int @var{flags})
Packit Service 4684c1
@var{pkey}: The private key
Packit Service 4684c1
Packit Service 4684c1
@var{url}: a PKCS 11 url identifying the key
Packit Service 4684c1
Packit Service 4684c1
@var{flags}: Or sequence of GNUTLS_PKCS11_OBJ_* flags
Packit Service 4684c1
Packit Service 4684c1
This function will "import" a PKCS 11 URL identifying a private
Packit Service 4684c1
key to the @code{gnutls_pkcs11_privkey_t}  type. In reality since
Packit Service 4684c1
in most cases keys cannot be exported, the private key structure
Packit Service 4684c1
is being associated with the available operations on the token.
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
@end deftypefun