![]() |
![]()
| ![]() |
![]()
NAMEgnutls_pkcs11_copy_x509_privkey2 - API function SYNOPSIS#include <gnutls/pkcs11.h> int gnutls_pkcs11_copy_x509_privkey2(const char * token_url, gnutls_x509_privkey_t key, const char * label, const gnutls_datum_t * cid, unsigned int key_usage, unsigned int flags); ARGUMENTS
DESCRIPTIONThis function will copy a private key into a PKCS 11 token specified by a URL. Since 3.6.3 the objects are marked as sensitive by default unless GNUTLS_PKCS11_OBJ_FLAG_MARK_NOT_SENSITIVE is specified. RETURNSOn success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. SINCE3.4.0 REPORTING BUGSReport bugs to <bugs@gnutls.org>.
COPYRIGHTCopyright © 2001-2023 Free Software Foundation, Inc., and
others.
SEE ALSOThe full documentation for gnutls is maintained as a Texinfo manual. If the /usr/local/share/doc/gnutls/ directory does not contain the HTML form visit
|