gnutls_x509_crt_set_expiration_time — Set the Certificate's expiration time
#include <gnutls/x509.h>
int
gnutls_x509_crt_set_expiration_time( |
gnutls_x509_crt_t | cert, |
time_t | exp_time) ; |
should contain a gnutls_x509_crt_t structure
The actual time
This function will set the time this Certificate will expire.
Returns 0 on success, or a negative value in case of an error.