gnutls_pkcs7_set_crt3
Api function
Usage
int gnutls_pkcs7_set_crt(gnutls_pkcs7_t
pkcs7,
gnutls_x509_crt_t
crt);
Arguments
- gnutls_pkcs7_t pkcs7
-
The pkcs7 type
- gnutls_x509_crt_t crt
-
the certificate to be copied.
Overview
This function will add a parsed certificate to the PKCS7 or RFC2630 certificate set. This is a wrapper function over gnutls_pkcs7_set_crt_raw() .
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
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)