1gnutls_x509_ext_export_privatgen_uktelys__uxsg5an0gu9et__lepsxetr_ieoxdp(o3r)t_private_key_usage_period(3)
2
3
4

NAME

6       gnutls_x509_ext_export_private_key_usage_period - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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 us‐
28       ing gnutls_malloc().
29

RETURNS

31       On  success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
32       ror value.
33

SINCE

35       3.3.0
36

REPORTING BUGS

38       Report bugs to <bugs@gnutls.org>.
39       Home page: https://www.gnutls.org
40
41
43       Copyright © 2001-2023 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 no‐
46       tice and this notice are preserved.
47

SEE ALSO

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.98_.e2xt_export_private_key_usage_period(3)
Impressum