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