MIT Kerberos Documentation

krb5_init_creds_get_times - Retrieve ticket times from an initial credentials context.

krb5_error_code krb5_init_creds_get_times(krb5_context context, krb5_init_creds_context ctx, krb5_ticket_times * times)

[in] context - Library context

[in] ctx - Initial credentials context

[out] times - Ticket times for acquired credentials

  • 0 Success; otherwise - Kerberos error codes

The initial credentials context must have completed obtaining credentials via either krb5_init_creds_get() or krb5_init_creds_step().