



@deftypefun {int} {gnutls_x509_crt_set_private_key_usage_period} (gnutls_x509_crt_t @var{crt}, time_t @var{activation}, time_t @var{expiration})
@var{crt}: a certificate of type @code{gnutls_x509_crt_t} 

@var{activation}: The activation time

@var{expiration}: The expiration time

This function will set the private key usage period extension (2.5.29.16).

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error value.
@end deftypefun
