gnutls_pubkey_get_spki3
Api function
Usage
#include <gnutls/abstract.h>
int gnutls_pubkey_get_spki(gnutls_pubkey_t pubkey, gnutls_x509_spki_t spki, unsigned int flags);
Arguments
gnutls_pubkey_t pubkey
|
a public key of type |
|---|---|
gnutls_x509_spki_t spki
|
a SubjectPublicKeyInfo structure of type |
unsigned int flags
|
must be zero |
Overview
This function will return the public key information if available. The provided spki must be initialized.
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
Since
3.6.0
Releases
5 releases since Debian 10 (Buster); the text changed 4 times.