skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_timestamp_to_sfstring  Convert a timestamp to a string krb5_timestamp_to_sfstring Convert a timestamp to a string
go to next page: krb5_unparse_name  Convert protocol format principal name to string formatkrb5_unparse_name Convert protocol format principal name to...
end of book navigation links

krb5_timestamp_to_string -- Convert a timestamp to a string 



C Prototype 

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

Arguments 

timestamp
(input)
 The timestamp to convert.
buffer (output) The buffer to hold the converted timestamp.
buflen (input) The length of buffer.

Description 

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:

0
Successful completion.
ENOMEM
Insufficient memory.


go to previous page: krb5_timestamp_to_sfstring  Convert a timestamp to a string krb5_timestamp_to_sfstring Convert a timestamp to a string
go to next page: krb5_unparse_name  Convert protocol format principal name to string formatkrb5_unparse_name Convert protocol format principal name to...