1gnutls_pubkey_import_x509_raw(3) gnutls gnutls_pubkey_import_x509_raw(3)
2
3
4
6 gnutls_pubkey_import_x509_raw - API function
7
9 #include <gnutls/abstract.h>
10
11 int gnutls_pubkey_import_x509_raw(gnutls_pubkey_t pkey, const
12 gnutls_datum_t * data, gnutls_x509_crt_fmt_t format, unsigned int
13 flags);
14
16 gnutls_pubkey_t pkey
17 The public key
18
19 const gnutls_datum_t * data
20 The public key data to be imported
21
22 gnutls_x509_crt_fmt_t format
23 The format of the public key
24
25 unsigned int flags
26 should be zero
27
29 This function will import the given public key to the abstract
30 gnutls_pubkey_t type.
31
33 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
34 error value.
35
37 3.1.3
38
40 Report bugs to <bugs@gnutls.org>.
41 Home page: http://www.gnutls.org
42
43
45 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright
48 notice and this notice are preserved.
49
51 The full documentation for gnutls is maintained as a Texinfo manual.
52 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
53 visit
54
55 http://www.gnutls.org/manual/
56
57gnutls 3.6.5 gnutls_pubkey_import_x509_raw(3)