gnutls_x509_crt_get_pk_rsa_raw3
Api function
Arguments
- gnutls_x509_crt_t crt
-
Holds the certificate
- gnutls_datum_t * m
-
will hold the modulus
- gnutls_datum_t * e
-
will hold the public exponent
Overview
This function will export the RSA public key's parameters found in the given structure. The new parameters will be allocated using gnutls_malloc() and will be stored in the appropriate datum.
Returns
GNUTLS_E_SUCCESS on success, otherwise a negative error code.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)