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_string_to_timestamp  Convert a string to a timestamp krb5_string_to_timestamp Convert a string to a timestamp
go to next page: krb5_timestamp_to_string  Convert a timestamp to a stringkrb5_timestamp_to_string Convert a timestamp to a string
end of book navigation links

krb5_timestamp_to_sfstring -- Convert a timestamp to a string 



C Prototype 

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

Arguments 

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.

Description 

This routine converts a Kerberos timestamp to a string.

Return Values 

This routine returns the following KRB5 status codes:

0
Successful completion.
ENOMEM
Insufficient memory.


go to previous page: krb5_string_to_timestamp  Convert a string to a timestamp krb5_string_to_timestamp Convert a string to a timestamp
go to next page: krb5_timestamp_to_string  Convert a timestamp to a stringkrb5_timestamp_to_string Convert a timestamp to a string