1gnutls_x509_ext_export_privatgen_uktelys__uxsg5an0gu9et__lepsxetr_ieoxdp(o3r)t_private_key_usage_period(3)
2
3
4
6 gnutls_x509_ext_export_private_key_usage_period - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_x509_ext_export_private_key_usage_period(time_t activation,
12 time_t expiration, gnutls_datum_t * ext);
13
15 time_t activation
16 The activation time
17
18 time_t expiration
19 The expiration time
20
21 gnutls_datum_t * ext
22 The DER-encoded extension data; must be freed using
23 gnutls_free().
24
26 This function will convert the periods provided to a private key usage
27 DER encoded extension (2.5.29.16). The ext data will be allocated
28 using gnutls_malloc().
29
31 On success, GNUTLS_E_SUCCESS [22m(0) is returned, otherwise a negative
32 error value.
33
35 3.3.0
36
38 Report bugs to <bugs@gnutls.org>.
39 Home page: https://www.gnutls.org
40
41
43 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright
46 notice and this notice are preserved.
47
49 The full documentation for gnutls is maintained as a Texinfo manual.
50 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
51 visit
52
53 https://www.gnutls.org/manual/
54
55gnutls gnutls_x530.96_.e7xt_export_private_key_usage_period(3)