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

krb5_string_to_timestamp — Convert a string to a timestamp

 » Table of Contents

 » Glossary

 » Index

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:

0Successful completion.

EINVAL

Invalid parameter.