gnutls_x509_spki_init — API function

Synopsis

#include <gnutls/x509.h>

int gnutls_x509_spki_init(gnutls_x509_spki_t * spki);

Arguments

gnutls_x509_spki_t * spki

A pointer to the type to be initialized

Description

This function will initialize a SubjectPublicKeyInfo structure used in PKIX. The structure is used to set additional parameters in the public key information field of a certificate.

Returns

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.

Since

3.6.0

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org

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

https://www.gnutls.org/manual/

Info

3.6.9 gnutls