gnutls_x509_spki_set_rsa_oaep_params - Man Page

API function

Synopsis

#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

Description

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

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.8.7 gnutls