1gnutls_x509_crt_get_expiration_time(3g)nutlgsnutls_x509_crt_get_expiration_time(3)
2
3
4
6 gnutls_x509_crt_get_expiration_time - API function
7
9 #include <gnutls/x509.h>
10
11 time_t gnutls_x509_crt_get_expiration_time(gnutls_x509_crt_t cert);
12
14 gnutls_x509_crt_t cert
15 should contain a gnutls_x509_crt_t type
16
18 This function will return the time this Certificate was or will be
19 expired.
20
21 The no well defined expiration time can be checked against with the
22 GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION macro.
23
25 expiration time, or (time_t)-1 on error.
26
28 Report bugs to <bugs@gnutls.org>.
29 Home page: http://www.gnutls.org
30
31
33 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
41 visit
42
43 http://www.gnutls.org/manual/
44
45gnutls 3.6.g5nutls_x509_crt_get_expiration_time(3)