Blame doc/functions/gnutls_x509_crt_set_expiration_time
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_crt_set_expiration_time} (gnutls_x509_crt_t @var{cert}, time_t @var{exp_time})
|
|
Packit Service |
4684c1 |
@var{cert}: a certificate of type @code{gnutls_x509_crt_t}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{exp_time}: The actual time
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will set the time this Certificate will expire.
|
|
Packit Service |
4684c1 |
Setting an expiration time to (time_t)-1 will set
|
|
Packit Service |
4684c1 |
to the no well-defined expiration date value.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit Service |
4684c1 |
negative error value.
|
|
Packit Service |
4684c1 |
@end deftypefun
|