1gnutls_x509_crt_get_private_key_gunsuatglegs_n_puxet5rl0is9o_dc(r3t)_get_private_key_usage_period(3)
2
3
4
6 gnutls_x509_crt_get_private_key_usage_period - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_get_private_key_usage_period(gnutls_x509_crt_t
12 cert, time_t * activation, time_t * expiration, unsigned int * criti‐
13 cal);
14
16 gnutls_x509_crt_t cert
17 should contain a gnutls_x509_crt_t type
18
19 time_t * activation
20 The activation time
21
22 time_t * expiration
23 The expiration time
24
25 unsigned int * critical
26 the extension status
27
29 This function will return the expiration and activation times of the
30 private key of the certificate. It relies on the PKIX extension
31 2.5.29.16 being present.
32
34 On success, GNUTLS_E_SUCCESS [22m(0) is returned,
35 GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE if the extension is not present,
36 otherwise a negative error value.
37
39 Report bugs to <bugs@gnutls.org>.
40 Home page: https://www.gnutls.org
41
42
44 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright
47 notice and this notice are preserved.
48
50 The full documentation for gnutls is maintained as a Texinfo manual.
51 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
52 visit
53
54 https://www.gnutls.org/manual/
55
56gnutls gnutl3s._6x.51019_crt_get_private_key_usage_period(3)