table of contents
- experimental 3.8.14-1
| gnutls_hpke_import_pubkey(3) | gnutls | gnutls_hpke_import_pubkey(3) |
NAME¶
gnutls_hpke_import_pubkey - API function
SYNOPSIS¶
#include <gnutls/hpke.h>
int gnutls_hpke_import_pubkey(const gnutls_hpke_context_t ctx, gnutls_pubkey_t pubkey, const gnutls_datum_t * pubkey_raw);
ARGUMENTS¶
- const gnutls_hpke_context_t ctx
- The HPKE context to use for exporting the public key.
- gnutls_pubkey_t pubkey
- An initialized public key.
- const gnutls_datum_t * pubkey_raw
- A raw public key data in a gnutls_datum_t structure.
DESCRIPTION¶
This function imports raw public key data from pubkey_raw , which must be compatible with the HPKE context ctx .
RETURNS¶
0 on success, or a negative error code on failure
SINCE¶
3.8.14
REPORTING BUGS¶
Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org
COPYRIGHT¶
Copyright © 2001-2023 Free Software Foundation, Inc., and
others.
Copying and distribution of this file, with or without modification, are
permitted in any medium without royalty provided the copyright notice and
this notice are preserved.
SEE ALSO¶
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit
| 3.8.14 | gnutls |