![]() |
![]()
| ![]() |
![]()
NAMEgnutls_psk_format_imported_identity - API function SYNOPSIS#include <gnutls/gnutls.h> int gnutls_psk_format_imported_identity(const gnutls_datum_t * identity, const gnutls_datum_t * context, gnutls_protocol_t version, gnutls_digest_algorithm_t hash, gnutls_datum_t * imported_identity); ARGUMENTS
DESCRIPTIONThis formats an external PSK identity identity into an imported form, described in RFC 9258 as ImportedIdentity. Upon success, the data field of imported_identity is allocated using gnutls_malloc() and the caller must free the memory after use. RETURNSGNUTLS_E_SUCCESS (0) on success, otherwise a negative error code. SINCE3.8.1 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
|