gnutls_x509_crq_get_spki(3)

gnutls_x509_crq_get_spki3

Api function

Usage

#include <gnutls/x509.h>

int gnutls_x509_crq_get_spki(gnutls_x509_crq_t crq, gnutls_x509_spki_t spki, unsigned int flags);

Arguments

gnutls_x509_crq_t crq

should contain a gnutls_x509_crq_t type

gnutls_x509_spki_t spki

a SubjectPublicKeyInfo structure of type gnutls_x509_spki_t

unsigned int flags

must be zero

Overview

This function will return the public key information of a PKCS10 certificate request. The provided spki must be initialized.

Returns

Zero on success, or a negative error code on error.

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.