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_salttype  Convert a string to a salt type krb5_string_to_salttype Convert a string to a salt type
go to next page: krb5_timestamp_to_sfstring  Convert a timestamp to a stringkrb5_timestamp_to_sfstring Convert a timestamp to a string
end of book navigation links

krb5_string_to_timestamp -- Convert a string to a timestamp 



C Prototype 

krb5_error_code krb5_string_to_timestamp (
        char                *string,
        krb5_timestamp      *timestampp );

Arguments 

string (input) A pointer to the string to convert to a timestamp.
timestampp (output)  A pointer to the timestamp.

Description 

This routine converts a string to a Kerberos timestamp.

Return Values 

This routine returns the following KRB5 status codes:

0
Successful completion.
EINVAL
Invalid parameter.


go to previous page: krb5_string_to_salttype  Convert a string to a salt type krb5_string_to_salttype Convert a string to a salt type
go to next page: krb5_timestamp_to_sfstring  Convert a timestamp to a stringkrb5_timestamp_to_sfstring Convert a timestamp to a string