HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_timestamp_to_string — Convert a timestamp to a string

  Table of Contents



C Prototype

krb5_error_code krb5_timestamp_to_string (
krb5_timestamp timestamp,
char *buffer,
size_t buflen );


timestamp (input) 

The timestamp to convert.

buffer (output) 

The buffer to hold the converted timestamp.

buflen (input) 

The length of buffer.


This routine converts a Kerberos timestamp to a string. It returns the string in the locale’s appropriate date and time representation.

Return Values

This routine returns the following KRB5 status codes:


Successful completion.


Insufficient memory.