Debian Codegraph @

doc/functions/gnutls_pubkey_get_spki

raw
1
2
3
4
5 @deftypefun {int} {gnutls_pubkey_get_spki} (gnutls_pubkey_t @var{pubkey}, gnutls_x509_spki_t @var{spki}, unsigned int @var{flags})
6 @var{pubkey}: a public key of type @code{gnutls_pubkey_t}
7
8 @var{spki}: a SubjectPublicKeyInfo structure of type @code{gnutls_pubkey_spki_t}
9
10 @var{flags}: must be zero
11
12 This function will return the public key information if available.
13 The provided @code{spki} must be initialized.
14
15 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
16 negative error value.
17
18 @strong{Since:} 3.6.0
19 @end deftypefun