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

krb5_timestamp_to_sfstring — Convert a timestamp to a string

  Table of Contents



C Prototype

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


timestamp (input) 

The timestamp to convert.

buffer (output) 

The buffer to hold the converted timestamp.

buflen (input) 

The length of buffer.

pad (input) 

If the converted timestamp does not fill buffer, an optional value used to pad the rest of buffer.


This routine converts a Kerberos timestamp to a string.

Return Values

This routine returns the following KRB5 status codes:


Successful completion.


Insufficient memory.