gnutls_x509_spki_set_rsa_oaep_params(3)

gnutls_x509_spki_set_rsa_oaep_params3

Api function

Usage

#include <gnutls/x509.h>

int gnutls_x509_spki_set_rsa_oaep_params(gnutls_x509_spki_t spki, gnutls_digest_algorithm_t dig, const gnutls_datum_t * label);

Arguments

gnutls_x509_spki_t spki

the SubjectPublicKeyInfo structure

gnutls_digest_algorithm_t dig

a digest algorithm of type gnutls_digest_algorithm_t

const gnutls_datum_t * label

optional label

Overview

This function will set the public key parameters for an RSA-OAEP algorithm, in the SubjectPublicKeyInfo structure.

Returns

zero if the parameters are present or a negative value on error.

Since

3.8.4

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. 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.