HP OpenVMS Systems Documentation

Content starts here
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

 » Glossary

 » Index

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.